9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-08 22:43:38 +01:00
qp2/drone/compilation.sh

17 lines
261 B
Bash
Raw Normal View History

#!/bin/bash
# Stage 2
# Extract cache from config stage
cd ../
tar -zxf $HOME/cache/config.tgz
# Configure QP2
cd qp2
source ./quantum_package.rc
2021-01-25 10:24:49 +01:00
ninja -j 1 -v || exit -1
# Create cache
cd ..
2020-08-25 11:17:30 +02:00
tar -zcf $HOME/cache/compil.tgz qp2 && rm $HOME/cache/config.tgz