Skip to content

Commit

Permalink
Merge pull request #835 from bedroge/eessi_extend_no_fixed_version
Browse files Browse the repository at this point in the history
Use `$EESSI_VERSION` for `EESSI-extend` version and filter Yasm dependency on RISC-V
  • Loading branch information
trz42 authored Dec 6, 2024
2 parents 770f66a + 2d02001 commit fa051a3
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
easyblock = 'Bundle'

name = 'EESSI-extend'
version = '2023.06'
import os
version = os.getenv('EESSI_VERSION', '2023.06')
# May have different ways to extend EESSI in future (manually, other tools,...)
versionsuffix = '-easybuild'

Expand Down Expand Up @@ -40,7 +41,7 @@ toolchain = SYSTEM

# All the dependencies we filter in EESSI
local_deps_to_filter = "Autoconf,Automake,Autotools,binutils,bzip2,DBus,flex,gettext,gperf,help2man,intltool,libreadline,libtool,M4,makeinfo,ncurses,util-linux,XZ,zlib"
local_arch_specific_deps_to_filter = {'aarch64': ',yasm', 'x86_64': ''}
local_arch_specific_deps_to_filter = {'aarch64': ',Yasm', 'riscv64': ',Yasm', 'x86_64': ''}
local_deps_to_filter += local_arch_specific_deps_to_filter[ARCH]

# Set the universal EasyBuild variables
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ easyconfigs:
- EasyBuild-4.9.1.eb:
options:
from-pr: 20299
- EESSI-extend-2023.06-easybuild.eb
- EESSI-extend-easybuild.eb
- EasyBuild-4.9.2.eb:
options:
from-pr: 20818
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# The module is an EasyBuild created module and therefore needs to be an allowed
# module when running EasyBuild
easyconfigs:
- EESSI-extend-2023.06-easybuild.eb
- EESSI-extend-easybuild.eb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# EESSI-extend did not support LMOD_EXACT_MATCH
# (see https://github.com/EESSI/software-layer/pull/747)
easyconfigs:
- EESSI-extend-2023.06-easybuild.eb
- EESSI-extend-easybuild.eb

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 2024.10.08
# EESSI-extend should use EESSI_SITE_INSTALLPATH, instead of recalculating this
easyconfigs:
- EESSI-extend-2023.06-easybuild.eb
- EESSI-extend-easybuild.eb

Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# EESSI-extend should adjust EASYBUILD_INSTALLPATH and set
# EASYBUILD_CUDA_COMPUTE_CAPABILITIES
easyconfigs:
- EESSI-extend-2023.06-easybuild.eb
- EESSI-extend-easybuild.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# 2024.12.06
# - Use $EESSI_VERSION to determine version of EESSI-extend module
# - Fix the filtered dependencies for aarch64: Yasm instead of yasm
# - Also add filtered dependencies for RISC-V
easyconfigs:
- EESSI-extend-easybuild.eb
2 changes: 1 addition & 1 deletion load_eessi_extend_module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ else
fail_msg="Installing EESSI-extend/${EESSI_EXTEND_VERSION} failed, that's not good... (output: ${eb_install_out})"
# while always adding --try-amend=keep... may do no harm, we could make
# an attempt to figure out if it is needed, e.g., when we are rebuilding
${EB} "EESSI-extend-${EESSI_EXTEND_VERSION}.eb" --try-amend=keeppreviousinstall=True 2>&1 | tee ${eb_install_out}
${EB} "EESSI-extend-easybuild.eb" --try-amend=keeppreviousinstall=True 2>&1 | tee ${eb_install_out}
check_exit_code $? "${ok_msg}" "${fail_msg}"
)

Expand Down

0 comments on commit fa051a3

Please sign in to comment.