-
8000
Notifications
You must be signed in to change notification settings - Fork 129
dependency update #559
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 rel 8000 ated emails.
Already on GitHub? Sign in to your account
dependency update #559
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #559 +/- ##
=======================================
Coverage 91.13% 91.13%
=======================================
Files 35 35
Lines 4547 4547
=======================================
Hits 4144 4144
Misses 403 403 ☔ View full report in Codecov by Sentry. |
hmmm, I have no idea why the nix builds fail. |
Hmm, this sounds ominous:
|
indeed, but that can easily be fixed anyway |
573d9b5
to
5c21436
Compare
ok, the thrust cmake problem with nix is due to cmake non-deterministically applying the config files... I have no idea why this happens but I have worked around it by overwriting the output into a known correct result. |
@@ -219,7 +219,7 @@ jobs: | |||
- uses: actions/checkout@v3 | |||
with: | |||
submodules: recursive | |||
- uses: cachix/install-nix-action@v15 | |||
- uses: cachix/install-nix-action@v22 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I later found that the nix non-deterministic issue is not related to this, but updating should not cause any problem.
add_library(GTest::GTest ALIAS gtest) | ||
add_library(GTest::Main ALIAS gtest_main) | ||
if(NOT TARGET GTest::gtest_main) | ||
add_library(GTest::gtest_main ALIAS gtest_main) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GTest::Main
may not exist, but GTest::gtest_main
should exist for every version.
GIT_REPOSITORY https://github.com/oneapi-src/oneTBB.git | ||
GIT_TAG v2021.10.0 | ||
GIT_SHALLOW TRUE | ||
GIT_PROGRESS TRUE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
originally I wanted to use find_package
for TBB as well (in addition to pkg-config), but it seems that the FindTBB.cmake
provided in some versions are broken, and calling find_package(tbb)
will cause cmake error, so I just keep the old behavior.
2c1e284
to
74b6f85
Compare
It seems that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, and thanks for the docs updates too!
else() | ||
target_include_directories(${PROJECT_NAME} INTERFACE | ||
${THRUST_ROOT} | ||
${THRUST_ROOT}/dependencies/libcudacxx/include |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a little surprised CMake doesn't take care of this automatically...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CMake should be able to handle it, but I found that for some reason FetchContent does not execute the thrust cmake file correctly. This is what we did previously as well when using submodules.
I will merge this after I ensure that the python wheel build is working. |
Hmm... Nice job windows
Never thought of filename too long will be an issue. |
45a1bd3
to
7550076
Compare
* dependency update * revert BUILD_SHARED_LIBS changes * test * . * don't try weird stuff with windows * update * update CI
Address #554 and #555.