Skip to content

Commit

Permalink
Iterate
Browse files Browse the repository at this point in the history
  • Loading branch information
sjperkins committed Oct 9, 2024
1 parent eeb0618 commit 4efcd96
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,18 +149,6 @@ jobs:
LD_LIBRARY_PATH=${{ env.VCPKG_INSTALLED_DIR }}/${{ matrix.triplet }}/lib
run: echo "CIBW_ENVIRONMENT_COMMON=$COMMON_ENV" >> $GITHUB_ENV

- name: Install conda for macos
if: ${{ matrix.os_short == 'macos' }}
run: |
set -ex
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
# Install miniforge
MINIFORGE_PATH=$HOME/miniforge
bash Miniforge3-$(uname)-$(uname -m).sh -b -p $MINIFORGE_PATH
echo "$MINIFORGE_PATH/bin" >> $GITHUB_PATH
echo "CONDA_HOME=$MINIFORGE_PATH" >> $GITHUB_ENV
- name: Run cibuildwheel
env:
CIBW_BUILD: ${{ matrix.cpython }}-${{ matrix.extra_build }}
Expand Down
10 changes: 8 additions & 2 deletions ci/scripts/run_cibuildwheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@ if [[ $(uname) == "Darwin" ]]; then
# export CXXFLAGS="$CXXFLAGS -I$PREFIX/include"
# export LDFLAGS="$LDFLAGS -Wl,-rpath,$PREFIX/lib -L$PREFIX/lib -lomp"

conda create -n arcae-build llvm-openmp compilers python
conda init

curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"

# Install miniforge
MINIFORGE_PATH=$HOME/miniforge
bash Miniforge3-$(uname)-$(uname -m).sh -b -p $MINIFORGE_PATH
source "${MINIFORGE_PATH}/etc/profile.d/conda.sh"
conda create -n arcae-build -c conda-forge compilers llvm-openmp python
conda activate arcae-build
fi

Expand Down

0 comments on commit 4efcd96

Please sign in to comment.