From d33e1db52feff205a54c2e4c8b38a77ec4902cf4 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Wed, 8 May 2024 22:18:08 +0000 Subject: [PATCH] Partial reversion of "Add `compile-library` by default on pylibraft build (#2090)" This reverts commit b203e3f0e25058e47ceae76b2a13baf85c9ef8b4. --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index ee16bb4b1b..2aa5edb516 100755 --- a/build.sh +++ b/build.sh @@ -305,7 +305,7 @@ if hasArg --allgpuarch; then BUILD_ALL_GPU_ARCH=1 fi -if hasArg --compile-lib || hasArg pylibraft || (( ${NUMARGS} == 0 )); then +if hasArg --compile-lib || (( ${NUMARGS} == 0 )); then COMPILE_LIBRARY=ON CMAKE_TARGET="${CMAKE_TARGET};raft_lib" fi @@ -397,7 +397,7 @@ fi ################################################################################ # Configure for building all C++ targets -if (( ${NUMARGS} == 0 )) || hasArg libraft || hasArg docs || hasArg tests || hasArg bench-prims || hasArg bench-ann || [[ ${COMPILE_LIBRARY} == ON ]]; then +if (( ${NUMARGS} == 0 )) || hasArg libraft || hasArg docs || hasArg tests || hasArg bench-prims || hasArg bench-ann; then if (( ${BUILD_ALL_GPU_ARCH} == 0 )); then RAFT_CMAKE_CUDA_ARCHITECTURES="NATIVE" echo "Building for the architecture of the GPU in the system..."