benchmarks compiles with clang
authorahmad <ahmad@dw-10.eecs.uci.edu>
Thu, 6 Dec 2018 19:29:57 +0000 (11:29 -0800)
committerahmad <ahmad@dw-10.eecs.uci.edu>
Thu, 6 Dec 2018 19:29:57 +0000 (11:29 -0800)
gdax-orderbook-hpp/demo/Makefile
mabain/binaries/Makefile
mabain/examples/Makefile
mabain/src/Makefile

index b231497..363b112 100644 (file)
@@ -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
index 17714eb..244ecd1 100644 (file)
@@ -1,4 +1,4 @@
-CPP=g++
+CPP=clang++
 
 all: mbc
 
index 597f415..f328b80 100644 (file)
@@ -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 \
index 4da7aca..10bee15 100644 (file)
@@ -1,4 +1,4 @@
-CPP=g++
+CPP=clang++
 TARGET=libmabain.so
 
 all: $(TARGET)