Skip to content

Commit 28af25e

Browse files
authored
Merge pull request #218 from casparvl/make_eessi_extend_use_amd_gpu_installpath
2 parents b6812e5 + d1669b1 commit 28af25e

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)