Skip to content

Commit 428a567

Browse files
authored
Merge branch 'main' into create-PR-and-sync
2 parents 281d495 + 2a11c57 commit 428a567

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

action.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ runs:
6262
compiler=${COMPILER:-gcc}
6363
platform=$(uname -s | tr '[:upper:]' '[:lower:]')
6464
65+
if [[ "$RUNNER_OS" == "macOS" ]] && [[ "$compiler" == "intel" ]]; then
66+
echo "Compiler 'intel' not supported on macOS, falling back to 'intel-classic'"
67+
compiler="intel-classic"
68+
fi
69+
6570
case $compiler in
6671
gcc)
6772
version=${VERSION:-13}
@@ -72,7 +77,7 @@ runs:
7277
install_intel $platform true ${{ inputs.install_mkl }}
7378
;;
7479
intel)
75-
version=${VERSION:-2023.2.0}
80+
version=${VERSION:-2024.0}
7681
install_intel $platform false ${{ inputs.install_mkl }}
7782
;;
7883
nvidia-hpc)

setup-fortran.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ install_intel_apt()
397397
fi
398398

399399
source /opt/intel/oneapi/setvars.sh
400-
400+
# these exports have been removed in later versions of the action?
401401
if $classic; then
402402
export FC="ifort"
403403
export CC="icc"
@@ -512,7 +512,8 @@ install_intel_dmg()
512512
rm m_HPCKit.dmg
513513

514514
source /opt/intel/oneapi/setvars.sh
515-
515+
516+
# these exports have been removed in later versions of the action?
516517
export FC="ifort"
517518
export CC="icc"
518519
export CXX="icpc"

0 commit comments

Comments
 (0)