mirror of
https://github.com/LCPQ/quantum_package
synced 2024-08-24 21:41:46 +02:00
configure OK with ZeroMQ
This commit is contained in:
parent
4f3c07f54e
commit
665638ebc0
@ -15,6 +15,7 @@ function _install()
|
|||||||
make -j 8 || exit 1
|
make -j 8 || exit 1
|
||||||
mv libf77zmq.a "${QP_ROOT}"/lib || exit 1
|
mv libf77zmq.a "${QP_ROOT}"/lib || exit 1
|
||||||
mv libf77zmq.so "${QP_ROOT}"/lib || exit 1
|
mv libf77zmq.so "${QP_ROOT}"/lib || exit 1
|
||||||
|
cp f77_zmq.h "${QP_ROOT}"/src/ZMQ/
|
||||||
cd -
|
cd -
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,8 @@ except ImportError:
|
|||||||
from qp_path import QP_ROOT, QP_SRC, QP_EZFIO
|
from qp_path import QP_ROOT, QP_SRC, QP_EZFIO
|
||||||
|
|
||||||
LIB = "" # join(QP_ROOT, "lib", "rdtsc.o")
|
LIB = "" # join(QP_ROOT, "lib", "rdtsc.o")
|
||||||
EZFIO_LIB = join(QP_ROOT, "lib", "libezfio.a")
|
EZFIO_LIB = join(QP_ROOT, "lib", "libezfio_irp.a")
|
||||||
ZMQ_LIB = join(QP_ROOT, "lib", "libzmq.a") + " " + join(QP_ROOT, "lib", "libf77zmq.a")
|
ZMQ_LIB = join(QP_ROOT, "lib", "libf77zmq.a") + " " + join(QP_ROOT, "lib", "libzmq.a") + " -lstdc++ -lrt"
|
||||||
ROOT_BUILD_NINJA = join(QP_ROOT, "config", "build.ninja")
|
ROOT_BUILD_NINJA = join(QP_ROOT, "config", "build.ninja")
|
||||||
|
|
||||||
header = r"""#
|
header = r"""#
|
||||||
@ -262,7 +262,7 @@ def ninja_ezfio_rule():
|
|||||||
l_flag = ["export {0}='${0}'".format(flag)
|
l_flag = ["export {0}='${0}'".format(flag)
|
||||||
for flag in ["FC", "FCFLAGS", "IRPF90"]]
|
for flag in ["FC", "FCFLAGS", "IRPF90"]]
|
||||||
|
|
||||||
install_lib_ezfio = join(QP_ROOT, 'install', 'EZFIO', "lib", "libezfio.a")
|
install_lib_ezfio = join(QP_ROOT, 'install', 'EZFIO', "lib", "libezfio_irp.a")
|
||||||
l_cmd = ["cd {0}".format(QP_EZFIO)] + l_flag
|
l_cmd = ["cd {0}".format(QP_EZFIO)] + l_flag
|
||||||
l_cmd += ["rm -f make.config ; ninja && ln -sf {0} {1}".format(install_lib_ezfio, EZFIO_LIB)]
|
l_cmd += ["rm -f make.config ; ninja && ln -sf {0} {1}".format(install_lib_ezfio, EZFIO_LIB)]
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ def get_l_module_descendant(d_child, l_module):
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
print >> sys.stderr, "Error: "
|
print >> sys.stderr, "Error: "
|
||||||
print >> sys.stderr, "`{0}` is not a submodule".format(module)
|
print >> sys.stderr, "`{0}` is not a submodule".format(module)
|
||||||
print >> sys.stderr, "Check the typo (orthograph, case, '/', etc.) "
|
print >> sys.stderr, "Check the typo (spelling, case, '/', etc.) "
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
return list(set(l))
|
return list(set(l))
|
||||||
|
Loading…
Reference in New Issue
Block a user