10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-07-23 19:27:34 +02:00
quantum_package/install/scripts/install_f77zmq.sh

23 lines
391 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
2018-07-27 11:09:39 +02:00
cp f77_zmq_free.h "${QP_ROOT}"/src/ZMQ/f77_zmq.h
2015-11-25 11:49:42 +01:00
cd -
return 0
}
source scripts/build.sh