summaryrefslogtreecommitdiffstats
path: root/config/toolchain/intel.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-02-02 17:41:24 (GMT)
committerGitHub <noreply@github.com>2023-02-02 17:41:24 (GMT)
commit09dfd53839eb8e42e0135b4ffcb74f994411764c (patch)
treeb712dace678ba042dbcf8333ba0658eab4b10861 /config/toolchain/intel.cmake
parentdeca29dc5acf16ed6931257e481c0faa79ae84f6 (diff)
downloadhdf5-09dfd53839eb8e42e0135b4ffcb74f994411764c.zip
hdf5-09dfd53839eb8e42e0135b4ffcb74f994411764c.tar.gz
hdf5-09dfd53839eb8e42e0135b4ffcb74f994411764c.tar.bz2
Update and fix compiler flags (#2427)
* Update and fix compiler flags * Update MAINFEST * Update tools test
Diffstat (limited to 'config/toolchain/intel.cmake')
-rw-r--r--config/toolchain/intel.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/config/toolchain/intel.cmake b/config/toolchain/intel.cmake
index ae1d2f8..5d19dd0 100644
--- a/config/toolchain/intel.cmake
+++ b/config/toolchain/intel.cmake
@@ -1,12 +1,12 @@
# Uncomment the following to use cross-compiling
#set(CMAKE_SYSTEM_NAME Linux)
-set(CMAKE_COMPILER_VENDOR "intel")
+set (CMAKE_COMPILER_VENDOR "intel")
-if(USE_SANITIZER)
- set(CMAKE_C_COMPILER icl)
- set(CMAKE_CXX_COMPILER icl++)
- set(CMAKE_Fortran_COMPILER ifort)
+if (USE_LLVM)
+ set(CMAKE_C_COMPILER icx)
+ set(CMAKE_CXX_COMPILER icpx)
+ set(CMAKE_Fortran_COMPILER ifx)
set(INTEL_CLANG ON)
else ()
set(CMAKE_C_COMPILER icc)