From 48b29493b07850aa2f691616d62a283290b58cb3 Mon Sep 17 00:00:00 2001 From: Robert Cohn Date: Sat, 11 May 2024 09:22:17 -0500 Subject: [PATCH] update --- .github/workflows/pr.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 881f311de..c4c644358 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -22,7 +22,14 @@ jobs: domain: [blas, dft, lapack, rng] steps: - uses: actions/checkout@v4 + - name: Restore netlib from cache + id: cache-lapack + uses: actions/cache@v3 + with: + path: lapack/install + key: lapack-${{ env.LAPACK_VERSION }} - name: Install netlib + if: steps.cache-lapack.outputs.cache-hit != 'true' run: | curl -sL https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v${LAPACK_VERSION}.tar.gz | tar zx SHARED_OPT="lapack-${LAPACK_VERSION} -DBUILD_SHARED_LIBS=on -DCBLAS=on -DLAPACKE=on -DCMAKE_INSTALL_PREFIX=${PWD}/lapack/install"