Skip to content

Commit

Permalink
Try ln
Browse files Browse the repository at this point in the history
  • Loading branch information
vovaf709 committed Dec 21, 2023
1 parent ce3d7b7 commit d63069e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,19 @@ jobs:
- name: Check g++-11 for ubuntu
if: matrix.os == 'ubuntu-20.04'
run: |
g++ --version
gcc --version
ls /usr/bin/gcc*
ls /usr/bin/g++*
ln -sf /usr/bin/gcc-11 /usr/bin/gcc
ln -sf /usr/bin/g++-11 /usr/bin/g++
g++ --version
gcc --version
- name: Build wheels
run: |
python -m pip install --upgrade pip
python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_ENVIRONMENT_MACOS: >
PATH="/usr/local/opt/llvm/bin:$PATH" LDFLAGS="-L/usr/local/opt/llvm/lib" CPPFLAGS="-I/usr/local/opt/llvm/include" CXX="/usr/local/bin/g++-11"
CIBW_ENVIRONMENT_LINUX: CXX=${{ steps.install_cc.outputs.cxx }}
CIBW_BUILD: cp39-*
CIBW_SKIP: "*musllinux* *manylinux_x86_64"
CIBW_BEFORE_BUILD_LINUX: 'if [ $(python -c "import sys; print(sys.version_info[1])") -ge 9 ]; then python -m pip install "numpy<2.0.0" --config-settings=setup-args="-Dallow-noblas=true"; fi'

0 comments on commit d63069e

Please sign in to comment.