From 612befcc499ea421fbc8e0ce7457906b7f396ed5 Mon Sep 17 00:00:00 2001 From: Kristof Denolf Date: Thu, 7 Sep 2023 14:43:27 -0600 Subject: [PATCH] need ONLY option to make cmake find numpy (#630) --- utils/build-llvm-local.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/build-llvm-local.sh b/utils/build-llvm-local.sh index 977f3084db..cec57b08cb 100755 --- a/utils/build-llvm-local.sh +++ b/utils/build-llvm-local.sh @@ -33,7 +33,7 @@ cmake ../llvm \ -GNinja \ -DCMAKE_C_COMPILER=clang \ -DCMAKE_CXX_COMPILER=clang++ \ - -DPython3_FIND_VIRTUALENV=FIRST \ + -DPython3_FIND_VIRTUALENV=ONLY \ -DLLVM_LINK_LLVM_DYLIB=ON \ -DCLANG_LINK_CLANG_DYLIB=ON \ -DLLVM_BUILD_EXAMPLES=OFF \