mirror of
https://github.com/LCPQ/quantum_package
synced 2025-01-10 21:18:29 +01:00
Move install script into install
This commit is contained in:
parent
3badfe5a7f
commit
24b4e1b7ca
@ -12,7 +12,7 @@ fi
|
|||||||
cd -- ${QPACKAGE_ROOT}
|
cd -- ${QPACKAGE_ROOT}
|
||||||
mv -- ${QPACKAGE_ROOT}/EZFIO ${QPACKAGE_ROOT}/EZFIO.old
|
mv -- ${QPACKAGE_ROOT}/EZFIO ${QPACKAGE_ROOT}/EZFIO.old
|
||||||
|
|
||||||
${QPACKAGE_ROOT}/scripts/install_ezfio.sh
|
${QPACKAGE_ROOT}/scripts/install/install_ezfio.sh
|
||||||
|
|
||||||
if [[ $? -eq 0 ]]
|
if [[ $? -eq 0 ]]
|
||||||
then
|
then
|
||||||
|
@ -12,7 +12,7 @@ fi
|
|||||||
cd -- ${QPACKAGE_ROOT}
|
cd -- ${QPACKAGE_ROOT}
|
||||||
mv -f -- ${QPACKAGE_ROOT}/irpf90 ${QPACKAGE_ROOT}/irpf90.old
|
mv -f -- ${QPACKAGE_ROOT}/irpf90 ${QPACKAGE_ROOT}/irpf90.old
|
||||||
|
|
||||||
${QPACKAGE_ROOT}/scripts/install_irpf90.sh
|
${QPACKAGE_ROOT}/scripts/install/install_irpf90.sh
|
||||||
|
|
||||||
if [[ $? -eq 0 ]]
|
if [[ $? -eq 0 ]]
|
||||||
then
|
then
|
||||||
|
@ -30,7 +30,7 @@ EOF
|
|||||||
source quantum_package.rc
|
source quantum_package.rc
|
||||||
|
|
||||||
echo "${BLUE}===== Installing IRPF90 ===== ${BLACK}"
|
echo "${BLUE}===== Installing IRPF90 ===== ${BLACK}"
|
||||||
${QPACKAGE_ROOT}/scripts/install_irpf90.sh | tee install_irpf90.log
|
${QPACKAGE_ROOT}/scripts/install/install_irpf90.sh | tee install_irpf90.log
|
||||||
if [[ ! -d ${QPACKAGE_ROOT}/irpf90 ]]
|
if [[ ! -d ${QPACKAGE_ROOT}/irpf90 ]]
|
||||||
then
|
then
|
||||||
echo $RED "Error in IRPF90 installation" $BLACK
|
echo $RED "Error in IRPF90 installation" $BLACK
|
||||||
@ -51,16 +51,16 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo "${BLUE}===== Installing Zlib ===== ${BLACK}"
|
echo "${BLUE}===== Installing Zlib ===== ${BLACK}"
|
||||||
${QPACKAGE_ROOT}/scripts/install_zlib.sh | tee install_zlib.log
|
${QPACKAGE_ROOT}/scripts/install/install_zlib.sh | tee install_zlib.log
|
||||||
|
|
||||||
echo "${BLUE}===== Installing Curl ===== ${BLACK}"
|
echo "${BLUE}===== Installing Curl ===== ${BLACK}"
|
||||||
${QPACKAGE_ROOT}/scripts/install_curl.sh | tee install_curl.log
|
${QPACKAGE_ROOT}/scripts/install/install_curl.sh | tee install_curl.log
|
||||||
|
|
||||||
echo "${BLUE}===== Installing M4 ===== ${BLACK}"
|
echo "${BLUE}===== Installing M4 ===== ${BLACK}"
|
||||||
${QPACKAGE_ROOT}/scripts/install_m4.sh | tee install_m4.log
|
${QPACKAGE_ROOT}/scripts/install/install_m4.sh | tee install_m4.log
|
||||||
|
|
||||||
echo "${BLUE}===== Installing EMSL Basis set library ===== ${BLACK}"
|
echo "${BLUE}===== Installing EMSL Basis set library ===== ${BLACK}"
|
||||||
${QPACKAGE_ROOT}/scripts/install_emsl.sh | tee install_emsl.log
|
${QPACKAGE_ROOT}/scripts/install/install_emsl.sh | tee install_emsl.log
|
||||||
|
|
||||||
if [[ ! -d ${QPACKAGE_ROOT}/EMSL_Basis ]]
|
if [[ ! -d ${QPACKAGE_ROOT}/EMSL_Basis ]]
|
||||||
then
|
then
|
||||||
@ -70,7 +70,7 @@ fi
|
|||||||
|
|
||||||
echo "${BLUE}===== Installing EZFIO ===== ${BLACK}"
|
echo "${BLUE}===== Installing EZFIO ===== ${BLACK}"
|
||||||
|
|
||||||
${QPACKAGE_ROOT}/scripts/install_ezfio.sh | tee install_ezfio.log
|
${QPACKAGE_ROOT}/scripts/install/install_ezfio.sh | tee install_ezfio.log
|
||||||
if [[ ! -d ${QPACKAGE_ROOT}/EZFIO ]]
|
if [[ ! -d ${QPACKAGE_ROOT}/EZFIO ]]
|
||||||
then
|
then
|
||||||
echo $RED "Error in EZFIO installation" $BLACK
|
echo $RED "Error in EZFIO installation" $BLACK
|
||||||
@ -80,7 +80,7 @@ fi
|
|||||||
|
|
||||||
echo "${BLUE}===== Installing Ocaml compiler and libraries ===== ${BLACK}"
|
echo "${BLUE}===== Installing Ocaml compiler and libraries ===== ${BLACK}"
|
||||||
rm -f -- ocaml/Qptypes.ml
|
rm -f -- ocaml/Qptypes.ml
|
||||||
${QPACKAGE_ROOT}/scripts/install_ocaml.sh | tee install_ocaml.log
|
${QPACKAGE_ROOT}/scripts/install/install_ocaml.sh | tee install_ocaml.log
|
||||||
|
|
||||||
if [[ ! -f ${QPACKAGE_ROOT}/ocaml/Qptypes.ml ]]
|
if [[ ! -f ${QPACKAGE_ROOT}/ocaml/Qptypes.ml ]]
|
||||||
then
|
then
|
||||||
@ -89,7 +89,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "${BLUE}===== Installing resultsFile Python library ===== ${BLACK}"
|
echo "${BLUE}===== Installing resultsFile Python library ===== ${BLACK}"
|
||||||
${QPACKAGE_ROOT}/scripts/install_resultsFile.sh
|
${QPACKAGE_ROOT}/scripts/install/install_resultsFile.sh
|
||||||
if [[ ! -d ${QPACKAGE_ROOT}/resultsFile ]]
|
if [[ ! -d ${QPACKAGE_ROOT}/resultsFile ]]
|
||||||
then
|
then
|
||||||
echo $RED "Error in resultsFile installation" $BLACK
|
echo $RED "Error in resultsFile installation" $BLACK
|
||||||
|
Loading…
Reference in New Issue
Block a user