Skip to content

Commit

Permalink
Handle custom prefix in dev.eessi.io
Browse files Browse the repository at this point in the history
  • Loading branch information
Neves-P committed Nov 29, 2024
1 parent e126f78 commit 5a7012c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bot/check-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,12 @@ if [[ ! -z ${TARBALL} ]]; then
accelerator=$(cfg_get_value "architecture" "accelerator")
prefix="${repo_version}/software/${os_type}/${software_subdir}"

# if building for dev.eessi.io is set, the prefix is different
# it needs the project name in the path
if [ ! -z ${EESSI_DEV_PROJECT} ]; then
prefix="${repo_version}/${EESSI_DEV_PROJECT}/software/${os_type}/${software_subdir}"
fi

# if we build for an accelerator, the prefix is different
if [[ ! -z ${accelerator} ]]; then
prefix="${prefix}/accel/${accelerator}"
Expand Down

0 comments on commit 5a7012c

Please sign in to comment.