From b18de4cdee67890fd38eb76ee7e3e235208a81e5 Mon Sep 17 00:00:00 2001 From: mlanger Date: Thu, 18 May 2023 11:55:29 +0000 Subject: [PATCH] Use newer versions of support libraries (fixes for Hopper!). Move all dependencies to dedicated folder. --- .gitmodules | 8 +++++++- CMakeLists.txt | 4 ++-- {tests => third_party}/googletest | 0 third_party/libcudacxx | 1 + third_party/thrust | 1 + 5 files changed, 11 insertions(+), 3 deletions(-) rename {tests => third_party}/googletest (100%) create mode 160000 third_party/libcudacxx create mode 160000 third_party/thrust diff --git a/.gitmodules b/.gitmodules index 44d6d26f4..72d46f04a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,10 @@ [submodule "tests/googletest"] - path = tests/googletest + path = third_party/googletest url = https://github.com/google/googletest.git ignore = dirty +[submodule "third_party/libcudacxx"] + path = third_party/libcudacxx + url = https://github.com/NVIDIA/libcudacxx +[submodule "third_party/thrust"] + path = third_party/thrust + url = https://github.com/NVIDIA/thrust.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c5cbb512..1d368cbbc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,10 +66,10 @@ endforeach() include_directories( ${PROJECT_SOURCE_DIR}/include - ${PROJECT_SOURCE_DIR}/tests/googletest/googletest/include + ${PROJECT_SOURCE_DIR}/third_party/googletest/googletest/include ) -ADD_SUBDIRECTORY(tests/googletest) +ADD_SUBDIRECTORY(third_party/googletest) link_directories( ) diff --git a/tests/googletest b/third_party/googletest similarity index 100% rename from tests/googletest rename to third_party/googletest diff --git a/third_party/libcudacxx b/third_party/libcudacxx new file mode 160000 index 000000000..88a91da3d --- /dev/null +++ b/third_party/libcudacxx @@ -0,0 +1 @@ +Subproject commit 88a91da3dddf0eccf7c9ffd66214ddd2cad497da diff --git a/third_party/thrust b/third_party/thrust new file mode 160000 index 000000000..cf0fc2129 --- /dev/null +++ b/third_party/thrust @@ -0,0 +1 @@ +Subproject commit cf0fc2129f82cca026b1ef1c53d5facb35d06c4e