mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 13:45:19 -04:00
23 lines
435 B
Bash
Executable file
23 lines
435 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
# author: Ole Schuett
|
|
|
|
# shellcheck disable=SC1091
|
|
source /opt/cp2k-toolchain/install/setup
|
|
|
|
# setup arch files
|
|
cd /workspace/cp2k/arch
|
|
ln -vs /opt/cp2k-toolchain/install/arch/local* .
|
|
|
|
# pre-build cp2k
|
|
cd /workspace/cp2k/tools/conventions
|
|
echo -n "Warming cache by trying to run test_conventions.sh... "
|
|
if ./test_conventions.sh &> /dev/null; then
|
|
echo "done."
|
|
else
|
|
echo "failed."
|
|
fi
|
|
|
|
rm -rf ../lib/ ../exe/
|
|
|
|
#EOF
|