mirror of
https://github.com/LCPQ/quantum_package
synced 2024-12-23 12:56:14 +01:00
24 lines
433 B
Bash
Executable File
24 lines
433 B
Bash
Executable File
#!/bin/bash -x
|
|
|
|
TARGET=f77zmq
|
|
|
|
function _install()
|
|
{
|
|
cd ..
|
|
QP_ROOT=$PWD
|
|
cd -
|
|
export C_INCLUDE_PATH="${C_INCLUDE_PATH}":"${QP_ROOT}"/lib
|
|
set -e
|
|
set -u
|
|
export ZMQ_H="${QP_ROOT}"/lib/zmq.h
|
|
cd "${BUILD}"
|
|
make -j 8 || exit 1
|
|
mv libf77zmq.a "${QP_ROOT}"/lib || exit 1
|
|
mv libf77zmq.so "${QP_ROOT}"/lib || exit 1
|
|
cp f77_zmq.h "${QP_ROOT}"/src/ZMQ/
|
|
cd -
|
|
return 0
|
|
}
|
|
|
|
source scripts/build.sh
|