Revise reactors code

Reviewers: buda, mferencevic

Reviewed By: mferencevic

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D923
This commit is contained in:
Mislav Bradac
2017-10-25 14:47:46 +02:00
parent 9f7ef8e0e9
commit fe3d752904
19 changed files with 1228 additions and 1902 deletions

View File

@@ -163,3 +163,6 @@ import_header_library(cppitertools ${CMAKE_CURRENT_SOURCE_DIR})
# Setup json
import_header_library(json ${CMAKE_CURRENT_SOURCE_DIR})
# Setup cereal
import_header_library(cereal "${CMAKE_CURRENT_SOURCE_DIR}/cereal/include")

View File

@@ -10,9 +10,9 @@ cd ${working_dir}
# antlr
antlr_generator_filename="antlr-4.6-complete.jar"
#wget -O ${antlr_generator_filename} http://www.antlr.org/download/${antlr_generator_filename}
# wget -O ${antlr_generator_filename} http://www.antlr.org/download/${antlr_generator_filename}
wget -nv -O ${antlr_generator_filename} http://deps.memgraph.io/${antlr_generator_filename}
#git clone https://github.com/antlr/antlr4.git
# git clone https://github.com/antlr/antlr4.git
git clone git://deps.memgraph.io/antlr4.git
antlr4_tag="aacd2a2c95816d8dc1c05814051d631bfec4cf3e" # v4.6
cd antlr4
@@ -23,7 +23,7 @@ cd ..
# Use our fork that uses experimental/optional instead of unique_ptr in
# DerefHolder. Once we move memgraph to c++17 we can use cpp17 branch from
# original repo.
#git clone https://github.com/memgraph/cppitertools.git
# git clone https://github.com/memgraph/cppitertools.git
git clone git://deps.memgraph.io/cppitertools.git
cd cppitertools
cppitertools_tag="4231e0bc6fba2737b2a7a8a1576cf06186b0de6a" # experimental_optional 17 Aug 2017
@@ -31,7 +31,7 @@ git checkout ${cppitertools_tag}
cd ..
# fmt
#git clone https://github.com/fmtlib/fmt.git
# git clone https://github.com/fmtlib/fmt.git
git clone git://deps.memgraph.io/fmt.git
fmt_tag="7fa8f8fa48b0903deab5bb42e6760477173ac485" # v3.0.1
# Commit which fixes an issue when compiling with C++14 and higher.
@@ -42,7 +42,7 @@ git cherry-pick -n ${fmt_cxx14_fix}
cd ..
# rapidcheck
#git clone https://github.com/emil-e/rapidcheck.git
# git clone https://github.com/emil-e/rapidcheck.git
git clone git://deps.memgraph.io/rapidcheck.git
rapidcheck_tag="853e14f0f4313a9eb3c71e24848373e7b843dfd1" # Jun 23, 2017
cd rapidcheck
@@ -50,7 +50,7 @@ git checkout ${rapidcheck_tag}
cd ..
# google benchmark
#git clone https://github.com/google/benchmark.git
# git clone https://github.com/google/benchmark.git
git clone git://deps.memgraph.io/benchmark.git
benchmark_tag="4f8bfeae470950ef005327973f15b0044eceaceb" # v1.1.0
cd benchmark
@@ -58,7 +58,7 @@ git checkout ${benchmark_tag}
cd ..
# google test
#git clone https://github.com/google/googletest.git
# git clone https://github.com/google/googletest.git
git clone git://deps.memgraph.io/googletest.git
googletest_tag="ec44c6c1675c25b9827aacd08c02433cccde7780" # v1.8.0
cd googletest
@@ -66,7 +66,7 @@ git checkout ${googletest_tag}
cd ..
# google logging
#git clone https://github.com/memgraph/glog.git
# git clone https://github.com/memgraph/glog.git
git clone git://deps.memgraph.io/glog.git
glog_tag="a6ee5ef590190cdb9f69cccc2db99dc5994b2f92" # custom version (v0.3.5+)
cd glog
@@ -74,7 +74,7 @@ git checkout ${glog_tag}
cd ..
# lcov-to-coberatura-xml
#git clone https://github.com/eriwen/lcov-to-cobertura-xml.git
# git clone https://github.com/eriwen/lcov-to-cobertura-xml.git
git clone git://deps.memgraph.io/lcov-to-cobertura-xml.git
lcov_to_xml_tag="59584761cb5da4687693faec05bf3e2b74e9dde9" # Dec 6, 2016
cd lcov-to-cobertura-xml
@@ -82,7 +82,7 @@ git checkout ${lcov_to_xml_tag}
cd ..
# google flags
#git clone https://github.com/memgraph/gflags.git
# git clone https://github.com/memgraph/gflags.git
git clone git://deps.memgraph.io/gflags.git
gflags_tag="b37ceb03a0e56c9f15ce80409438a555f8a67b7c" # custom version (May 6, 2017)
cd gflags
@@ -106,14 +106,19 @@ rm postgres.tar.gz
# We use head on Sep 1, 2017 instead of last release since it was long time ago.
mkdir json
cd json
#wget "https://raw.githubusercontent.com/nlohmann/json/91e003285312167ad8365f387438ea371b465a7e/src/json.hpp"
# wget "https://raw.githubusercontent.com/nlohmann/json/91e003285312167ad8365f387438ea371b465a7e/src/json.hpp"
wget -nv http://deps.memgraph.io/json.hpp
cd ..
#ltalloc
#git clone https://github.com/r-lyeh/ltalloc.git
# ltalloc
# git clone https://github.com/r-lyeh/ltalloc.git
git clone git://deps.memgraph.io/ltalloc.git
ltalloc_tag="aefde2afa5cd49c9d1a797aa08ec08b2bec13a36" # Sep 15, 2017
cd ltalloc
git checkout ${ltalloc_tag}
# cereal
git clone https://github.com/USCiLab/cereal.git
cd cereal
git checkout v1.2.2
cd ..