mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-22 19:43:32 +01:00
19 lines
354 B
Bash
Executable File
19 lines
354 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Check if the QP_ROOT environment variable is set.
|
|
if [[ -z ${QP_ROOT} ]]
|
|
then
|
|
print "The QP_ROOT environment variable is not set."
|
|
print "Please reload the quantum_package.rc file."
|
|
exit -1
|
|
fi
|
|
|
|
git clone https://github.com/AbdAmmar/CuTC
|
|
cd CuTC
|
|
source config/env.rc
|
|
make
|
|
cd ..
|
|
|
|
ln -s ${PWD}/CuTC/build/libcutcint.so ${QP_ROOT}/lib
|
|
|