-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
75 lines (59 loc) · 2.19 KB
/
Makefile
File metadata and controls
75 lines (59 loc) · 2.19 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
# Makefile for the EXCESS data structures library.
# Configuration
# Install prefix
PREFIX = /opt/EXCESS
# This is a source/header file file library so install is the only task.
install:
cp -r src/include $(PREFIX)/
# Example Makefile settings for using the EXCESS data structures library below.
# In particular the USE_<dependency> macros must be set for these options to
# be available.
# Data-structure libraries
NOBLEDIR = /opt/NOBLE/stable
NOBLELIB = $(NOBLEDIR)/lib/Linux64_x86/libNOBLE64.a
TBBDIR = /opt/IntelTBB/tbb
TBBLIB = -Wl,-rpath,$(TBBDIR)/build/linux_intel64_gcc_cc4.6_libc2.15_kernel3.13.0_release -L$(TBBDIR)/build/linux_intel64_gcc_cc4.6_libc2.15_kernel3.13.0_release/ -ltbb
# Search tree implementations from
# UIT for EXCESS
#ETLDIR = /opt/EXCESS/EXCESSTreeLibrary
#ETLLIB = $(ETLDIR)/lib/libcbtree.a
#ETLLIB = $(ETLDIR)/lib/libdeltatree.a
#ETLLIB = $(ETLDIR)/lib/libgreenbst.a
# Hash map implementations from
# [Nhan Nguyen and Philippas Tsigas, "Lock-free Cuckoo Hashing".
# In the Proceedings of the 34th International Conference on Distributed
# Computing Systems (ICDCS 2014), pages 627 - 636, IEEE press 2014].
#CCKHT = /opt/MiscDS/CCKHashtable
#CCKHTLIB = $(CCKHT)/libCCKHashtable.a
# Hash map implementations from
# [Herlihy, M., Shavit, N. and M. Tzafrir, "Hopscotch Hashing".
# In the Proc. of the 22nd International Symposium on Distributed Computing
# (DISC 2008), pp. 350-364, 2008].
#HSHT = /opt/MiscDS/HSHashtable
#HSHTLIB = $(HSHT)/libHSHashtable.a
# General library configuration
#DSLIBFLAGS += -DUSE_NOBLE
#DSLIBFLAGS += -DUSE_TBB
#DSLIBFLAGS += -DUSE_ETL -DUSE_ETL_DELTATREE
#DSLIBFLAGS += -DUSE_CCKHT
#DSLIBFLAGS += -DUSE_HSHT
# Compiler settings
CFLAGS = -DLINUX64_X86 -O2 -fpermissive -march=native -DNDEBUG
CFLAGS += -I$(NOBLEDIR)/Include/ -I$(NOBLEDIR)/Src/
CFLAGS += -I$(TBBDIR)/include
CFLAGS += -I$(ETLDIR)/include
CFLAGS += -I$(CCKHT)
CFLAGS += -I$(HSHT) -I$(HSHT)/data_structures
LDFLAGS = $(NOBLELIB) $(TBBLIB) -lrt
LDFLAGS += $(ETLLIB)
LDFLAGS += $(CCKHTLIB)
LDFLAGS += $(HSHTLIB)
export
# Makefile
all:
# # Nothing to do. This is a header file library.
# cd src; $(MAKE) all
clean:
# # Nothing to do. This is a header file library.
# cd src; $(MAKE) clean
# @rm