From 7487c285df7537f7614b11c2ea65d0f54d93d698 Mon Sep 17 00:00:00 2001 From: edoapra Date: Fri, 4 Oct 2024 17:45:18 -0700 Subject: [PATCH] fetch external tarballs --- .github/workflows/github_actions.yml | 5 +++++ travis/cache_fetch.sh | 3 +++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/github_actions.yml b/.github/workflows/github_actions.yml index 07aca93b71..7dd520ec32 100644 --- a/.github/workflows/github_actions.yml +++ b/.github/workflows/github_actions.yml @@ -522,6 +522,11 @@ jobs: if: steps.setup-cache.outputs.cache-hit == 'true' run: | ./travis/cache_fetch.sh + - name: get external files + if: steps.setup-cache.outputs.cache-hit != 'true' + run: | + mkdir -p ~/cache + NWCHEM_TOP=$(pwd) ./contrib/getfiles.nwchem ~/cache - name: compile id: compile run: | diff --git a/travis/cache_fetch.sh b/travis/cache_fetch.sh index f0a9b1932f..178b2707c2 100755 --- a/travis/cache_fetch.sh +++ b/travis/cache_fetch.sh @@ -12,3 +12,6 @@ set -v ls -lart /home/runner/work/nwchem/nwchem/src/libext/mpich/mpich/../../include || true ls -lart /home/runner/work/nwchem/nwchem/src/libext/include || true ls -lart /home/runner/work/nwchem/nwchem/src/libext/mpich || true + rsync -av ~/cache/dftd3.tgz src/nwpw/nwpwlib/nwpwxc/. || true + rsync -av ~/cache/OpenBLAS*gz src/libext/openblas/. || true + rsync -av ~/cache/scalapack*zip src/libext/scalapack/. || true