From a19ffc60a41dd8a17a435bedf3f3bcd4bc2a9d61 Mon Sep 17 00:00:00 2001 From: Jordan Jacobelli Date: Mon, 22 Feb 2021 10:05:54 +0100 Subject: [PATCH 1/2] ENH Pass ccache variables to conda recipe Signed-off-by: Jordan Jacobelli --- conda/recipes/libcuml/meta.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/conda/recipes/libcuml/meta.yaml b/conda/recipes/libcuml/meta.yaml index 39eab1e8a2..99daff524e 100644 --- a/conda/recipes/libcuml/meta.yaml +++ b/conda/recipes/libcuml/meta.yaml @@ -24,6 +24,13 @@ build: - PARALLEL_LEVEL - VERSION_SUFFIX - PROJECT_FLASH + - CCACHE_DIR + - CCACHE_NOHASHDIR + - CCACHE_COMPILERCHECK + - CMAKE_GENERATOR + - CMAKE_C_COMPILER_LAUNCHER + - CMAKE_CXX_COMPILER_LAUNCHER + - CMAKE_CUDA_COMPILER_LAUNCHER requirements: build: From ca1bc5c2a397640443fe0bb48ba4e326eee5a39c Mon Sep 17 00:00:00 2001 From: Jordan Jacobelli Date: Fri, 19 Feb 2021 13:53:34 +0100 Subject: [PATCH 2/2] ENH Use Ninja to build in CI Signed-off-by: Jordan Jacobelli --- ci/cpu/build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ci/cpu/build.sh b/ci/cpu/build.sh index f762e5502f..a1632f0509 100755 --- a/ci/cpu/build.sh +++ b/ci/cpu/build.sh @@ -1,7 +1,7 @@ #!/bin/bash -# Copyright (c) 2018, NVIDIA CORPORATION. +# Copyright (c) 2018-2021, NVIDIA CORPORATION. ############################################## -# cuML CPU conda build script for CI # +# cuML CPU conda build script for CI # ############################################## set -ex @@ -19,6 +19,9 @@ export CUDA_REL=${CUDA_VERSION%.*} export GPUCI_CONDA_RETRY_MAX=1 export GPUCI_CONDA_RETRY_SLEEP=30 +# Use Ninja to build +export CMAKE_GENERATOR="Ninja" + # Switch to project root; also root of repo checkout cd $WORKSPACE