Skip to content

Dstara/update to tiledb 2.16 #299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 15, 2023
Merged

Conversation

DimitrisStaratzis
Copy link
Contributor

No description provided.

@DimitrisStaratzis DimitrisStaratzis force-pushed the dstara/update_to_tiledb_2.16 branch 4 times, most recently from 5095bdb to 9bdf788 Compare July 18, 2023 15:44
@teo-tsirpanis teo-tsirpanis self-requested a review July 19, 2023 16:31
@DimitrisStaratzis DimitrisStaratzis force-pushed the dstara/update_to_tiledb_2.16 branch from 8894aa9 to 33bb7e8 Compare August 1, 2023 13:26
@DimitrisStaratzis DimitrisStaratzis force-pushed the dstara/update_to_tiledb_2.16 branch 3 times, most recently from 2f20915 to c2a59d9 Compare August 2, 2023 17:23
@DimitrisStaratzis DimitrisStaratzis changed the title Dstara/update to tiledb 2.16 (WIP) Dstara/update to tiledb 2.16 Aug 2, 2023
Copy link
Member

@ihnorton ihnorton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀, minor question about API stability but otherwise LGTM.

@DimitrisStaratzis DimitrisStaratzis force-pushed the dstara/update_to_tiledb_2.16 branch from 34e9399 to 190712d Compare August 4, 2023 22:59
@teo-tsirpanis
Copy link
Member

Oh no, more Windows errors. 😭

Fortunately I think I know how to solve it, will tell you what to try tomorrow.

@teo-tsirpanis
Copy link
Member

Can you try adding these lines after

TileDB-Java/CMakeLists.txt

Lines 130 to 133 in 2af746e

target_link_libraries(tiledbjni
PRIVATE
TileDB::tiledb_shared
)
?

  if(WIN32)
    target_link_libraries(tiledbjni PRIVATE WebServices Winhttp Wininet Userenv Version Secur32 Ncrypt)
  endif()

@DimitrisStaratzis
Copy link
Contributor Author

Can you try adding these lines after

TileDB-Java/CMakeLists.txt

Lines 130 to 133 in 2af746e

target_link_libraries(tiledbjni
PRIVATE
TileDB::tiledb_shared
)

?

  if(WIN32)
    target_link_libraries(tiledbjni PRIVATE WebServices Winhttp Wininet Userenv Version Secur32 Ncrypt)
  endif()

Thanks Theodore that worked , however I wanted to ask why do we need to link these libs manually, is it really necessary? Is this caused by build changes in core? Is it possible to reduce these changes in the future?
Thanks again.

@teo-tsirpanis
Copy link
Member

why do we need to link these libs manually, is it really necessary?

These libraries are dependencies of the Core's dependencies. Because static libraries are just collections of object files that import symbols without saying where to be found, we need to tell the linker by ourselves. In Core builds CMake figures the dependencies out, but cannot automatically communicate that, and it is something we do ourselves and here seemed to have forgotten to. Fortunately in this case there is a workaround until it gets fixed in the Core repository.

@teo-tsirpanis teo-tsirpanis removed their request for review August 8, 2023 00:11
@DimitrisStaratzis DimitrisStaratzis force-pushed the dstara/update_to_tiledb_2.16 branch from 05fa328 to 28c6ac6 Compare August 15, 2023 08:49
@DimitrisStaratzis DimitrisStaratzis force-pushed the dstara/update_to_tiledb_2.16 branch from 28c6ac6 to 309e7bd Compare August 15, 2023 09:02
@DimitrisStaratzis DimitrisStaratzis linked an issue Aug 15, 2023 that may be closed by this pull request
@DimitrisStaratzis DimitrisStaratzis merged commit b34809c into master Aug 15, 2023
@DimitrisStaratzis DimitrisStaratzis deleted the dstara/update_to_tiledb_2.16 branch August 15, 2023 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Concurrency issues after upgrade to 0.11.0
3 participants