Added new compilers
This commit is contained in:
parent
ba56c65739
commit
8806f282ec
42 changed files with 214 additions and 0 deletions
2
wmake/rules/linux64Gcc47/ARCHITECTURE_TESTED
Normal file
2
wmake/rules/linux64Gcc47/ARCHITECTURE_TESTED
Normal file
|
@ -0,0 +1,2 @@
|
|||
by bgschaid. 2010-10-06 on Centos 5.5 with gcc 4.1
|
||||
|
3
wmake/rules/linux64Gcc47/X
Normal file
3
wmake/rules/linux64Gcc47/X
Normal file
|
@ -0,0 +1,3 @@
|
|||
XFLAGS =
|
||||
XINC = $(XFLAGS) -I/usr/X11R6/include
|
||||
XLIBS = -L/usr/X11R6/lib64 -lXext -lX11
|
16
wmake/rules/linux64Gcc47/c
Normal file
16
wmake/rules/linux64Gcc47/c
Normal file
|
@ -0,0 +1,16 @@
|
|||
.SUFFIXES: .c .h
|
||||
|
||||
cWARN = -Wall
|
||||
|
||||
cc = gcc -m64
|
||||
|
||||
include $(RULES)/c$(WM_COMPILE_OPTION)
|
||||
|
||||
cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
|
||||
|
||||
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@
|
||||
|
||||
LINK_LIBS = $(cDBUG)
|
||||
|
||||
LINKLIBSO = $(cc) -shared
|
||||
LINKEXE = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs
|
21
wmake/rules/linux64Gcc47/c++
Normal file
21
wmake/rules/linux64Gcc47/c++
Normal file
|
@ -0,0 +1,21 @@
|
|||
.SUFFIXES: .C .cxx .cc .cpp
|
||||
|
||||
c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor
|
||||
|
||||
CC = g++ -m64
|
||||
|
||||
include $(RULES)/c++$(WM_COMPILE_OPTION)
|
||||
|
||||
ptFLAGS = -DNoRepository -ftemplate-depth-200
|
||||
|
||||
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC
|
||||
|
||||
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@
|
||||
cxxtoo = $(Ctoo)
|
||||
cctoo = $(Ctoo)
|
||||
cpptoo = $(Ctoo)
|
||||
|
||||
LINK_LIBS = $(c++DBUG) -lrt
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed
|
||||
LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed
|
2
wmake/rules/linux64Gcc47/c++Debug
Normal file
2
wmake/rules/linux64Gcc47/c++Debug
Normal file
|
@ -0,0 +1,2 @@
|
|||
c++DBUG = -ggdb3 -DFULLDEBUG
|
||||
c++OPT = -O0 -fdefault-inline
|
4
wmake/rules/linux64Gcc47/c++Opt
Normal file
4
wmake/rules/linux64Gcc47/c++Opt
Normal file
|
@ -0,0 +1,4 @@
|
|||
c++DBUG =
|
||||
c++OPT = -O3
|
||||
#c++OPT = -march=nocona -O3
|
||||
# -ftree-vectorize -ftree-vectorizer-verbose=3
|
2
wmake/rules/linux64Gcc47/c++Prof
Normal file
2
wmake/rules/linux64Gcc47/c++Prof
Normal file
|
@ -0,0 +1,2 @@
|
|||
c++DBUG = -pg
|
||||
c++OPT = -O2
|
2
wmake/rules/linux64Gcc47/cDebug
Normal file
2
wmake/rules/linux64Gcc47/cDebug
Normal file
|
@ -0,0 +1,2 @@
|
|||
cDBUG = -ggdb -DFULLDEBUG
|
||||
cOPT = -O1 -fdefault-inline -finline-functions
|
2
wmake/rules/linux64Gcc47/cOpt
Normal file
2
wmake/rules/linux64Gcc47/cOpt
Normal file
|
@ -0,0 +1,2 @@
|
|||
cDBUG =
|
||||
cOPT = -O3
|
2
wmake/rules/linux64Gcc47/cProf
Normal file
2
wmake/rules/linux64Gcc47/cProf
Normal file
|
@ -0,0 +1,2 @@
|
|||
cDBUG = -pg
|
||||
cOPT = -O2
|
11
wmake/rules/linux64Gcc47/general
Normal file
11
wmake/rules/linux64Gcc47/general
Normal file
|
@ -0,0 +1,11 @@
|
|||
CPP = cpp -traditional-cpp
|
||||
LD = ld
|
||||
|
||||
PROJECT_LIBS = -l$(WM_PROJECT) -liberty -ldl
|
||||
|
||||
include $(GENERAL_RULES)/standard
|
||||
|
||||
include $(RULES)/X
|
||||
include $(RULES)/c
|
||||
include $(RULES)/c++
|
||||
include $(RULES)/nvcc
|
3
wmake/rules/linux64Gcc47/mplib
Normal file
3
wmake/rules/linux64Gcc47/mplib
Normal file
|
@ -0,0 +1,3 @@
|
|||
PFLAGS =
|
||||
PINC =
|
||||
PLIBS =
|
3
wmake/rules/linux64Gcc47/mplibGAMMA
Normal file
3
wmake/rules/linux64Gcc47/mplibGAMMA
Normal file
|
@ -0,0 +1,3 @@
|
|||
PFLAGS =
|
||||
PINC = -I$(MPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lgamma
|
3
wmake/rules/linux64Gcc47/mplibHPMPI
Normal file
3
wmake/rules/linux64Gcc47/mplibHPMPI
Normal file
|
@ -0,0 +1,3 @@
|
|||
PFLAGS =
|
||||
PINC = -I$(MPI_ARCH_PATH)/include -D_MPICC_H
|
||||
PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_amd64 -lmpi
|
3
wmake/rules/linux64Gcc47/mplibMPICH
Normal file
3
wmake/rules/linux64Gcc47/mplibMPICH
Normal file
|
@ -0,0 +1,3 @@
|
|||
PFLAGS =
|
||||
PINC = -I$(MPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich
|
3
wmake/rules/linux64Gcc47/mplibMPICH-GM
Normal file
3
wmake/rules/linux64Gcc47/mplibMPICH-GM
Normal file
|
@ -0,0 +1,3 @@
|
|||
PFLAGS =
|
||||
PINC = -I$(MPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -L$(GM_LIB_PATH) -lgm
|
0
wmake/rules/linux64Gcc47/mplibMVAPICH2
Normal file
0
wmake/rules/linux64Gcc47/mplibMVAPICH2
Normal file
3
wmake/rules/linux64Gcc47/mplibOPENMPI
Normal file
3
wmake/rules/linux64Gcc47/mplibOPENMPI
Normal file
|
@ -0,0 +1,3 @@
|
|||
PFLAGS = -DOMPI_SKIP_MPICXX
|
||||
PINC = -I$(MPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi
|
4
wmake/rules/linux64Gcc47/mplibQSMPI
Normal file
4
wmake/rules/linux64Gcc47/mplibQSMPI
Normal file
|
@ -0,0 +1,4 @@
|
|||
PFLAGS =
|
||||
PINC = -I$(MPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi
|
||||
|
1
wmake/rules/linux64Gcc47/mplibSYSTEMOPENMPI
Normal file
1
wmake/rules/linux64Gcc47/mplibSYSTEMOPENMPI
Normal file
|
@ -0,0 +1 @@
|
|||
PFLAGS = -DOMPI_SKIP_MPICXX
|
17
wmake/rules/linux64Gcc47/nvcc
Normal file
17
wmake/rules/linux64Gcc47/nvcc
Normal file
|
@ -0,0 +1,17 @@
|
|||
.SUFFIXES: .cu
|
||||
|
||||
NVCC = nvcc -m64 -arch $(CUDA_ARCH)
|
||||
|
||||
NVCC_ptFLAGS = -DNoRepository
|
||||
|
||||
NVCC_FLAGS = $(NVCC_ptFLAGS) -Xcompiler -fPIC $(LIB_HEADER_DIRS) $(GFLAGS) $(c++OPT) $(c++DBUG)
|
||||
|
||||
cutoo = $(WM_SCHEDULER) $(NVCC) $(NVCC_FLAGS) -c $$SOURCE -o $@
|
||||
|
||||
LINK_LIBS = $(c++DBUG)
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed
|
||||
LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed
|
||||
|
||||
.cu.dep:
|
||||
$(MAKE_DEP)
|
2
wmake/rules/linux64Gcc49/ARCHITECTURE_TESTED
Normal file
2
wmake/rules/linux64Gcc49/ARCHITECTURE_TESTED
Normal file
|
@ -0,0 +1,2 @@
|
|||
by bgschaid. 2010-10-06 on Centos 5.5 with gcc 4.1
|
||||
|
3
wmake/rules/linux64Gcc49/X
Normal file
3
wmake/rules/linux64Gcc49/X
Normal file
|
@ -0,0 +1,3 @@
|
|||
XFLAGS =
|
||||
XINC = $(XFLAGS) -I/usr/X11R6/include
|
||||
XLIBS = -L/usr/X11R6/lib64 -lXext -lX11
|
16
wmake/rules/linux64Gcc49/c
Normal file
16
wmake/rules/linux64Gcc49/c
Normal file
|
@ -0,0 +1,16 @@
|
|||
.SUFFIXES: .c .h
|
||||
|
||||
cWARN = -Wall
|
||||
|
||||
cc = gcc -m64
|
||||
|
||||
include $(RULES)/c$(WM_COMPILE_OPTION)
|
||||
|
||||
cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
|
||||
|
||||
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@
|
||||
|
||||
LINK_LIBS = $(cDBUG)
|
||||
|
||||
LINKLIBSO = $(cc) -shared
|
||||
LINKEXE = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs
|
21
wmake/rules/linux64Gcc49/c++
Normal file
21
wmake/rules/linux64Gcc49/c++
Normal file
|
@ -0,0 +1,21 @@
|
|||
.SUFFIXES: .C .cxx .cc .cpp
|
||||
|
||||
c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor
|
||||
|
||||
CC = g++ -m64
|
||||
|
||||
include $(RULES)/c++$(WM_COMPILE_OPTION)
|
||||
|
||||
ptFLAGS = -DNoRepository -ftemplate-depth-200
|
||||
|
||||
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC
|
||||
|
||||
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@
|
||||
cxxtoo = $(Ctoo)
|
||||
cctoo = $(Ctoo)
|
||||
cpptoo = $(Ctoo)
|
||||
|
||||
LINK_LIBS = $(c++DBUG) -lrt
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed
|
||||
LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed
|
2
wmake/rules/linux64Gcc49/c++Debug
Normal file
2
wmake/rules/linux64Gcc49/c++Debug
Normal file
|
@ -0,0 +1,2 @@
|
|||
c++DBUG = -ggdb3 -DFULLDEBUG
|
||||
c++OPT = -O0 -fdefault-inline
|
4
wmake/rules/linux64Gcc49/c++Opt
Normal file
4
wmake/rules/linux64Gcc49/c++Opt
Normal file
|
@ -0,0 +1,4 @@
|
|||
c++DBUG =
|
||||
c++OPT = -O3
|
||||
#c++OPT = -march=nocona -O3
|
||||
# -ftree-vectorize -ftree-vectorizer-verbose=3
|
2
wmake/rules/linux64Gcc49/c++Prof
Normal file
2
wmake/rules/linux64Gcc49/c++Prof
Normal file
|
@ -0,0 +1,2 @@
|
|||
c++DBUG = -pg
|
||||
c++OPT = -O2
|
2
wmake/rules/linux64Gcc49/cDebug
Normal file
2
wmake/rules/linux64Gcc49/cDebug
Normal file
|
@ -0,0 +1,2 @@
|
|||
cDBUG = -ggdb -DFULLDEBUG
|
||||
cOPT = -O1 -fdefault-inline -finline-functions
|
2
wmake/rules/linux64Gcc49/cOpt
Normal file
2
wmake/rules/linux64Gcc49/cOpt
Normal file
|
@ -0,0 +1,2 @@
|
|||
cDBUG =
|
||||
cOPT = -O3
|
2
wmake/rules/linux64Gcc49/cProf
Normal file
2
wmake/rules/linux64Gcc49/cProf
Normal file
|
@ -0,0 +1,2 @@
|
|||
cDBUG = -pg
|
||||
cOPT = -O2
|
11
wmake/rules/linux64Gcc49/general
Normal file
11
wmake/rules/linux64Gcc49/general
Normal file
|
@ -0,0 +1,11 @@
|
|||
CPP = cpp -traditional-cpp
|
||||
LD = ld
|
||||
|
||||
PROJECT_LIBS = -l$(WM_PROJECT) -liberty -ldl
|
||||
|
||||
include $(GENERAL_RULES)/standard
|
||||
|
||||
include $(RULES)/X
|
||||
include $(RULES)/c
|
||||
include $(RULES)/c++
|
||||
include $(RULES)/nvcc
|
3
wmake/rules/linux64Gcc49/mplib
Normal file
3
wmake/rules/linux64Gcc49/mplib
Normal file
|
@ -0,0 +1,3 @@
|
|||
PFLAGS =
|
||||
PINC =
|
||||
PLIBS =
|
3
wmake/rules/linux64Gcc49/mplibGAMMA
Normal file
3
wmake/rules/linux64Gcc49/mplibGAMMA
Normal file
|
@ -0,0 +1,3 @@
|
|||
PFLAGS =
|
||||
PINC = -I$(MPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lgamma
|
3
wmake/rules/linux64Gcc49/mplibHPMPI
Normal file
3
wmake/rules/linux64Gcc49/mplibHPMPI
Normal file
|
@ -0,0 +1,3 @@
|
|||
PFLAGS =
|
||||
PINC = -I$(MPI_ARCH_PATH)/include -D_MPICC_H
|
||||
PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_amd64 -lmpi
|
3
wmake/rules/linux64Gcc49/mplibMPICH
Normal file
3
wmake/rules/linux64Gcc49/mplibMPICH
Normal file
|
@ -0,0 +1,3 @@
|
|||
PFLAGS =
|
||||
PINC = -I$(MPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich
|
3
wmake/rules/linux64Gcc49/mplibMPICH-GM
Normal file
3
wmake/rules/linux64Gcc49/mplibMPICH-GM
Normal file
|
@ -0,0 +1,3 @@
|
|||
PFLAGS =
|
||||
PINC = -I$(MPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -L$(GM_LIB_PATH) -lgm
|
0
wmake/rules/linux64Gcc49/mplibMVAPICH2
Normal file
0
wmake/rules/linux64Gcc49/mplibMVAPICH2
Normal file
3
wmake/rules/linux64Gcc49/mplibOPENMPI
Normal file
3
wmake/rules/linux64Gcc49/mplibOPENMPI
Normal file
|
@ -0,0 +1,3 @@
|
|||
PFLAGS = -DOMPI_SKIP_MPICXX
|
||||
PINC = -I$(MPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi
|
4
wmake/rules/linux64Gcc49/mplibQSMPI
Normal file
4
wmake/rules/linux64Gcc49/mplibQSMPI
Normal file
|
@ -0,0 +1,4 @@
|
|||
PFLAGS =
|
||||
PINC = -I$(MPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi
|
||||
|
1
wmake/rules/linux64Gcc49/mplibSYSTEMOPENMPI
Normal file
1
wmake/rules/linux64Gcc49/mplibSYSTEMOPENMPI
Normal file
|
@ -0,0 +1 @@
|
|||
PFLAGS = -DOMPI_SKIP_MPICXX
|
17
wmake/rules/linux64Gcc49/nvcc
Normal file
17
wmake/rules/linux64Gcc49/nvcc
Normal file
|
@ -0,0 +1,17 @@
|
|||
.SUFFIXES: .cu
|
||||
|
||||
NVCC = nvcc -m64 -arch $(CUDA_ARCH)
|
||||
|
||||
NVCC_ptFLAGS = -DNoRepository
|
||||
|
||||
NVCC_FLAGS = $(NVCC_ptFLAGS) -Xcompiler -fPIC $(LIB_HEADER_DIRS) $(GFLAGS) $(c++OPT) $(c++DBUG)
|
||||
|
||||
cutoo = $(WM_SCHEDULER) $(NVCC) $(NVCC_FLAGS) -c $$SOURCE -o $@
|
||||
|
||||
LINK_LIBS = $(c++DBUG)
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed
|
||||
LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed
|
||||
|
||||
.cu.dep:
|
||||
$(MAKE_DEP)
|
Reference in a new issue