10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-11-20 04:52:22 +01:00
qmcchem/install/scripts/install_zmq.sh

23 lines
411 B
Bash
Raw Normal View History

2015-12-18 22:25:32 +01:00
#!/bin/bash -x
TARGET=zmq
function _install()
{
2016-10-03 00:34:42 +02:00
LIBVERSION=5
2015-12-18 22:53:27 +01:00
cd .. ; QMCCHEM_PATH="$PWD" ; cd -
2015-12-18 22:25:32 +01:00
set +u
export C_INCLUDE_PATH="${C_INCLUDE_PATH}":./
set -e
set -u
cd "${BUILD}"
2019-07-01 11:32:01 +02:00
rm -f -- "${QMCCHEM_PATH}"/lib/libzmq.{a,so,so.$LIBVERSION}
./configure --without-libsodium --enable-libunwind=no --prefix="${QMCCHEM_PATH}"
2015-12-18 22:25:32 +01:00
make -j 8
2018-07-09 14:40:45 +02:00
make install
2015-12-18 22:25:32 +01:00
cd -
return 0
}
source scripts/build.sh