Skip to content

Commit

Permalink
Make root build and install
Browse files Browse the repository at this point in the history
minuit2 has been removed as option from ROOT in 6.32 (deprecated in
6.30)
  • Loading branch information
tmadlener committed Nov 11, 2024
1 parent 6e816a0 commit 73a3f12
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 @@ -113,9 +113,9 @@ def compile(self):
if Version(self.version) < "6.30":
self.envcmake.setdefault( 'gsl_shared', 'ON' )
self.envcmake.setdefault( 'builtin_gsl', 'OFF' ) # we provide GSL, don't recompile it !
self.envcmake.setdefault( 'minuit2', 'ON' )

self.envcmake.setdefault( 'gdml', '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 73a3f12

Please sign in to comment.