From c6266276d32975007235c3018f8a363d2e235d14 Mon Sep 17 00:00:00 2001 From: peekxc Date: Mon, 4 Dec 2023 23:06:26 -0500 Subject: [PATCH] update shell scripts --- tools/cibw_macos.sh | 10 ++++++++-- tools/cibw_windows.sh | 3 ++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/tools/cibw_macos.sh b/tools/cibw_macos.sh index b29f2dd..68388f7 100644 --- a/tools/cibw_macos.sh +++ b/tools/cibw_macos.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash -brew install libomp llvm openblas +brew install --force libomp llvm openblas +rm /usr/local/bin/2to3/* + export CC=/usr/local/opt/llvm/bin/clang export CXX=/usr/local/opt/llvm/bin/clang++ export CPPFLAGS="$CPPFLAGS -Xpreprocessor -fopenmp" @@ -17,4 +19,8 @@ if [[ $(uname -m) == "arm64" && "$CIBW_BUILD" == "cp38-macosx_arm64" ]]; then fi echo CXX VARIABLE: -echo $CXX \ No newline at end of file +echo $CXX +ln -s $CC /usr/bin/clang +ln -s $CXX /usr/bin/clang++ +alias clang=/usr/local/opt/llvm/bin/clang +alias clang++=/usr/local/opt/llvm/bin/clang++ \ No newline at end of file diff --git a/tools/cibw_windows.sh b/tools/cibw_windows.sh index 64af62c..76efd37 100644 --- a/tools/cibw_windows.sh +++ b/tools/cibw_windows.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash choco install rtools -y --no-progress --force --version=4.0.0.20220206" -echo "c:\rtools40\ucrt64\bin;" >> $PATH +echo "c:\\rtools40\\ucrt64\\bin;" >> $PATH +