Skip to content

Commit

Permalink
g++-11 for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
vovaf709 committed Dec 19, 2023
1 parent ba31716 commit 0ca56a4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,18 @@ jobs:
ls /usr/local/bin/g++*
gcc --version
g++ --version
if: matrix.os == 'ubuntu-20.04'
run: |
apt-get install g++-11
ls /usr/local/bin/g++*
- name: Build wheels
run: |
ls /usr/bin/g++*
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="/usr/local/bin/g++-11"
CIBW_BUILD: cp39-* cp36-*
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 0ca56a4

Please sign in to comment.