Retrieve git commit SHA before script (#4254)

This commit is contained in:
Matthias Krack 2025-06-19 07:53:44 +02:00 committed by GitHub
parent 0bcb433f02
commit 3ec2d5fa32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 26 additions and 13 deletions

View file

@ -7,7 +7,7 @@ if [[ -n "${SPACK_CACHE}" ]]; then
if ! wget -q --tries=1 "http://localhost:9000/spack-cache"; then
echo ""
echo "ERROR: Could not connect to local Spack cache."
echo " Start the cache by running ./start_spack_cache.sh and then pass --network=host to podman."
echo " Start the cache by running ./spack_cache_start.sh and then pass --network=host to podman."
echo " Alternatively, disable the cache by passing --build-arg SPACK_CACHE=\"\" to podman."
echo " See also: https://manual.cp2k.org/trunk/getting-started/build-with-spack.html"
echo ""