aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/redis/Makefile
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-09-04 23:28:26 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-09-11 17:28:29 +0200
commit600ce8dbd7edaf43af8f6796225fadd5ca14b6f9 (patch)
tree1a16bb3b148027873be4cafa63c13da982cb15f4 /src/benchmarks/redis/Makefile
parent062f2c8662f586e651655dbb5de7c0423fe028c9 (diff)
downloadallocbench-600ce8dbd7edaf43af8f6796225fadd5ca14b6f9.tar.gz
allocbench-600ce8dbd7edaf43af8f6796225fadd5ca14b6f9.zip
add redis benchmark inspired by mimalloc-bench
redis is build using a bash script because I wasn't able to build with make alone. TODO: build redis using only a Makefile
Diffstat (limited to 'src/benchmarks/redis/Makefile')
-rw-r--r--src/benchmarks/redis/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/benchmarks/redis/Makefile b/src/benchmarks/redis/Makefile
new file mode 100644
index 0000000..de72342
--- /dev/null
+++ b/src/benchmarks/redis/Makefile
@@ -0,0 +1,20 @@
+OBJDIR ?= obj
+
+unexport CC
+unexport CXX
+unexport WARNFLAGS
+unexport COMMONFLAGS
+unexport OPTFLAGS
+unexport CFLAGS
+unexport CXXFLAGS
+unexport LDFLAGS
+unexport LDXXFLAGS
+
+.PHONY = all clean
+
+all:
+ @echo building redis benchmark
+ ./build.sh $(OBJDIR) $(REDIS_VERSION)
+
+clean:
+ rm -rf $(OBJDIR)