mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-08-24 21:21:47 +02:00
17 lines
250 B
Bash
Executable File
17 lines
250 B
Bash
Executable File
#!/bin/bash
|
|
# Stage 2
|
|
|
|
# Extract cache from config stage
|
|
cd ../
|
|
tar -zxf $HOME/cache/config.tgz
|
|
|
|
# Configure QP2
|
|
cd qp2
|
|
source ./quantum_package.rc
|
|
ninja -j 1 -v
|
|
|
|
# Create cache
|
|
cd ..
|
|
tar -zcf $HOME/cache/compil.tgz qp2 && rm $HOME/cache/config.tgz
|
|
|