Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] Add fastjet to ROOT_INCLUDE_PATH if FCCAnalyses is built against it #440

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/fccanalyses/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ def setup_build_environment(self, spack_env):

def setup_run_environment(self, spack_env):
spack_env.prepend_path('ROOT_INCLUDE_PATH', self.prefix.include.FCCAnalyses)
if self.spec.satisfies('@0.7:'):
spack_env.prepend_path('ROOT_INCLUDE_PATH', self.spec["fastjet"].prefix.include)
spack_env.prepend_path('PYTHONPATH', self.prefix.python)
# this should point to share/ by key4hep convention
# but we want to make it work with the tutorials
Expand Down