Windows port: rename arch to mingw
This commit is contained in:
parent
60547b1dd1
commit
0f1cb94d99
39 changed files with 0 additions and 121 deletions
|
@ -1,16 +0,0 @@
|
||||||
.SUFFIXES: .c .h
|
|
||||||
|
|
||||||
cWARN = -Wall
|
|
||||||
|
|
||||||
cc = gcc
|
|
||||||
|
|
||||||
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
|
|
|
@ -1,3 +0,0 @@
|
||||||
XFLAGS =
|
|
||||||
XINC = $(XFLAGS) -I/usr/X11R6/include
|
|
||||||
XLIBS = -L/usr/X11R6/lib64 -lXext -lX11
|
|
|
@ -1,16 +0,0 @@
|
||||||
.SUFFIXES: .c .h
|
|
||||||
|
|
||||||
cWARN = -Wall
|
|
||||||
|
|
||||||
cc = gcc
|
|
||||||
|
|
||||||
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
|
|
|
@ -1,22 +0,0 @@
|
||||||
.SUFFIXES: .C .cxx .cc .cpp
|
|
||||||
|
|
||||||
c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor
|
|
||||||
|
|
||||||
CC = g++
|
|
||||||
|
|
||||||
include $(RULES)/c++$(WM_COMPILE_OPTION)
|
|
||||||
|
|
||||||
ptFLAGS = -DNoRepository -ftemplate-depth-200
|
|
||||||
|
|
||||||
GFLAGS = -DWM_$(WM_PRECISION_OPTION)
|
|
||||||
c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -I$(OPENMPI_DIR)/include -I$(WM_THIRD_PARTY_DIR)/packages/system/include -Dmingw -DBIG_ENDIAN=0 -DLITTLE_ENDIAN=1 -DBYTE_ORDER=BIG_ENDIAN
|
|
||||||
|
|
||||||
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@
|
|
||||||
cxxtoo = $(Ctoo)
|
|
||||||
cctoo = $(Ctoo)
|
|
||||||
cpptoo = $(Ctoo)
|
|
||||||
|
|
||||||
LINK_LIBS = $(c++DBUG) -L$(OPENMPI_DIR)/lib -lmpi -lpthread -lz -L$(WM_THIRD_PARTY_DIR)/packages/system/lib -ldl -lpsapi
|
|
||||||
|
|
||||||
LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed
|
|
||||||
LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed $(FOAM_LIBBIN)/libOSspecific.o
|
|
|
@ -1,2 +0,0 @@
|
||||||
c++DBUG = -ggdb3 -DFULLDEBUG
|
|
||||||
c++OPT = -O0 -fdefault-inline
|
|
|
@ -1,4 +0,0 @@
|
||||||
c++DBUG =
|
|
||||||
c++OPT = -O3
|
|
||||||
#c++OPT = -march=nocona -O3
|
|
||||||
# -ftree-vectorize -ftree-vectorizer-verbose=3
|
|
|
@ -1,2 +0,0 @@
|
||||||
c++DBUG = -pg
|
|
||||||
c++OPT = -O2
|
|
|
@ -1,2 +0,0 @@
|
||||||
cDBUG = -ggdb -DFULLDEBUG
|
|
||||||
cOPT = -O1 -fdefault-inline -finline-functions
|
|
|
@ -1,2 +0,0 @@
|
||||||
cDBUG =
|
|
||||||
cOPT = -O3
|
|
|
@ -1,2 +0,0 @@
|
||||||
cDBUG = -pg
|
|
||||||
cOPT = -O2
|
|
|
@ -1,11 +0,0 @@
|
||||||
CPP = cpp -traditional-cpp
|
|
||||||
LD = ld
|
|
||||||
|
|
||||||
PROJECT_LIBS = -l$(WM_PROJECT) -liberty
|
|
||||||
|
|
||||||
include $(GENERAL_RULES)/standard
|
|
||||||
|
|
||||||
include $(RULES)/X
|
|
||||||
include $(RULES)/c
|
|
||||||
include $(RULES)/c++
|
|
||||||
include $(RULES)/nvcc
|
|
|
@ -1,3 +0,0 @@
|
||||||
PFLAGS =
|
|
||||||
PINC =
|
|
||||||
PLIBS =
|
|
|
@ -1,3 +0,0 @@
|
||||||
PFLAGS =
|
|
||||||
PINC = -I$(MPI_ARCH_PATH)/include
|
|
||||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lgamma
|
|
|
@ -1,3 +0,0 @@
|
||||||
PFLAGS =
|
|
||||||
PINC = -I$(MPI_ARCH_PATH)/include -D_MPICC_H
|
|
||||||
PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_amd64 -lmpi
|
|
|
@ -1,3 +0,0 @@
|
||||||
PFLAGS =
|
|
||||||
PINC = -I$(MPI_ARCH_PATH)/include
|
|
||||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich
|
|
|
@ -1,3 +0,0 @@
|
||||||
PFLAGS =
|
|
||||||
PINC = -I$(MPI_ARCH_PATH)/include
|
|
||||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -L$(GM_LIB_PATH) -lgm
|
|
|
@ -1,3 +0,0 @@
|
||||||
PFLAGS = -DOMPI_SKIP_MPICXX
|
|
||||||
PINC = -I$(OPENMPI_DIR)/include
|
|
||||||
PLIBS = -L$(OPENMPI_DIR)/lib -lmpi
|
|
|
@ -1,3 +0,0 @@
|
||||||
PFLAGS =
|
|
||||||
PINC = -I$(MPI_ARCH_PATH)/include
|
|
||||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi
|
|
|
@ -1 +0,0 @@
|
||||||
PFLAGS = -DOMPI_SKIP_MPICXX
|
|
|
@ -1,17 +0,0 @@
|
||||||
.SUFFIXES: .cu
|
|
||||||
|
|
||||||
NVCC = nvcc -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