mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Corrected the setting of WM_COMPILER and renamed I32 and I64 to Icc.
This commit is contained in:
3
wmake/rules/linuxIcc/X
Normal file
3
wmake/rules/linuxIcc/X
Normal file
@ -0,0 +1,3 @@
|
||||
XFLAGS =
|
||||
XINC = $(XFLAGS) -I/usr/X11R6/include
|
||||
XLIBS = -L/usr/X11R6/lib -lXext -lX11
|
||||
16
wmake/rules/linuxIcc/c
Normal file
16
wmake/rules/linuxIcc/c
Normal file
@ -0,0 +1,16 @@
|
||||
.SUFFIXES: .c .h
|
||||
|
||||
cWARN =
|
||||
|
||||
cc = icc -gcc-version=400
|
||||
|
||||
include $(RULES)/c$(WM_COMPILE_OPTION)
|
||||
|
||||
cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -KPIC
|
||||
|
||||
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@
|
||||
|
||||
LINK_LIBS = $(cDBUG) -L$(IA32ROOT)/lib
|
||||
|
||||
LINKLIBSO = $(cc) $(cFLAGS) -shared
|
||||
LINKEXE = $(cc) $(cFLAGS)
|
||||
23
wmake/rules/linuxIcc/c++
Normal file
23
wmake/rules/linuxIcc/c++
Normal file
@ -0,0 +1,23 @@
|
||||
.SUFFIXES: .C .cxx .cc .cpp
|
||||
|
||||
c++WARN = -wd654,819,1125,1476,1505,1572
|
||||
|
||||
#CC = icpc -gcc-version=400
|
||||
CC = icpc
|
||||
|
||||
include $(RULES)/c++$(WM_COMPILE_OPTION)
|
||||
|
||||
ptFLAGS = -DNoRepository
|
||||
|
||||
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -KPIC
|
||||
|
||||
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@
|
||||
cxxtoo = $(Ctoo)
|
||||
cctoo = $(Ctoo)
|
||||
cpptoo = $(Ctoo)
|
||||
|
||||
#LINK_LIBS = $(c++DBUG) -lstdc++
|
||||
LINK_LIBS = $(c++DBUG) -L$(IA32ROOT)/lib
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -shared
|
||||
LINKEXE = $(CC) $(c++FLAGS)
|
||||
2
wmake/rules/linuxIcc/c++Debug
Normal file
2
wmake/rules/linuxIcc/c++Debug
Normal file
@ -0,0 +1,2 @@
|
||||
c++DBUG = -g -DFULLDEBUG -O0
|
||||
c++OPT =
|
||||
5
wmake/rules/linuxIcc/c++Opt
Normal file
5
wmake/rules/linuxIcc/c++Opt
Normal file
@ -0,0 +1,5 @@
|
||||
c++DBUG =
|
||||
#c++OPT = -O3 -xP -no-prec-div
|
||||
c++OPT = -ansi-alias -O3 -ftz -fno-alias \
|
||||
-fargument-noalias-global \
|
||||
-unroll0
|
||||
2
wmake/rules/linuxIcc/c++Prof
Normal file
2
wmake/rules/linuxIcc/c++Prof
Normal file
@ -0,0 +1,2 @@
|
||||
c++DBUG = -pg
|
||||
c++OPT = -O2
|
||||
2
wmake/rules/linuxIcc/cDebug
Normal file
2
wmake/rules/linuxIcc/cDebug
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG = -g -DFULLDEBUG -O0
|
||||
cOPT =
|
||||
2
wmake/rules/linuxIcc/cOpt
Normal file
2
wmake/rules/linuxIcc/cOpt
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG =
|
||||
cOPT = -O3 -no-prec-div
|
||||
2
wmake/rules/linuxIcc/cProf
Normal file
2
wmake/rules/linuxIcc/cProf
Normal file
@ -0,0 +1,2 @@
|
||||
cDBUG = -pg
|
||||
cOPT = -O2
|
||||
BIN
wmake/rules/linuxIcc/dirToString
Executable file
BIN
wmake/rules/linuxIcc/dirToString
Executable file
Binary file not shown.
10
wmake/rules/linuxIcc/general
Normal file
10
wmake/rules/linuxIcc/general
Normal file
@ -0,0 +1,10 @@
|
||||
CPP = /lib/cpp $(GFLAGS)
|
||||
LD = ld -melf_i386
|
||||
|
||||
PROJECT_LIBS = -l$(WM_PROJECT) -liberty -ldl
|
||||
|
||||
include $(GENERAL_RULES)/standard
|
||||
|
||||
include $(RULES)/X
|
||||
include $(RULES)/c
|
||||
include $(RULES)/c++
|
||||
3
wmake/rules/linuxIcc/mplib
Normal file
3
wmake/rules/linuxIcc/mplib
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC =
|
||||
PLIBS =
|
||||
3
wmake/rules/linuxIcc/mplibLAM
Normal file
3
wmake/rules/linuxIcc/mplibLAM
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(LAM_ARCH_PATH)/include
|
||||
PLIBS = -L$(LAM_ARCH_PATH)/lib -lmpi -llam -lutil
|
||||
3
wmake/rules/linuxIcc/mplibMPICH
Normal file
3
wmake/rules/linuxIcc/mplibMPICH
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(MPICH_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPICH_ARCH_PATH)/lib -lmpich -lrt
|
||||
3
wmake/rules/linuxIcc/mplibOPENMPI
Normal file
3
wmake/rules/linuxIcc/mplibOPENMPI
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS = -DOMPI_SKIP_MPICXX
|
||||
PINC = -I$(OPENMPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(OPENMPI_ARCH_PATH)/lib -lmpi
|
||||
Reference in New Issue
Block a user