summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Volkl <valentin.volkl@cern.ch>2022-08-15 15:34:15 +0200
committerGitHub <noreply@github.com>2022-08-15 09:34:15 -0400
commit4e5d4909c06fd690d8930cf7359b909269219026 (patch)
tree3a784d8beafe4d5104690f79de7504e960d78815
parentf7736ddfc0abd98ed28bc4f7e78dec181f87d476 (diff)
downloadspack-4e5d4909c06fd690d8930cf7359b909269219026.tar.gz
spack-4e5d4909c06fd690d8930cf7359b909269219026.tar.bz2
spack-4e5d4909c06fd690d8930cf7359b909269219026.tar.xz
spack-4e5d4909c06fd690d8930cf7359b909269219026.zip
root: set CLING_STANDARD_PCH as in thisroot.sh (#32095)
* root: set CLING_STANDARD_PCH as in thisroot.sh * root: also set CPPYY_API_PATH
-rw-r--r--var/spack/repos/builtin/packages/root/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/root/package.py b/var/spack/repos/builtin/packages/root/package.py
index ff87307f30..142f68243d 100644
--- a/var/spack/repos/builtin/packages/root/package.py
+++ b/var/spack/repos/builtin/packages/root/package.py
@@ -601,6 +601,9 @@ class Root(CMakePackage):
env.set("ROOTSYS", self.prefix)
env.set("ROOT_VERSION", "v{0}".format(self.version.up_to(1)))
env.prepend_path("PYTHONPATH", self.prefix.lib.root)
+ # the following vars are copied from thisroot.sh; silence a cppyy warning
+ env.set("CLING_STANDARD_PCH", "none")
+ env.set("CPPYY_API_PATH", "none")
def setup_dependent_build_environment(self, env, dependent_spec):
env.set("ROOTSYS", self.prefix)