Skip to content

Commit 0923a88

Browse files
author
Caspar van Leeuwen
committed
Make sure the accelerator installpath also gets set if amd capabilities are defined
1 parent 45febac commit 0923a88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

EESSI-extend-easybuild.eb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ if eessi_cvmfs_install then
134134
end
135135
easybuild_installpath = os.getenv("EESSI_SOFTWARE_PATH")
136136
-- enforce accelerator subdirectory usage for CVMFS installs (only if an accelerator install is requested)
137-
if (eessi_accelerator_target ~= nil) and (cuda_compute_capability ~= nil) and (os.getenv("EESSI_ACCELERATOR_INSTALL") ~= nil) then
137+
if (eessi_accelerator_target ~= nil) and (cuda_compute_capability ~= nil or amd_compute_capability ~= nil) and (os.getenv("EESSI_ACCELERATOR_INSTALL") ~= nil) then
138138
easybuild_installpath = pathJoin(easybuild_installpath, eessi_accelerator_target)
139139
end
140140
elseif eessi_site_install then

0 commit comments

Comments
 (0)