Skip to content
Snippets Groups Projects
Commit a506abb6 authored by Bouwe Andela's avatar Bouwe Andela
Browse files

Download cudawrappers using CMake

parent d3bae41f
No related branches found
No related tags found
1 merge request!3Draft: use cmake to build, test, and install
[submodule "external/cuda-wrappers"]
path = external/cudawrappers
url = https://github.com/nlesc-recruit/CUDA-wrappers.git
...@@ -17,7 +17,12 @@ include(GNUInstallDirs) ...@@ -17,7 +17,12 @@ include(GNUInstallDirs)
list(APPEND CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}) list(APPEND CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR})
# Add cudawrappers dependency # Add cudawrappers dependency
add_subdirectory(external/cudawrappers) include(FetchContent)
FetchContent_Declare(
cudawrappers
GIT_REPOSITORY https://github.com/nlesc-recruit/cudawrappers
GIT_TAG e8f0943c70e688829f75b2b90a7af128c0a6df49)
FetchContent_MakeAvailable(cudawrappers)
# Set up libtcc # Set up libtcc
add_subdirectory(libtcc) add_subdirectory(libtcc)
......
...@@ -11,7 +11,7 @@ appear in _Astronomy and Astrophysics_ soon. ...@@ -11,7 +11,7 @@ appear in _Astronomy and Astrophysics_ soon.
## Brief overview on how to use the Tensor-Core Correlator library: ## Brief overview on how to use the Tensor-Core Correlator library:
Clone the repository (`git clone --recursive`) Clone the repository (`git clone https://git.astron.nl/RD/tensor-core-correlator.git`)
Build the library (just type `make`) Build the library (just type `make`)
......
Subproject commit ffacb0e3c649a4d8999b3c7959ce12dc03d25bf7
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment