epics-base package: use the Spack compiler wrappers (#39752)
Edit configuration file to use the Spack compiler wrappers.
This commit is contained in:
parent
5c409f794a
commit
c5fc794d77
@ -23,6 +23,10 @@ class EpicsBase(MakefilePackage):
|
||||
depends_on("readline")
|
||||
depends_on("perl", type=("build", "run"))
|
||||
|
||||
def patch(self):
|
||||
filter_file(r"^\s*CC\s*=.*", "CC = " + spack_cc, "configure/CONFIG.gnuCommon")
|
||||
filter_file(r"^\s*CCC\s*=.*", "CCC = " + spack_cxx, "configure/CONFIG.gnuCommon")
|
||||
|
||||
@property
|
||||
def install_targets(self):
|
||||
return ["INSTALL_LOCATION={0}".format(self.prefix), "install"]
|
||||
|
Loading…
Reference in New Issue
Block a user