wmake: Added support for the new OneAPI Intel compiler
The icx and icpx Intel compilers are selected by WM_COMPILER=Icx These compilers are based on the Clang front-end and hence the configuration files are based on and nearly identical to those for Clang. Support for the new OneAPI compilers replaces the now deprecated Intel icc, icpc compilers.
This commit is contained in:
@ -13,4 +13,6 @@ ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $< -o $@
|
||||
LINK_LIBS = $(cDBUG)
|
||||
|
||||
LINKLIBSO = $(cc) -fuse-ld=bfd -shared
|
||||
LINKEXE = $(cc) -fuse-ld=bfd -Xlinker --add-needed -Xlinker -z -Xlinker nodefs
|
||||
|
||||
LINKEXE = $(cc) -fuse-ld=bfd \
|
||||
-Xlinker --add-needed -Xlinker -z -Xlinker nodefs
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
SUFFIXES += .C
|
||||
|
||||
c++WARN = -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter \
|
||||
-Wno-invalid-offsetof -Wno-attributes
|
||||
c++WARN = -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor \
|
||||
-Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes
|
||||
|
||||
# Suppress some warnings for flex++ and CGAL
|
||||
c++LESSWARN = -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds
|
||||
@ -12,7 +12,8 @@ include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)
|
||||
|
||||
ptFLAGS = -DNoRepository -ftemplate-depth-100
|
||||
|
||||
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC
|
||||
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) \
|
||||
$(LIB_HEADER_DIRS) -fPIC
|
||||
|
||||
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $< -o $@
|
||||
cxxtoo = $(Ctoo)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
c++DBUG =
|
||||
c++OPT = -O3
|
||||
c++OPT = -O3 -fno-tree-slp-vectorize
|
||||
|
||||
ROUNDING_MATH = -frounding-math
|
||||
|
||||
Reference in New Issue
Block a user