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:
Valentin Volkl 2022-08-15 15:34:15 +02:00 committed by GitHub
parent f7736ddfc0
commit 4e5d4909c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)