@@ -44,11 +44,19 @@ description = """
4444
4545toolchain = SYSTEM
4646
47+ eessi_version = os .getenv ("EESSI_VERSION" ) or "2023.06"
48+
4749# All the dependencies we filter in EESSI
48- local_deps_to_filter = "Autoconf,Automake,Autotools,binutils,bzip2,DBus,flex,gettext,gperf,help2man,intltool,libreadline,libtool,M4,makeinfo,ncurses,ParMETIS,util-linux,XZ,zlib"
50+ local_deps_to_filter = "binutils,bzip2,DBus,flex,gettext,gperf,help2man,intltool,libreadline,libtool,makeinfo,ncurses,ParMETIS,util-linux,XZ,zlib"
51+
52+ # filter extra dependencies based on CPU family
4953local_arch_specific_deps_to_filter = {'aarch64' : ',Yasm' , 'riscv64' : ',Yasm' , 'x86_64' : '' }
5054local_deps_to_filter += local_arch_specific_deps_to_filter [ARCH ]
5155
56+ # only filter Autotools & co for EESSI 2023.06
57+ if eessi_version == '2023.06' :
58+ local_deps_to_filter += ",Autoconf,Automake,Autotools,libtool,M4"
59+
5260# Set the universal EasyBuild variables
5361modextravars = {
5462 'EASYBUILD_FILTER_DEPS' : local_deps_to_filter ,
@@ -209,7 +217,6 @@ if not ( isloaded("EasyBuild") ) then
209217 load(latest("EasyBuild"))
210218end
211219easybuild_version = os.getenv("EBVERSIONEASYBUILD") or easybuild_version
212- eessi_version = os.getenv("EESSI_VERSION") or "2023.06"
213220
214221-- Set environment variables that are EasyBuild version specific
215222-- Do unload unconditionally, so that even if EB versions were switched in the meantime, this gets unset
0 commit comments