Skip to content

Commit

Permalink
update shell scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
peekxc committed Dec 5, 2023
1 parent ee7f0a3 commit c626627
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 8 additions & 2 deletions tools/cibw_macos.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -17,4 +19,8 @@ if [[ $(uname -m) == "arm64" && "$CIBW_BUILD" == "cp38-macosx_arm64" ]]; then
fi

echo CXX VARIABLE:
echo $CXX
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++
3 changes: 2 additions & 1 deletion tools/cibw_windows.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c626627

Please sign in to comment.