Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Jan 21, 2025
1 parent 8a1e453 commit 77d4323
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions .github/meson/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,24 +127,18 @@ runs:
meson compile -C builddir
meson install -C builddir
- name: Install MUMPS
if: (inputs.os == 'ubuntu-latest' && inputs.compiler == 'gcc') || (inputs.os == 'self-hosted')
- name: Install OpenBLAS
if: inputs.os == 'self-hosted'
shell: bash
run: |
cd ..
mkdir -p deps
VERSION_MUMPS="5.7.2"
VERSION_METIS="5.1.2"
VERSION_OPENBLAS32="0.3.27"
VERSION_OPENBLAS="0.3.27"
wget https://github.com/amontoison/MUMPS_seq_jll.jl/releases/download/MUMPS_seq-v${VERSION_MUMPS}%2B0/MUMPS_seq.v${VERSION_MUMPS}.$PLATFORM-libgfortran5.tar.gz
tar -xzvf MUMPS_seq.v${VERSION_MUMPS}.$PLATFORM-libgfortran5.tar.gz -C deps
wget https://github.com/JuliaBinaryWrappers/OpenBLAS_jll.jl/releases/download/OpenBLAS-v${VERSION_OPENBLAS}%2B1/OpenBLAS.v${VERSION_OPENBLAS}.$PLATFORM-libgfortran5.tar.gz
tar -xzvf OpenBLAS.v${VERSION_OPENBLAS}.$PLATFORM-libgfortran5.tar.gz -C deps
wget https://github.com/JuliaBinaryWrappers/OpenBLAS32_jll.jl/releases/download/OpenBLAS32-v${VERSION_OPENBLAS32}%2B1/OpenBLAS32.v${VERSION_OPENBLAS32}.$PLATFORM-libgfortran5.tar.gz
tar -xzvf OpenBLAS32.v${VERSION_OPENBLAS32}.$PLATFORM-libgfortran5.tar.gz -C deps
wget https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v${VERSION_METIS}%2B0/METIS.v${VERSION_METIS}.$PLATFORM.tar.gz
tar -xzvf METIS.v${VERSION_METIS}.$PLATFORM.tar.gz -C deps
- name: Install libHSL
if: inputs.os != 'windows-latest'
Expand Down Expand Up @@ -195,6 +189,25 @@ runs:
meson install -C builddir
fi
- name: Install MUMPS
if: inputs.os == 'ubuntu-latest' && inputs.compiler == 'gcc'
shell: bash
run: |
cd ..
mkdir -p deps
VERSION_MUMPS="5.7.2"
VERSION_METIS="5.1.2"
VERSION_OPENBLAS32="0.3.27"
VERSION_OPENBLAS="0.3.27"
wget https://github.com/amontoison/MUMPS_seq_jll.jl/releases/download/MUMPS_seq-v${VERSION_MUMPS}%2B0/MUMPS_seq.v${VERSION_MUMPS}.$PLATFORM-libgfortran5.tar.gz
tar -xzvf MUMPS_seq.v${VERSION_MUMPS}.$PLATFORM-libgfortran5.tar.gz -C deps
wget https://github.com/JuliaBinaryWrappers/OpenBLAS_jll.jl/releases/download/OpenBLAS-v${VERSION_OPENBLAS}%2B1/OpenBLAS.v${VERSION_OPENBLAS}.$PLATFORM-libgfortran5.tar.gz
tar -xzvf OpenBLAS.v${VERSION_OPENBLAS}.$PLATFORM-libgfortran5.tar.gz -C deps
wget https://github.com/JuliaBinaryWrappers/OpenBLAS32_jll.jl/releases/download/OpenBLAS32-v${VERSION_OPENBLAS32}%2B1/OpenBLAS32.v${VERSION_OPENBLAS32}.$PLATFORM-libgfortran5.tar.gz
tar -xzvf OpenBLAS32.v${VERSION_OPENBLAS32}.$PLATFORM-libgfortran5.tar.gz -C deps
wget https://github.com/JuliaBinaryWrappers/METIS_jll.jl/releases/download/METIS-v${VERSION_METIS}%2B0/METIS.v${VERSION_METIS}.$PLATFORM.tar.gz
tar -xzvf METIS.v${VERSION_METIS}.$PLATFORM.tar.gz -C deps
- name: Install MKL
if: inputs.os == 'ubuntu-latest' && inputs.compiler == 'intel'
shell: bash
Expand Down

0 comments on commit 77d4323

Please sign in to comment.