Skip to content
Snippets Groups Projects
Commit 8c9a9309 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing detection of gcc

parent 5fd5804b
No related branches found
No related tags found
No related merge requests found
......@@ -223,8 +223,16 @@ function detect_compiler()
gpp_clang
fi
dgc_ret=1
else
elif [ $gpp_found -eq 1 ]; then
gpp_clang
elif [ $icpc_found -eq 1 ]; then
CXX=icpc
CC=icc
F77=ifort
FC=ifort
dgc_compiler=icpc
else
echo "No compiler found"
fi
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment