mirror of
https://github.com/LCPQ/quantum_package
synced 2024-12-25 05:43:47 +01:00
Modified build_static
This commit is contained in:
parent
fec8deb8e8
commit
7a0a14854a
@ -65,10 +65,10 @@ echo "Creating root of static directory"
|
|||||||
# ---------------------------------
|
# ---------------------------------
|
||||||
|
|
||||||
rm -rf -- ${QPACKAGE_STATIC}
|
rm -rf -- ${QPACKAGE_STATIC}
|
||||||
mkdir -p -- ${QPACKAGE_STATIC}/{bin,lib,extra_lib,data,install}
|
mkdir -p -- ${QPACKAGE_STATIC}/{bin,lib,extra_lib,install}
|
||||||
if [[ $? -ne 0 ]] ;
|
if [[ $? -ne 0 ]] ;
|
||||||
then
|
then
|
||||||
echo "Error creating ${QPACKAGE_STATIC}/{bin,lib,extra_lib,data,install}"
|
echo "Error creating ${QPACKAGE_STATIC}/{bin,lib,extra_lib,install}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -105,13 +105,13 @@ cd ${QPACKAGE_STATIC}/bin
|
|||||||
done
|
done
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
|
cp -r ${QP_ROOT}/data ${QPACKAGE_STATIC}/data
|
||||||
for i in ${FORTRAN_EXEC}
|
for i in ${FORTRAN_EXEC}
|
||||||
do
|
do
|
||||||
i=$(basename $i)
|
i=$(basename $i)
|
||||||
echo $i \$QP_ROOT/bin/$i
|
echo $i \$QP_ROOT/bin/$i
|
||||||
done >> ${QPACKAGE_STATIC}/data/executables
|
done >> ${QPACKAGE_STATIC}/data/executables
|
||||||
|
|
||||||
cp ${QP_ROOT}/data/ezfio_defaults ${QPACKAGE_STATIC}/data
|
|
||||||
mkdir -p ${QPACKAGE_STATIC}/src/Bitmask
|
mkdir -p ${QPACKAGE_STATIC}/src/Bitmask
|
||||||
cp ${QP_ROOT}/src/Bitmask/bitmasks_module.f90 ${QPACKAGE_STATIC}/src/Bitmask
|
cp ${QP_ROOT}/src/Bitmask/bitmasks_module.f90 ${QPACKAGE_STATIC}/src/Bitmask
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user