Skip to content

Commit

Permalink
Add export to OPENMP_PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesYang007 committed May 26, 2024
1 parent bede156 commit 91897ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.32.dev6
1.1.32.dev7
6 changes: 2 additions & 4 deletions tools/wheels/cibw_before_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
# Install miniforge
MINIFORGE_PATH=$HOME/miniforge
bash ./miniforge.sh -b -p $MINIFORGE_PATH
echo "$MINIFORGE_PATH/bin" >> $GITHUB_PATH
echo "CONDA_HOME=$MINIFORGE_PATH" >> $GITHUB_ENV

PATH="$PATH:$MINIFORGE_PATH/bin"
CONDA_HOME=$MINIFORGE_PATH

export MACOSX_DEPLOYMENT_TARGET=12.0
OPENMP_URL="https://anaconda.org/conda-forge/llvm-openmp/11.1.0/download/osx-arm64/llvm-openmp-11.1.0-hf3c4609_1.tar.bz2"
Expand All @@ -36,5 +34,5 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
fi

sudo conda create -n build $OPENMP_URL
OPENMP_PREFIX="$CONDA_HOME/envs/build"
export OPENMP_PREFIX="$CONDA_HOME/envs/build"
fi

0 comments on commit 91897ee

Please sign in to comment.