You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: init/eessi_archdetect.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -275,11 +275,11 @@ accelpath() {
275
275
log "DEBUG""accelpath: Override variable set as '$EESSI_ACCELERATOR_TARGET_OVERRIDE' "
276
276
if [ !-z$EESSI_ACCELERATOR_TARGET_OVERRIDE ];then
277
277
# Updated regex to allow both NVIDIA and AMD overrides
278
-
if [[ "$EESSI_ACCELERATOR_TARGET_OVERRIDE"=~ ^accel/(nvidia/cc[0-9]+|amd/gfx[0-9a-z]+)$ ]];then
278
+
if [[ "$EESSI_ACCELERATOR_TARGET_OVERRIDE"=~ ^accel/(nvidia/cc[0-9]+|amd/gfx[0-9a-f]+)$ ]];then
279
279
echo"$EESSI_ACCELERATOR_TARGET_OVERRIDE"
280
280
return 0
281
281
else
282
-
log "ERROR""Value of \$EESSI_ACCELERATOR_TARGET_OVERRIDE should match 'accel/nvidia/cc[0-9]+' or 'accel/amd/gfx[0-9a-z]+', but it does not: '$EESSI_ACCELERATOR_TARGET_OVERRIDE'"
282
+
log "ERROR""Value of \$EESSI_ACCELERATOR_TARGET_OVERRIDE should match 'accel/nvidia/cc[0-9]+' or 'accel/amd/gfx[0-9a-f]+', but it does not: '$EESSI_ACCELERATOR_TARGET_OVERRIDE'"
0 commit comments