-
Notifications
You must be signed in to change notification settings - Fork 3
/
common.txt
63 lines (50 loc) · 1.87 KB
/
common.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
include $(ROOTDIR)/config.txt
CNINE_INCLUDES=-I$(CNINE_ROOT)
CNINE_INCLUDES+=-I$(CNINE_ROOT)/include
CNINE_INCLUDES+=-I$(CNINE_ROOT)/modules
CNINE_INCLUDES+=-I$(CNINE_ROOT)/algorithms
CNINE_INCLUDES+=-I$(CNINE_ROOT)/combinatorial
CNINE_INCLUDES+=-I$(CNINE_ROOT)/containers
CNINE_INCLUDES+=-I$(CNINE_ROOT)/math
CNINE_INCLUDES+=-I$(CNINE_ROOT)/utility
CNINE_INCLUDES+=-I$(CNINE_ROOT)/wrappers
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/scalar
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/tensor
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/ntensor
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/ntensor/functions
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/tensor_views -I$(CNINE_ROOT)/objects/tensor_views/functions
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/tensor_array
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/backendA -I$(CNINE_ROOT)/objects/backendB
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/tensor_array/cell_maps -I$(CNINE_ROOT)/objects/tensor_array/cell_ops
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/labeled
CNINE_INCLUDES+=-I$(CNINE_ROOT)/objects/labeled2
CNINE_CUDADIR=$(CNINE_ROOT)/cuda
SNOB2_INCLUDES=-I$(SNOB2_ROOT)/include -I$(SNOB2_ROOT)/combinatorial -I$(SNOB2_ROOT)/Sn
GELIB_INCLUDEDIR=$(ROOTDIR)/include
SO2DIR=$(ROOTDIR)/objects/SO2
SO3DIR=$(ROOTDIR)/objects/SO3
SO3NDIR=$(ROOTDIR)/objects/SO3n
SO3CDIR=$(ROOTDIR)/objects/SO3c
GELIB_CUDADIR=$(ROOTDIR)/cuda
# COMBINATORIALDIR=$(ROOTDIR)/objects/combinatorial
# GROUPSDIR=$(ROOTDIR)/objects/groups
# SNDIR=$(ROOTDIR)/objects/Sn
CFLAGS= -std=c++17 -O3 #-ferror-limit=1
INCLUDE= -I $(ROOTDIR)/include
LIBS= -lstdc++ -lm -lpthread
CFLAGS+=-DCNINE_RANGE_CHECKING
MACROS+=-DGELIB_COPY_WARNINGS
MACROS+=-DGELIB_MOVE_WARNINGS
MACROS+=-DGELIB_CONVERT_WARNINGS
ifdef GELIB_SO3CG_DEBUG
MACROS+=-D_GELIB_SO3CG_DEBUG
endif
ifdef WITH_CUDA
MACROS+=-D_WITH_CUDA
endif
ifdef WITH_CUBLAS
MACROS+=-D_WITH_CUBLAS
endif
ifdef EIGENDIR
CFLAGS+=-D_WITH_EIGEN
endif