mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-10-09 01:17:19 +02:00
Fixed qp_export
This commit is contained in:
parent
aed146282e
commit
2172a8cc3f
@ -154,7 +154,7 @@ for i in ${FORTRAN_EXEC} ; do
|
||||
done > ${QPACKAGE_STATIC}/data/executables
|
||||
|
||||
mkdir --parents -- ${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
|
||||
|
||||
|
||||
echo "Copying dynamic libraries"
|
||||
@ -174,6 +174,8 @@ for i in ${ALL_LIBS} ${MKL_LIBS} ; do
|
||||
cp -- ${i} ${QPACKAGE_STATIC}/extra_lib
|
||||
done
|
||||
|
||||
rm -rf extra_lib/{libc.so*,libpthread.so*,librt.so*,libm.so*,libdl.so*,libgcc_s.so*}
|
||||
|
||||
if [[ $? -ne 0 ]] ; then
|
||||
echo 'cp -- ${ALL_LIBS} ${MKL_LIBS} ${QPACKAGE_STATIC}/extra_lib'
|
||||
exit 1
|
||||
|
@ -32,7 +32,8 @@ export PYTHONPATH=$(qp_prepend_export "PYTHONPATH" "${QP_EZFIO}/Python":"${QP_PY
|
||||
|
||||
export PATH=$(qp_prepend_export "PATH" "${QP_PYTHON}":"${QP_ROOT}"/bin:"${QP_ROOT}"/ocaml)
|
||||
|
||||
export LD_LIBRARY_PATH=$(qp_prepend_export "LD_LIBRARY_PATH" "${QP_ROOT}"/lib:"${QP_ROOT}"/lib64)
|
||||
export LD_LIBRARY_PATH=$(qp_prepend_export "LD_LIBRARY_PATH" "${QP_ROOT}"/lib)":${QP_ROOT}"/extra_lib
|
||||
|
||||
|
||||
export LIBRARY_PATH=$(qp_prepend_export "LIBRARY_PATH" "${QP_ROOT}"/lib:"${QP_ROOT}"/lib64)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user