Skip to content

Commit

Permalink
ci: fix OpenBLAS version in all occurrences
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwnvol committed Jun 28, 2024
1 parent 81f27dc commit 6682d5f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:

- name: Download compiled OpenBLAS
run: |
curl -L -o OpenBLAS-0.3.25.zip https://github.com/OpenMathLib/OpenBLAS/releases/download/v0.3.27/OpenBLAS-0.3.27-${{ matrix.arch[2] }}.zip
7z x OpenBLAS-0.3.25.zip -o"OpenBLAS"
curl -L -o OpenBLAS-0.3.27.zip https://github.com/OpenMathLib/OpenBLAS/releases/download/v0.3.27/OpenBLAS-0.3.27-${{ matrix.arch[2] }}.zip
7z x OpenBLAS-0.3.27.zip -o"OpenBLAS"
- name: Set up the configuration file
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/compile_openblas_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:

- name: Compile OpenBLAS
run: |
curl -L -o OpenBLAS-0.3.25.tar.gz https://github.com/OpenMathLib/OpenBLAS/releases/download/v0.3.27/OpenBLAS-0.3.27.tar.gz
tar -xzf OpenBLAS-0.3.25.tar.gz
curl -L -o OpenBLAS-0.3.27.tar.gz https://github.com/OpenMathLib/OpenBLAS/releases/download/v0.3.27/OpenBLAS-0.3.27.tar.gz
tar -xzf OpenBLAS-0.3.27.tar.gz
docker create --name=openblas_${{ matrix.arch[0] }} -i --volume=${GITHUB_WORKSPACE}:/host quay.io/pypa/${{ matrix.arch[1] }}:latest /bin/bash
docker start openblas_${{ matrix.arch[0] }}
docker exec -i openblas_${{ matrix.arch[0] }} sh -c "make -C /host/OpenBLAS-0.3.25 TARGET=${{ matrix.arch[2] }} DYNAMIC_ARCH=1"
docker exec -i openblas_${{ matrix.arch[0] }} sh -c "make install -C /host/OpenBLAS-0.3.25 PREFIX=/host/OpenBLAS"
docker exec -i openblas_${{ matrix.arch[0] }} sh -c "make -C /host/OpenBLAS-0.3.27 TARGET=${{ matrix.arch[2] }} DYNAMIC_ARCH=1"
docker exec -i openblas_${{ matrix.arch[0] }} sh -c "make install -C /host/OpenBLAS-0.3.27 PREFIX=/host/OpenBLAS"
- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/compile_openblas_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
env:
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.arch[2] }}
run: |
curl -L -o OpenBLAS-0.3.25.tar.gz https://github.com/OpenMathLib/OpenBLAS/releases/download/v0.3.27/OpenBLAS-0.3.27.tar.gz
tar -xzf OpenBLAS-0.3.25.tar.gz
curl -L -o OpenBLAS-0.3.27.tar.gz https://github.com/OpenMathLib/OpenBLAS/releases/download/v0.3.27/OpenBLAS-0.3.27.tar.gz
tar -xzf OpenBLAS-0.3.27.tar.gz
sudo ln -fs /usr/local/bin/gfortran-11 /usr/local/bin/gfortran
make -C OpenBLAS-0.3.25 TARGET=${{ matrix.arch[1] }} DYNAMIC_ARCH=1
make install -C OpenBLAS-0.3.25 PREFIX=${GITHUB_WORKSPACE}/OpenBLAS
make -C OpenBLAS-0.3.27 TARGET=${{ matrix.arch[1] }} DYNAMIC_ARCH=1
make install -C OpenBLAS-0.3.27 PREFIX=${GITHUB_WORKSPACE}/OpenBLAS
- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 6682d5f

Please sign in to comment.