Skip to content
Snippets Groups Projects
Commit 312de475 authored by Phil Carns's avatar Phil Carns Committed by Peter Scheibel
Browse files

update rdma-core package to specify rundir (#9370)

parent aac8d520
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,12 @@ class RdmaCore(CMakePackage):
conflicts('platform=darwin', msg='rdma-core requires FreeBSD or Linux')
conflicts('%intel', msg='rdma-core cannot be built with intel (use gcc instead)')
# NOTE: specify CMAKE_INSTALL_RUNDIR explicitly to prevent rdma-core from
# using the spack staging build dir (which may be a very long file
# system path) as a component in compile-time static strings such as
# IBACM_SERVER_PATH.
def cmake_args(self):
cmake_args = ["-DCMAKE_INSTALL_SYSCONFDIR=" +
self.spec.prefix.etc]
self.spec.prefix.etc,
"-DCMAKE_INSTALL_RUNDIR=/var/run"]
return cmake_args
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment