mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
27 lines
786 B
Plaintext
27 lines
786 B
Plaintext
#------------------------------------------------------------------------------
|
|
# Intel compiler
|
|
#------------------------------------------------------------------------------
|
|
SUFFIXES += .C .cc .cpp .cxx
|
|
|
|
CC := icpc$(COMPILER_VERSION) -std=c++17
|
|
|
|
c++ARCH :=
|
|
c++DBUG :=
|
|
c++OPT := -O2
|
|
ptFLAGS := -DNoRepository
|
|
|
|
c++WARN = \
|
|
-Wall -Wextra \
|
|
-Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof \
|
|
-Wno-unknown-pragmas \
|
|
-diag-disable 327,654,1125,1292,2289,2304,11062,11074,11076
|
|
|
|
# Less restrictive warnings (eg, for flex++, CGAL, etc.)
|
|
c++LESSWARN = \
|
|
-diag-disable 1224,2026,2305
|
|
|
|
# Tuning
|
|
sinclude $(GENERAL_RULES)/common/c++$(WM_COMPILE_OPTION)
|
|
|
|
#------------------------------------------------------------------------------
|