Skip to content

Commit

Permalink
Avoid double slashes in compiler path
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrack committed Mar 7, 2023
1 parent 1dc108c commit 69bb553
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/toolchain/scripts/stage0/install_intel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ case "${with_intel}" in
;;
__SYSTEM__)
echo "==================== Finding Intel compiler from system paths ===================="
check_command icc "intel" && CC="$(command -v icc)" || exit 1
check_command icpc "intel" && CXX="$(command -v icpc)" || exit 1
check_command ifort "intel" && FC="$(command -v ifort)" || exit 1
check_command icc "intel" && CC="$(realpath $(command -v icx))" || exit 1
check_command icpc "intel" && CXX="$(realpath $(command -v icpx))" || exit 1
check_command ifort "intel" && FC="$(realpath $(command -v ifort))" || exit 1
F90="${FC}"
F77="${FC}"
;;
Expand Down

0 comments on commit 69bb553

Please sign in to comment.