Skip to content

Commit

Permalink
CI (Alpine): Build ARPACK
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuetzel committed Jun 18, 2024
1 parent aa883e6 commit c0e4544
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/make.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ jobs:
# wget
# libpng
# sudo
# arpack-dev
packages: >
build-base
autoconf
Expand All @@ -231,7 +232,6 @@ jobs:
libltdl
rsvg-convert
texlive-dvi
arpack-dev
bison
blas-dev
curl-dev
Expand Down Expand Up @@ -326,6 +326,28 @@ jobs:
sudo cmake --install .
echo "::endgroup::"
- name: build arpack
# Build ARPACK manually against reference LAPACK and BLAS
run: |
mkdir -p arpack && cd arpack
printf "::group::\033[0;32m==>\033[0m Download tarball\n"
wget -O arpack-ng-3.9.1.tgz https://github.com/opencollab/arpack-ng/archive/refs/tags/3.9.1.tar.gz
echo "::endgroup::"
printf "::group::\033[0;32m==>\033[0m Unpack tarball\n"
tar zxvf arpack-ng-3.9.1.tgz
echo "::endgroup::"
printf "::group::\033[0;32m==>\033[0m Configure\n"
ls
mkdir -p build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DBLA_VENDOR=Generic ../arpack-ng-1.4.2
echo "::endgroup::"
printf "::group::\033[0;32m==>\033[0m Build\n"
cmake --build .
echo "::endgroup::"
printf "::group::\033[0;32m==>\033[0m Install\n"
sudo cmake --install .
echo "::endgroup::"
- name: bootstrap
run: GNULIB_URL=https://github.com/coreutils/gnulib.git ./bootstrap

Expand Down

0 comments on commit c0e4544

Please sign in to comment.