mirror of
https://github.com/LCPQ/quantum_package
synced 2024-12-23 04:43:50 +01:00
Fix ZMQ installation problem
This commit is contained in:
parent
fc479f59a6
commit
16d981e9ee
@ -70,12 +70,12 @@ ${QP_ROOT}/bin/opam config setup -a -q || exit 1
|
|||||||
|
|
||||||
export LD_LIBRARY_PATH=${QP_ROOT}/lib:${LD_LIBRARY_PATH}
|
export LD_LIBRARY_PATH=${QP_ROOT}/lib:${LD_LIBRARY_PATH}
|
||||||
export LIBRARY_PATH=${QP_ROOT}/lib:${LIBRARY_PATH}
|
export LIBRARY_PATH=${QP_ROOT}/lib:${LIBRARY_PATH}
|
||||||
export C_INCLUDE_PATH=${QP_ROOT}/lib:${QP_ROOT}/include:$(ocamlopt -where)/../../include/ocaml_stdint:${C_INCLUDE_PATH}
|
export C_INCLUDE_PATH=${QP_ROOT}/lib:${QP_ROOT}/include:${C_INCLUDE_PATH}
|
||||||
source ${HOME}/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
|
source ${HOME}/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
|
||||||
|
|
||||||
|
|
||||||
NCPUs=$(cat /proc/cpuinfo | grep -i MHz | wc -l)
|
NCPUs=$(cat /proc/cpuinfo | grep -i MHz | wc -l)
|
||||||
${QP_ROOT}/bin/opam install -j ${NCPUs} ZMQ -y -q || exit 1
|
${QP_ROOT}/bin/opam install -j ${NCPUs} stdint.0.4.2 ZMQ -y -q || exit 1
|
||||||
${QP_ROOT}/bin/opam install -j ${NCPUs} ${PACKAGES} -y -q || exit 1
|
${QP_ROOT}/bin/opam install -j ${NCPUs} ${PACKAGES} -y -q || exit 1
|
||||||
|
|
||||||
rm -f ../_build/ocaml.log
|
rm -f ../_build/ocaml.log
|
||||||
|
Loading…
Reference in New Issue
Block a user