Skip to content

Commit 11410a3

Browse files
committed
Initial commit
1 parent e0ed754 commit 11410a3

32 files changed

+9212
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@
3030
*.exe
3131
*.out
3232
*.app
33+
34+
.DS_Store
35+

benchmarks/Makefile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Uncomment one of the following to switch between debug and opt mode
2+
OPT = -O3 -DNDEBUG
3+
#OPT = -g -ggdb
4+
5+
CXXFLAGS += -fno-strict-aliasing -Wall -std=c++11 -I. -I../src/ $(OPT) -march=core-avx2
6+
7+
LDFLAGS+= -Wall -lpthread -lssl -lcrypto
8+
9+
HEADERS = $(wildcard ../src/*.h) *.h
10+
11+
SRC = ../src/hashutil.cc
12+
13+
.PHONY: all
14+
15+
BINS = bulk-insert-and-query.exe
16+
17+
all: $(BINS)
18+
19+
clean:
20+
/bin/rm -f $(BINS)
21+
22+
%.exe: %.cc ${HEADERS} ${SRC} Makefile
23+
$(CXX) $(CXXFLAGS) $< -o $@ $(SRC) $(LDFLAGS)

0 commit comments

Comments
 (0)