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 13:57:40 +01:00
|
|
|
export C_INCLUDE_PATH="${C_INCLUDE_PATH}":"${QP_ROOT}"/lib
|
2015-11-25 11:49:42 +01:00
|
|
|
set -e
|
|
|
|
set -u
|
2015-11-25 13:57:40 +01:00
|
|
|
export ZMQ_H="${QP_ROOT}"/lib/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-11-25 11:49:42 +01:00
|
|
|
cd -
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
source scripts/build.sh
|