mirror of
https://gitlab.com/scemama/qmcchem.git
synced 2024-12-27 14:53:31 +01:00
24 lines
528 B
Bash
Executable File
24 lines
528 B
Bash
Executable File
#!/bin/bash -x
|
|
|
|
TARGET=f77_zmq
|
|
function _install()
|
|
{
|
|
cd .. ; QMCCHEM_PATH="$PWD" ; cd -
|
|
set +u
|
|
export C_INCLUDE_PATH="${C_INCLUDE_PATH}":../../../include
|
|
set -e
|
|
set -u
|
|
cd "${BUILD}"
|
|
export ZMQ_H="${QMCCHEM_PATH}"/include/zmq.h
|
|
cp "${ZMQ_H}" .
|
|
make -j 8
|
|
cd -
|
|
rm -f -- "${QMCCHEM_PATH}"/src/ZMQ/f77_zmq.h "${QMCCHEM_PATH}"/lib/libf77zmq.a "${QMCCHEM_PATH}"/lib/libf77zmq.so
|
|
cp "${BUILD}"/libf77zmq.{a,so} ../lib/
|
|
cp "${BUILD}"/f77_zmq_free.h ../src/ZMQ/f77_zmq.h
|
|
return 0
|
|
}
|
|
|
|
source scripts/build.sh
|
|
|