Skip to content

Commit

Permalink
Workaround for ACTS config
Browse files Browse the repository at this point in the history
  • Loading branch information
pandreetto committed Feb 6, 2023
1 parent 4c3a32f commit 7cd4010
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ilcsoft/acts.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
from baseilc import BaseILC
from util import *

import os.path

class ACTS(BaseILC):
""" Responsible for the ACTS installation process. """

Expand Down Expand Up @@ -51,6 +53,11 @@ def compile(self):
if( os_system( "make install" ) != 0 ):
self.abort( "failed to install!!" )

patch_cmd = "sed -i -e 's|Boost 1.75.0 CONFIG EXACT|Boost 1.75.0 EXACT|g' %s"
file_to_patch = os.path.join(self.installPath, 'lib64', 'cmake', 'Acts', 'ActsConfig.cmake')
if( os_system(patch_cmd % file_to_patch) != 0 ):
print("Cannot patch file %s" % file_to_patch)

def writeEnv(self, f, checked):
if( self.name in checked ):
return
Expand Down

0 comments on commit 7cd4010

Please sign in to comment.