Skip to content

Commit 557f326

Browse files
committed
only filter Autotools & co (build) dependencies for EESSI 2023.06
1 parent aa99eae commit 557f326

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

EESSI-extend-easybuild.eb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,19 @@ description = """
4444

4545
toolchain = 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
4953
local_arch_specific_deps_to_filter = {'aarch64': ',Yasm', 'riscv64': ',Yasm', 'x86_64': ''}
5054
local_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
5361
modextravars = {
5462
'EASYBUILD_FILTER_DEPS': local_deps_to_filter,
@@ -209,7 +217,6 @@ if not ( isloaded("EasyBuild") ) then
209217
load(latest("EasyBuild"))
210218
end
211219
easybuild_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

Comments
 (0)