Skip to content
Closed
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
7 changes: 7 additions & 0 deletions scripts/available_software/available_software.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from functools import cmp_to_key

EESSI_TOPDIR = "/cvmfs/software.eessi.io/versions/2023.06"
EESSI_TOPDIR_RISCV = "/cvmfs/riscv.eessi.io/versions/20240402"

# some CPU targets are excluded for now, because software layer is too incomplete currently
EXCLUDE_CPU_TARGETS = []
Expand Down Expand Up @@ -208,9 +209,15 @@ def targets_eessi() -> np.ndarray:
sys.stderr.write(f"ERROR: {EESSI_TOPDIR} does not exist!\n")
sys.exit(1)

if not os.path.exists(EESSI_TOPDIR_RISCV):
sys.stderr.write(f"ERROR: {EESSI_TOPDIR_RISCV} does not exist!\n")
sys.exit(1)

commands = [
f"find {EESSI_TOPDIR}/software/linux/*/* -maxdepth 0 \\( ! -name 'intel' -a ! "
"-name 'amd' -a ! -name 'nvidia' \\) -type d",
f"find {EESSI_TOPDIR_RISCV}/software/linux/*/* -maxdepth 0 \\( ! -name 'intel' -a ! "
"-name 'amd' -a ! -name 'nvidia' \\) -type d",
f'find {EESSI_TOPDIR}/software/linux/*/{{amd,intel,nvidia}}/* -maxdepth 0 -type d'
]
targets = np.array([])
Expand Down
Loading