Permalink
Browse files

added boost and re2 benchmark

  • Loading branch information...
Hana Dusíková
Hana Dusíková committed Oct 7, 2018
1 parent 9357f66 commit a95e79ca6f1ebd4cc63a687a2bec14febd2509da
Showing with 5 additions and 3 deletions.
  1. +3 −1 .travis.yml
  2. +2 −2 Makefile
View
@@ -33,11 +33,13 @@ before_install:
- |
if [[ (-x $(which brew)) ]]; then
brew update
brew install pcre2
brew install pcre2 re2 boost
else
sudo add-apt-repository -y ppa:sergey-dryabzhinsky/packages
sudo apt-get update -qq
sudo apt-get install -qq libpcre2-dev
sudo apt-get install -qq re2-dev
sudo apt-get install -qq boost-dev
fi
install:
View
@@ -8,12 +8,12 @@ DESATOMAT := /www/root/desatomat/console/desatomat.php
CXXFLAGS := -std=c++2a -Iinclude -O3 -Wno-gnu-string-literal-operator-template
#-Xclang -fconcepts-ts
LDFLAGS := -lpcre2-8
LDFLAGS := -lboost_regex -lpcre2-8 -lre2
TESTS := $(wildcard tests/*.cpp) $(wildcard tests/benchmark/*.cpp)
TRUE_TARGETS := $(TARGETS:%.cpp=%)
IGNORE := $(wildcard tests/benchmark/*.cpp) $(wildcard tests/benchmark-exec/boost.cpp) $(wildcard tests/benchmark-exec/re2.cpp)
IGNORE := $(wildcard tests/benchmark/*.cpp) tests/benchmark-exec/boost.cpp wildcard tests/benchmark-exec/re2.cpp
OBJECTS_PRE := $(TARGETS:%.cpp=%.o) $(TESTS:%.cpp=%.o)
OBJECTS := $(filter-out $(IGNORE:%.cpp=%.o), $(OBJECTS_PRE))
DEPEDENCY_FILES := $(OBJECTS:%.o=%.d)

0 comments on commit a95e79c

Please sign in to comment.