mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-24 12:33:30 +01:00
18 lines
350 B
Plaintext
18 lines
350 B
Plaintext
|
#!/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
|
||
|
|
||
|
ln -s ${PWD}/CuTC/build/libtc_int_cu.so ${QP_ROOT}/lib
|
||
|
|