10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-14 01:53:55 +01:00
quantum_package/install/scripts/install_f77zmq.sh

23 lines
376 B
Bash
Raw Normal View History

2015-11-25 11:49:42 +01:00
#!/bin/bash -x
TARGET=f77zmq
function _install()
{
2015-11-25 18:59:49 +01:00
cd ..
QP_ROOT=$PWD
cd -
2015-11-25 11:49:42 +01:00
set -e
set -u
2016-12-02 11:53:56 +01:00
export ZMQ_H="${QP_ROOT}"/include/zmq.h
2015-11-25 11:49:42 +01:00
cd "${BUILD}"
2015-11-25 13:57:40 +01:00
make -j 8 || exit 1
mv libf77zmq.a "${QP_ROOT}"/lib || exit 1
mv libf77zmq.so "${QP_ROOT}"/lib || exit 1
2015-12-01 12:34:24 +01:00
cp f77_zmq.h "${QP_ROOT}"/src/ZMQ/
2015-11-25 11:49:42 +01:00
cd -
return 0
}
source scripts/build.sh