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
This commit is contained in:
parent
f7736ddfc0
commit
4e5d4909c0
@ -601,6 +601,9 @@ def setup_run_environment(self, env):
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user