mirror of
https://github.com/LCPQ/quantum_package
synced 2024-12-23 12:56:14 +01:00
Upgraded ZMQ
This commit is contained in:
parent
f6369660bd
commit
ab67babe36
@ -15,14 +15,14 @@ function _install()
|
|||||||
./configure --without-libsodium || exit 1
|
./configure --without-libsodium || exit 1
|
||||||
make -j 8 || exit 1
|
make -j 8 || exit 1
|
||||||
rm -f -- "${QP_ROOT}"/lib/libzmq.a "${QP_ROOT}"/lib/libzmq.so "${QP_ROOT}"/lib/libzmq.so.?
|
rm -f -- "${QP_ROOT}"/lib/libzmq.a "${QP_ROOT}"/lib/libzmq.so "${QP_ROOT}"/lib/libzmq.so.?
|
||||||
# cp .libs/libzmq.a "${QP_ROOT}"/lib
|
cp .libs/libzmq.a "${QP_ROOT}"/lib
|
||||||
# cp .libs/libzmq.so "${QP_ROOT}"/lib/libzmq.so.5
|
cp .libs/libzmq.so "${QP_ROOT}"/lib/libzmq.so.5
|
||||||
cp src/.libs/libzmq.a "${QP_ROOT}"/lib
|
# cp src/.libs/libzmq.a "${QP_ROOT}"/lib
|
||||||
cp src/.libs/libzmq.so "${QP_ROOT}"/lib/libzmq.so.4
|
# cp src/.libs/libzmq.so "${QP_ROOT}"/lib/libzmq.so.4
|
||||||
cp include/{zmq.h,zmq_utils.h} "${QP_ROOT}"/lib
|
cp include/{zmq.h,zmq_utils.h} "${QP_ROOT}"/lib
|
||||||
cd "${QP_ROOT}"/lib
|
cd "${QP_ROOT}"/lib
|
||||||
# ln -s libzmq.so.5 libzmq.so
|
ln -s libzmq.so.5 libzmq.so
|
||||||
ln -s libzmq.so.4 libzmq.so
|
# ln -s libzmq.so.4 libzmq.so
|
||||||
cd ${ORIG}
|
cd ${ORIG}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
@ -350,11 +350,11 @@ subroutine end_zmq_pull_socket(zmq_socket_pull)
|
|||||||
! endif
|
! endif
|
||||||
|
|
||||||
rc = f77_zmq_unbind(zmq_socket_pull,zmq_socket_pull_tcp_address)
|
rc = f77_zmq_unbind(zmq_socket_pull,zmq_socket_pull_tcp_address)
|
||||||
if (rc /= 0) then
|
! if (rc /= 0) then
|
||||||
print *, rc
|
! print *, rc
|
||||||
print *, irp_here, 'f77_zmq_unbind(zmq_socket_pull,zmq_socket_pull_tcp_address)'
|
! print *, irp_here, 'f77_zmq_unbind(zmq_socket_pull,zmq_socket_pull_tcp_address)'
|
||||||
stop 'error'
|
! stop 'error'
|
||||||
endif
|
! endif
|
||||||
|
|
||||||
call sleep(1) ! see https://github.com/zeromq/libzmq/issues/1922
|
call sleep(1) ! see https://github.com/zeromq/libzmq/issues/1922
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user