Skip to content

Commit

Permalink
Make root build and install
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Nov 11, 2024
1 parent 8b0da2b commit d2587f3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions ilcsoft/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def compile(self):
self.envcmake.setdefault( 'builtin_gsl', 'OFF' ) # we provide GSL, don't recompile it !

self.envcmake.setdefault( 'gdml', 'ON' )
self.envcmake.setdefault( 'minuit2', 'ON' )
# self.envcmake.setdefault( 'minuit2', 'ON' )
self.envcmake.setdefault( 'roofit', 'ON' )
self.envcmake.setdefault( 'unuran', 'ON' )
self.envcmake.setdefault( 'xrootd', 'ON' )
Expand All @@ -138,9 +138,12 @@ def compile(self):
# Need to symlink two cmake scripts that are not installed properly
# otherwise and would break packages that depend on ROOT
for mod in ['RootMacros.cmake', 'RootTestDriver.cmake']:
link_path = os.path.join(self.installPath, 'cmake', mod)
src = os.path.join(self.installPath, 'cmake', 'modules', mod)
os.symlink(src, link_path)
try:
link_path = os.path.join(self.installPath, 'cmake', mod)
src = os.path.join(self.installPath, 'cmake', 'modules', mod)
os.symlink(src, link_path)
except FileExistsError:
pass

def postCheckDeps(self):
BaseILC.postCheckDeps(self)
Expand Down

0 comments on commit d2587f3

Please sign in to comment.