Skip to content

Commit

Permalink
Add deps as submodules to ensure equal env on ARM and x86.
Browse files Browse the repository at this point in the history
  • Loading branch information
bashimao committed May 29, 2023
1 parent a16c6e1 commit 40fb02b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -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
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,14 @@ message(CMAKE_CUDA_FLAGS="${CMAKE_CUDA_FLAGS}")

include_directories(
${PROJECT_SOURCE_DIR}/include
${PROJECT_SOURCE_DIR}/tests/googletest/googletest/include
${PROJECT_SOURCE_DIR}/third_party/libcudacxx/include
${PROJECT_SOURCE_DIR}/third_party/thrust/include
${PROJECT_SOURCE_DIR}/third_party/googletest/googletest/include
)

ADD_SUBDIRECTORY(tests/googletest)
ADD_SUBDIRECTORY(third_party/googletest)
ADD_SUBDIRECTORY(third_party/libcudacxx)
ADD_SUBDIRECTORY(third_party/thrust)

link_directories(
)
Expand Down
1 change: 1 addition & 0 deletions third_party/libcudacxx
Submodule libcudacxx added at 88a91d
1 change: 1 addition & 0 deletions third_party/thrust
Submodule thrust added at cf0fc2

0 comments on commit 40fb02b

Please sign in to comment.