mirror of
https://github.com/plasma-umass/coz.git
synced 2024-09-11 04:55:25 +03:00
Benchmarks can now build with system coz and includes. Fixes #26
This commit is contained in:
parent
2fa77abfed
commit
11e868ee3c
2
Makefile
2
Makefile
@ -1,4 +1,4 @@
|
||||
ROOT := .
|
||||
DIRS := libcoz
|
||||
DIRS := libcoz benchmarks
|
||||
|
||||
include $(ROOT)/common.mk
|
||||
|
@ -1,7 +1,11 @@
|
||||
ROOT := ../..
|
||||
ROOT := ../..
|
||||
TARGETS := histogram
|
||||
LIBS := pthread dl
|
||||
CFLAGS := -g -O2 -I$(ROOT)/include
|
||||
CFLAGS := -g -O2
|
||||
|
||||
ifeq ($(USE_SYSTEM_COZ),)
|
||||
CFLAGS += -I$(ROOT)/include
|
||||
endif
|
||||
|
||||
BENCHMARK := 1
|
||||
|
||||
|
@ -1,7 +1,11 @@
|
||||
ROOT := ../..
|
||||
ROOT := ../..
|
||||
TARGETS := kmeans
|
||||
LIBS := pthread dl
|
||||
CFLAGS := -g -O2 -I$(ROOT)/include
|
||||
CFLAGS := -g -O2
|
||||
|
||||
ifeq ($(USE_SYSTEM_COZ),)
|
||||
CFLAGS += -I$(ROOT)/include
|
||||
endif
|
||||
|
||||
BENCHMARK := 1
|
||||
|
||||
|
@ -1,7 +1,11 @@
|
||||
ROOT := ../..
|
||||
ROOT := ../..
|
||||
TARGETS := linear_regression
|
||||
LIBS := pthread dl
|
||||
CFLAGS := -g -O2 -I$(ROOT)/include
|
||||
CFLAGS := -g -O2
|
||||
|
||||
ifeq ($(USE_SYSTEM_COZ),)
|
||||
CFLAGS += -I$(ROOT)/include
|
||||
endif
|
||||
|
||||
BENCHMARK := 1
|
||||
|
||||
|
@ -1,7 +1,11 @@
|
||||
ROOT := ../..
|
||||
ROOT := ../..
|
||||
TARGETS := matrix_multiply
|
||||
LIBS := pthread dl
|
||||
CFLAGS := -g -O2 -I$(ROOT)/include -Wno-format
|
||||
CFLAGS := -g -O2 -Wno-format
|
||||
|
||||
ifeq ($(USE_SYSTEM_COZ),)
|
||||
CFLAGS += -I$(ROOT)/include
|
||||
endif
|
||||
|
||||
BENCHMARK := 1
|
||||
|
||||
|
@ -1,9 +1,13 @@
|
||||
ROOT := ../..
|
||||
ROOT := ../..
|
||||
TARGETS := pbzip2
|
||||
LIBS := bz2 pthread dl
|
||||
CXXFLAGS := -g -O2 -Wno-format -I$(ROOT)/include -Ibzip2-1.0.6
|
||||
CXXFLAGS := -g -O2 -Wno-format -Ibzip2-1.0.6
|
||||
LDFLAGS := -Lbzip2-1.0.6
|
||||
|
||||
ifeq ($(USE_SYSTEM_COZ),)
|
||||
CXXFLAGS += -I$(ROOT)/include
|
||||
endif
|
||||
|
||||
BENCHMARK := 1
|
||||
|
||||
include $(ROOT)/common.mk
|
||||
|
@ -1,7 +1,11 @@
|
||||
ROOT := ../..
|
||||
ROOT := ../..
|
||||
TARGETS := pca
|
||||
LIBS := pthread dl
|
||||
CFLAGS := -g -O2 -I$(ROOT)/include
|
||||
CFLAGS := -g -O2
|
||||
|
||||
ifeq ($(USE_SYSTEM_COZ),)
|
||||
CFLAGS += -I$(ROOT)/include
|
||||
endif
|
||||
|
||||
BENCHMARK := 1
|
||||
|
||||
|
@ -1,7 +1,11 @@
|
||||
ROOT := ../..
|
||||
ROOT := ../..
|
||||
TARGETS := producer_consumer
|
||||
LIBS := dl pthread
|
||||
CXXFLAGS := -g -O2 -I$(ROOT)/include
|
||||
CXXFLAGS := -g -O2
|
||||
|
||||
ifeq ($(USE_SYSTEM_COZ),)
|
||||
CXXFLAGS += -I$(ROOT)/include
|
||||
endif
|
||||
|
||||
BENCHMARK := 1
|
||||
|
||||
|
@ -1,7 +1,11 @@
|
||||
ROOT := ../..
|
||||
ROOT := ../..
|
||||
TARGETS := string_match
|
||||
LIBS := pthread dl
|
||||
CFLAGS := -g -O2 -I$(ROOT)/include
|
||||
CFLAGS := -g -O2
|
||||
|
||||
ifeq ($(USE_SYSTEM_COZ),)
|
||||
CFLAGS += -I$(ROOT)/include
|
||||
endif
|
||||
|
||||
BENCHMARK := 1
|
||||
|
||||
@ -19,4 +23,4 @@ string_match_datafiles/%:
|
||||
@wget -c http://csl.stanford.edu/~christos/data/reverse_index.tar.gz
|
||||
@echo $(LOG_PREFIX) Unpacking string_match inputs $(LOG_SUFFIX)
|
||||
@tar xzf string_match.tar.gz
|
||||
@rm string_match.tar.gz
|
||||
@rm string_match.tar.gz
|
||||
|
@ -1,7 +1,11 @@
|
||||
ROOT := ../..
|
||||
ROOT := ../..
|
||||
TARGETS := toy
|
||||
LIBS := dl pthread
|
||||
CXXFLAGS := --std=c++11 -g -O2 -I$(ROOT)/include
|
||||
CXXFLAGS := --std=c++11 -g -O2
|
||||
|
||||
ifeq ($(USE_SYSTEM_COZ),)
|
||||
CFLAGS += -I$(ROOT)/include
|
||||
endif
|
||||
|
||||
BENCHMARK := 1
|
||||
|
||||
|
@ -1,7 +1,11 @@
|
||||
ROOT := ../..
|
||||
ROOT := ../..
|
||||
TARGETS := word_count
|
||||
LIBS := pthread dl
|
||||
CFLAGS := -g -O2 -I$(ROOT)/include
|
||||
CFLAGS := -g -O2
|
||||
|
||||
ifeq ($(USE_SYSTEM_COZ),)
|
||||
CFLAGS += -I$(ROOT)/include
|
||||
endif
|
||||
|
||||
BENCHMARK := 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user