Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use $EESSI_VERSION for EESSI-extend version and filter Yasm dependency on RISC-V #835

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading