mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 22:25:32 -04:00
Avoid double slashes in compiler path
This commit is contained in:
parent
1dc108cb20
commit
69bb5539cc
1 changed files with 3 additions and 3 deletions
|
|
@ -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}"
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue