Skip to content

Commit

Permalink
Set CMAKE_CUDA_COMPILER in aarch64-linux-gnu-toolchain.cmake (apache#…
Browse files Browse the repository at this point in the history
…18713)

CMAKE_CUDA_HOST_COMPILER will be reset if CMAKE_CUDA_COMPILER is not set as of cmake 3.17.3

See https://gitlab.kitware.com/cmake/cmake/-/issues/20826
  • Loading branch information
leezu authored and MoisesHer committed Jul 18, 2020
1 parent 3e706dd commit ba09e05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/docker/toolchains/aarch64-linux-gnu-toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR "aarch64")
set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc)
set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++)
set(CMAKE_CUDA_COMPILER nvcc)
set(CMAKE_CUDA_HOST_COMPILER aarch64-linux-gnu-gcc)
set(CMAKE_FIND_ROOT_PATH "/usr/aarch64-linux-gnu")

Expand Down

0 comments on commit ba09e05

Please sign in to comment.