Skip to content

Commit

Permalink
Seems like its working
Browse files Browse the repository at this point in the history
  • Loading branch information
vovaf709 committed Dec 21, 2023
1 parent 806b939 commit b1ff9e7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,26 @@ jobs:
run: |
brew install llvm libomp
echo $PATH
ln -sf /usr/local/bin/gcc-12 /usr/local/bin/gcc
ln -sf /usr/local/bin/gcc-11 /usr/local/bin/gcc
ln -sf /usr/local/bin/g++-11 /usr/local/bin/g++
ls /usr/local/bin/gcc*
ls /usr/local/bin/g++*
gcc --version
g++ --version
- name: Install g++-11 for ubuntu
if: matrix.os == 'ubuntu-20.04'
id: install_cc
uses: rlalik/setup-cpp-compiler@master
with:
compiler: g++-11
- name: Check compilers for ubuntu
if: matrix.os == 'ubuntu-20.04'
run: |
ls /usr/bin/gcc*
ls /usr/bin/g++*
sudo ln -sf /usr/bin/gcc-11 /usr/bin/gcc
sudo ln -sf /usr/bin/g++-11 /usr/bin/g++
g++ --version
gcc --version
- name: Build wheels
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
brew install llvm libomp
echo $PATH
ln -sf /usr/local/bin/gcc-11 /usr/local/bin/gcc
ln -sf /usr/local/bin/g++-11 /usr/local/bin/g++
ls /usr/local/bin/gcc*
ls /usr/local/bin/g++*
gcc --version
Expand All @@ -35,7 +36,7 @@ jobs:
uses: rlalik/setup-cpp-compiler@master
with:
compiler: g++-11
- name: Check g++-11 for ubuntu
- name: Check compilers for ubuntu
if: matrix.os == 'ubuntu-20.04'
run: |
ls /usr/bin/gcc*
Expand All @@ -50,7 +51,7 @@ jobs:
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"
PATH="/usr/local/opt/llvm/bin:$PATH" LDFLAGS="-L/usr/local/opt/llvm/lib" CPPFLAGS="-I/usr/local/opt/llvm/include"
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 b1ff9e7

Please sign in to comment.