File tree Expand file tree Collapse file tree 6 files changed +14
-10
lines changed Expand file tree Collapse file tree 6 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,11 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
4242 string (REGEX REPLACE ".*(-.*)" "\\ 1" CMK_COMPILER_SUFFIX ${mytmp} )
4343 endif ()
4444elseif (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang" )
45- set (CMK_COMPILER clang)
45+ if (CMAKE_CXX_COMPILER MATCHES "(icpx)$" )
46+ set (CMK_COMPILER icx)
47+ else ()
48+ set (CMK_COMPILER clang)
49+ endif ()
4650 get_filename_component (mytmp ${CMAKE_CXX_COMPILER} NAME )
4751 if (mytmp MATCHES "-" )
4852 string (REGEX REPLACE ".*(-.*)" "\\ 1" CMK_COMPILER_SUFFIX ${mytmp} )
@@ -606,8 +610,8 @@ endif()
606610configure_file (src/arch/common/cc-bluegene.sh include / COPYONLY )
607611configure_file (src/arch/common/cc-clang.sh include / COPYONLY )
608612configure_file (src/arch/common/cc-clang.h include / COPYONLY )
609- configure_file (src/arch/common/cc-dpcpp .sh include / COPYONLY )
610- configure_file (src/arch/common/cc-dpcpp.h include / COPYONLY )
613+ configure_file (src/arch/common/cc-icx .sh include / COPYONLY )
614+ configure_file (src/arch/common/cc-icx.h include / COPYONLY )
611615configure_file (src/arch/common/cc-craycc.h include / COPYONLY )
612616configure_file (src/arch/common/cc-craycc.sh include / COPYONLY )
613617configure_file (src/arch/common/cc-msvc .h include / COPYONLY )
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ for more information:
173173
174174 will give:
175175
176- Supported compilers: clang craycc gcc icc iccstatic msvc pgcc xlc xlc64 dpcpp
176+ Supported compilers: clang craycc gcc icc iccstatic msvc pgcc xlc xlc64 icx
177177 Supported options: common cuda flang gfortran ifort local nolb omp ooc papi perftools persistent pgf90 pxshm smp syncft sysvshm tcp tsan
178178
179179
Original file line number Diff line number Diff line change @@ -226,9 +226,9 @@ function parse_platform_compilers() {
226226 opt_FC=flang
227227 opt_compiler+=(" $arg " )
228228 ;;
229- dpcpp )
229+ icx )
230230 opt_CC=icx
231- opt_CXX=dpcpp
231+ opt_CXX=icpx
232232 opt_compiler+=(" $arg " )
233233 ;;
234234 icc|iccstatic)
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ syntax() {
3636 ( cd " $src " ; ls -1 | egrep -v ' (^mpi$)|(^netlrts?$)|(^multicore$)|(^util$)|(^common$)|(^win$)|(^gni$)|(^pami(lrts)?$)|(^verbs$)|(^ofi$)|(^ucx$)|(^template$)|(^cuda$)' | pr -3 -t )
3737 echo ' '
3838 echo ' <options>: compiler and platform specific options'
39- echo ' icc iccstatic xlc xlc64 gcc clang dpcpp pgcc cc mpicxx'
39+ echo ' icc iccstatic xlc xlc64 gcc clang icx pgcc cc mpicxx'
4040 echo ' help smp omp tcp ooc syncft papi pthreads'
4141 echo ' --incdir --libdir --basedir --build-shared --destination --suffix -j'
4242 if test $more = 1
@@ -50,7 +50,7 @@ syntax() {
5050 echo ' xlc, xlc64 IBM XL compilers (with 64-bit option on architectures with 32-bit modes)'
5151 echo ' gcc GNU compiler collection (on platforms where the default differs)'
5252 echo ' clang Clang C/C++ compiler (including bgclang)'
53- echo ' dpcpp Intel oneAPI DPC++/C++ compiler'
53+ echo ' icx Intel oneAPI DPC++/C++ compiler'
5454 echo ' pgcc Portland Group compilers'
5555 echo ' '
5656 echo ' Choose an alternative fortran compiler (only one option is allowed from this section):'
File renamed without changes.
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ CMK_CPP_CHARM="cpp -P"
22CMK_CPP_C=" icx$CMK_COMPILER_SUFFIX "
33CMK_CC=" icx$CMK_COMPILER_SUFFIX "
44CMK_LD=" icx$CMK_COMPILER_SUFFIX "
5- CMK_CXX=" dpcpp $CMK_COMPILER_SUFFIX "
6- CMK_LDXX=" dpcpp $CMK_COMPILER_SUFFIX "
5+ CMK_CXX=" icpx $CMK_COMPILER_SUFFIX "
6+ CMK_LDXX=" icpx $CMK_COMPILER_SUFFIX "
77
88CMK_CPP_C_FLAGS=" -E"
99
You can’t perform that action at this time.
0 commit comments