Skip to content

Commit

Permalink
debug ci
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasryck committed Sep 26, 2024
1 parent 796edf2 commit 70a29bf
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions build_script/macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,23 @@ if [[ "$RUNNER_OS" == "macOS" ]]; then
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"
OPENBLAS_URL="https://anaconda.org/anaconda/openblas-devel/0.3.21/download/osx-arm64/openblas-devel-0.3.21-hca03da5_0.tar.bz2"
OPENBLAS_URL="https://anaconda.org/conda-forge/libopenblas/0.3.21/download/osx-arm64/libopenblas-0.3.21-openmp_hc731615_3.tar.bz2"
OPENBLAS_DEVEL_URL="https://anaconda.org/anaconda/openblas-devel/0.3.21/download/osx-arm64/openblas-devel-0.3.21-hca03da5_0.tar.bz2"
GFORTRAN_URL="https://anaconda.org/conda-forge/libgfortran5/11.3.0/download/osx-arm64/libgfortran5-11.3.0-hdaf2cc0_26.tar.bz2"

sudo conda create -n build $OPENMP_URL $OPENBLAS_URL $GFORTRAN_URL
sudo conda create -n build $OPENMP_URL $OPENBLAS_URL $GFORTRAN_URL $OPENBLAS_DEVEL_URL

else
export MACOSX_DEPLOYMENT_TARGET=10.9
OPENMP_URL="https://anaconda.org/conda-forge/llvm-openmp/11.1.0/download/osx-64/llvm-openmp-11.1.0-hda6cdc1_1.tar.bz2"
OPENBLAS_URL="https://anaconda.org/anaconda/openblas-devel/0.3.21/download/osx-64/openblas-devel-0.3.21-hecd8cb5_0.tar.bz2"
OPENBLAS_URL="https://anaconda.org/conda-forge/libopenblas/0.3.21/download/osx-64/libopenblas-0.3.21-openmp_h429af6e_3.tar.bz2"
OPENBLAS_DEVEL_URL="https://anaconda.org/anaconda/openblas-devel/0.3.21/download/osx-64/openblas-devel-0.3.21-hecd8cb5_0.tar.bz2"
GFORTRAN_URL="https://anaconda.org/conda-forge/libgfortran5/11.3.0/download/osx-64/libgfortran5-11.3.0-h082f757_26.tar.bz2"

sudo conda create -n build $OPENMP_URL $OPENBLAS_URL $GFORTRAN_URL
sudo conda create -n build $OPENMP_URL $OPENBLAS_URL $GFORTRAN_URL $OPENBLAS_DEVEL_URL
fi

ls "/Users/runner/miniconda3/envs/build/lib"

sudo cp "/Users/runner/miniconda3/envs/build/lib/libopenblas.0.dylib" "/Users/runner/miniconda3/envs/build/lib/libopenblas.dylib"

fi

0 comments on commit 70a29bf

Please sign in to comment.