From dab462b4cc4b56f81f6a500e52d30bf61ce835e4 Mon Sep 17 00:00:00 2001 From: ahmad Date: Thu, 6 Dec 2018 11:29:57 -0800 Subject: [PATCH] benchmarks compiles with clang --- gdax-orderbook-hpp/demo/Makefile | 4 ++-- mabain/binaries/Makefile | 2 +- mabain/examples/Makefile | 2 +- mabain/src/Makefile | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gdax-orderbook-hpp/demo/Makefile b/gdax-orderbook-hpp/demo/Makefile index b231497..363b112 100644 --- a/gdax-orderbook-hpp/demo/Makefile +++ b/gdax-orderbook-hpp/demo/Makefile @@ -23,7 +23,7 @@ demo: demo.cpp ../gdax-orderbook.hpp \ | dependencies/libcds-2.3.2/build-release/bin/libcds.so \ dependencies/rapidjson-1.1.0 \ dependencies/websocketpp-0.7.0 - g++ demo.cpp -std=c++11 -o demo $(INCDIRS) -L $(CDSLIBDIR) $(LIBS) + clang++ demo.cpp -std=c++11 -o demo $(INCDIRS) -L $(CDSLIBDIR) $(LIBS) dependencies/libcds-2.3.2/build-release/bin/libcds.so: \ | dependencies/libcds-2.3.2 @@ -53,7 +53,7 @@ dependencies/websocketpp-0.7.0.tar.gz: dependencies dependencies: - mkdir dependencies + #mkdir dependencies clean: rm -rf demo dependencies/libcds-2.3.2.tar.gz dependencies/rapidjson-1.1.0.tar.gz dependencies/websocketpp-0.7.0.tar.gz #dependencies diff --git a/mabain/binaries/Makefile b/mabain/binaries/Makefile index 17714eb..244ecd1 100644 --- a/mabain/binaries/Makefile +++ b/mabain/binaries/Makefile @@ -1,4 +1,4 @@ -CPP=g++ +CPP=clang++ all: mbc diff --git a/mabain/examples/Makefile b/mabain/examples/Makefile index 597f415..f328b80 100644 --- a/mabain/examples/Makefile +++ b/mabain/examples/Makefile @@ -2,7 +2,7 @@ ifndef MABAIN_INSTALL_DIR MABAIN_INSTALL_DIR=/usr/local endif -CPP=g++ +CPP=clang++ all: mb_insert_test mb_lookup_test mb_longest_prefix_test \ mb_remove_test mb_iterator_test mb_multi_proc_test \ diff --git a/mabain/src/Makefile b/mabain/src/Makefile index 4da7aca..10bee15 100644 --- a/mabain/src/Makefile +++ b/mabain/src/Makefile @@ -1,4 +1,4 @@ -CPP=g++ +CPP=clang++ TARGET=libmabain.so all: $(TARGET) -- 2.34.1