Skip to content

Commit 0f8a05c

Browse files
committed
export pathes for LLVM
1 parent b3bc836 commit 0f8a05c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/testing_OSX.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818
uses: actions/checkout@v4
1919
- name: Preinstall
2020
run: |
21-
brew reinstall python@3.13 llvm@15
21+
brew update
22+
brew reinstall python@3.14 llvm@15
2223
brew install hdf5 fftw cfitsio muparser libomp swig
2324
pip install numpy==1.26.4 cmake
2425
pip show numpy # cross-check numpy version for Python_Numpy_INCLUDE_DIR
@@ -40,6 +41,8 @@ jobs:
4041
export OMP_DIR=$(brew --prefix libomp)
4142
export PYTHON_DIR=/Library/Frameworks/Python.framework/Versions/$PYTHON_VERSION/
4243
export Numpy_dir=`pip show numpy | grep Location | awk '{print $2}'`
44+
export LDFLAGS="-L/opt/homebrew/opt/llvm@15/lib"
45+
export CPPFLAGS="-I/opt/homebrew/opt/llvm@15/include"
4346

4447
# print paths for debugging
4548
echo "Using LLVM_DIR: $LLVM_DIR"

0 commit comments

Comments
 (0)