@@ -1109,29 +1109,6 @@ def pre_configure_hook_score_p(self, *args, **kwargs):
11091109 else :
11101110 raise EasyBuildError ("Score-P-specific hook triggered for non-Score-P easyconfig?!" )
11111111
1112- def pre_configure_hook_dyninst (self , * args , ** kwargs ):
1113- """
1114- Pre-configure hook for Dyninst
1115- - specify correct path to binutils (in compat layer)
1116- """
1117- if self .name == 'Dyninst' :
1118-
1119- # determine path to Prefix installation in compat layer via $EPREFIX
1120- eprefix = get_eessi_envvar ('EPREFIX' )
1121-
1122- binutils_lib_path_glob_pattern = os .path .join (eprefix , 'usr' , 'lib*' , 'binutils' , '*-linux-gnu' , '2.*' )
1123- binutils_lib_path = glob .glob (binutils_lib_path_glob_pattern )
1124- if len (binutils_lib_path ) == 1 :
1125- print_msg ("Defining LibIberty variables for Dyninst..." )
1126- self .cfg .update ('configopts' , '-DLibIberty_ROOT_DIR=' + binutils_lib_path [0 ])
1127- self .cfg .update ('configopts' , '-DLibIberty_INCLUDE_DIRS=' + os .path .join (binutils_lib_path [0 ], 'include' ))
1128- self .cfg .update ('configopts' , '-DLibIberty_LIBRARIES=' + binutils_lib_path [0 ])
1129- else :
1130- raise EasyBuildError ("Failed to isolate path for binutils libraries using %s, got %s" ,
1131- binutils_lib_path_glob_pattern , binutils_lib_path )
1132-
1133- else :
1134- raise EasyBuildError ("Dyninst-specific hook triggered for non-Dyninst easyconfig?!" )
11351112
11361113def pre_configure_hook_extrae (self , * args , ** kwargs ):
11371114 """
@@ -2010,7 +1987,6 @@ def pre_run_shell_cmd_hook(cmd, work_dir=None, **kwargs):
20101987 'WRF' : pre_configure_hook_wrf_aarch64 ,
20111988 'LAMMPS' : pre_configure_hook_LAMMPS_zen4_and_aarch64_cuda ,
20121989 'Score-P' : pre_configure_hook_score_p ,
2013- 'Dyninst' : pre_configure_hook_dyninst ,
20141990 'CMake' : pre_configure_hook_cmake_system ,
20151991}
20161992
0 commit comments