10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-19 20:42:36 +01:00
QuantumPackage/plugins/local/tc_int/install

19 lines
356 B
Plaintext
Raw Normal View History

2024-08-02 21:16:27 +02:00
#!/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
2024-08-03 12:32:35 +02:00
cd ..
2024-08-02 21:16:27 +02:00
ln -s ${PWD}/CuTC/build/libtc_int_cu.so ${QP_ROOT}/lib