Skip to content
Snippets Groups Projects
Unverified Commit aac3799d authored by Patrick Gartung's avatar Patrick Gartung Committed by GitHub
Browse files

Unset SPACK_INCLUDE_DIRS so the compiler wrapper does not prepend any -I...

Unset SPACK_INCLUDE_DIRS so the compiler wrapper does not prepend any -I flags. The assumption is that cmake will set the correct include flags. (#11129)
parent db98f163
No related branches found
No related tags found
No related merge requests found
...@@ -463,6 +463,7 @@ def cmake_args(self): ...@@ -463,6 +463,7 @@ def cmake_args(self):
def setup_environment(self, spack_env, run_env): def setup_environment(self, spack_env, run_env):
run_env.prepend_path('PYTHONPATH', self.prefix.lib) run_env.prepend_path('PYTHONPATH', self.prefix.lib)
spack_env.set('SPACK_INCLUDE_DIRS', '')
def setup_dependent_environment(self, spack_env, run_env, dependent_spec): def setup_dependent_environment(self, spack_env, run_env, dependent_spec):
spack_env.set('ROOTSYS', self.prefix) spack_env.set('ROOTSYS', self.prefix)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment