Skip to content

Commit 2a11c57

Browse files
authored
fix(macOS/intel): fallback to intel-classic, bump default intel version (#70)
* fall back to intel-classic on macOS if intel selected * README suggested we already did this but evidently not * also, bump default intel version to 2024.0
1 parent 9e5ecae commit 2a11c57

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

action.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ runs:
5757
compiler=${COMPILER:-gcc}
5858
platform=$(uname -s | tr '[:upper:]' '[:lower:]')
5959
60+
if [[ "$RUNNER_OS" == "macOS" ]] && [[ "$compiler" == "intel" ]]; then
61+
echo "Compiler 'intel' not supported on macOS, falling back to 'intel-classic'"
62+
compiler="intel-classic"
63+
fi
64+
6065
case $compiler in
6166
gcc)
6267
version=${VERSION:-13}
@@ -67,7 +72,7 @@ runs:
6772
install_intel $platform true
6873
;;
6974
intel)
70-
version=${VERSION:-2023.2.0}
75+
version=${VERSION:-2024.0}
7176
install_intel $platform false
7277
;;
7378
nvidia-hpc)

0 commit comments

Comments
 (0)