10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-23 12:56:14 +01:00

Add bin/ocaml in path

This commit is contained in:
Thomas Applencourt 2015-06-08 21:43:41 +02:00
parent e6e78a521c
commit 8f161ea778

View File

@ -19,10 +19,10 @@ QP_ROOT_INSTALL = join(QP_ROOT, "install")
d_dependancy = { d_dependancy = {
"ocaml": ["m4", "curl", "zlib", "patch", "gcc"], "ocaml": ["m4", "curl", "zlib", "patch", "gcc"],
"m4": [], "m4": ["make"],
"curl": [], "curl": ["make"],
"zlib": ["gcc"], "zlib": ["gcc", "make"],
"patch": [], "patch": ["make"],
"ezfio": ["irpf90"], "ezfio": ["irpf90"],
"irpf90": ["python"], "irpf90": ["python"],
"docopt": ["python"], "docopt": ["python"],
@ -30,7 +30,8 @@ d_dependancy = {
"emsl": ["python"], "emsl": ["python"],
"gcc": [], "gcc": [],
"python": [], "python": [],
"ninja": ["gcc", "python"] "ninja": ["gcc", "python"],
"make": []
} }
from collections import namedtuple from collections import namedtuple
@ -366,7 +367,7 @@ l_rc = [
'export QP_PYTHON={0}'.format(":".join(l_python)), 'export QP_PYTHON={0}'.format(":".join(l_python)),
"", "",
'export PYTHONPATH="${PYTHONPATH}":"${QP_PYTHON}"', 'export PYTHONPATH="${PYTHONPATH}":"${QP_PYTHON}"',
'export PATH="${PATH}":"${QP_PYTHON}":"${QP_ROOT}"/bin', 'export PATH="${PATH}":"${QP_PYTHON}":"${QP_ROOT}"/bin:"${QP_ROOT}"/ocaml',
'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}"', ""
'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',