From 38851ad25c7bac8ab7f6de8e7dffc7ddae4c694d Mon Sep 17 00:00:00 2001 From: Leonard Lausen Date: Tue, 14 Jul 2020 11:37:26 -0700 Subject: [PATCH] Set CMAKE_CUDA_COMPILER in aarch64-linux-gnu-toolchain.cmake 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 --- ci/docker/toolchains/aarch64-linux-gnu-toolchain.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/docker/toolchains/aarch64-linux-gnu-toolchain.cmake b/ci/docker/toolchains/aarch64-linux-gnu-toolchain.cmake index 3780415c4b15..57072b5cf393 100644 --- a/ci/docker/toolchains/aarch64-linux-gnu-toolchain.cmake +++ b/ci/docker/toolchains/aarch64-linux-gnu-toolchain.cmake @@ -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")