10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-11-15 10:33:38 +01:00
qmcchem/install/scripts/install_f77_zmq.sh

23 lines
416 B
Bash
Raw Normal View History

2015-12-18 22:25:32 +01:00
#!/bin/bash -x
TARGET=f77_zmq
function _install()
{
set +u
export C_INCLUDE_PATH=$C_INCLUDE_PATH:../../../lib
set -e
set -u
cd "${BUILD}"
export ZMQ_H=../../../lib/zmq.h
cp "${ZMQ_H}" .
make -j
cd -
rm -f -- "../src/ZMQ/f77_zmq.h" "../lib/libf77zmq.a" "../lib/libf77zmq.so"
cp "${BUILD}"/libf77zmq.{a,so} ../lib/
cp "${BUILD}"/f77_zmq.h ../src/ZMQ/
return 0
}
source scripts/build.sh