From: Vsevolod Stakhov Date: Wed, 17 Dec 2014 14:27:04 +0000 (+0000) Subject: Add siphash contrib code. X-Git-Tag: 0.8.0~78^2~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4178270ca52b46428b0aa9dc7fcf0fd7f03d8c7a;p=rspamd.git Add siphash contrib code. --- diff --git a/.gitmodules b/.gitmodules index e7a280ee4..9949f55e5 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,3 +13,6 @@ [submodule "contrib/snowball"] path = contrib/snowball url = https://github.com/vstakhov/snowball +[submodule "contrib/siphash"] + path = contrib/siphash + url = https://github.com/vstakhov/siphash diff --git a/CMakeLists.txt b/CMakeLists.txt index 58b9b6471..33348ac6b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -830,6 +830,8 @@ INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/src" "${CMAKE_SOURCE_DIR}/contrib/http-parser" "${CMAKE_SOURCE_DIR}/contrib/libottery" "${CMAKE_SOURCE_DIR}/contrib/xxhash" + "${CMAKE_SOURCE_DIR}/contrib/snowball/include" + "${CMAKE_SOURCE_DIR}/contrib/siphash" "${CMAKE_SOURCE_DIR}/src/rdns/include") ################################ SUBDIRS SECTION ########################### @@ -850,6 +852,7 @@ ADD_SUBDIRECTORY(contrib/xxhash) ADD_SUBDIRECTORY(contrib/http-parser) ADD_SUBDIRECTORY(contrib/libottery) ADD_SUBDIRECTORY(contrib/snowball) +ADD_SUBDIRECTORY(contrib/siphash) ADD_SUBDIRECTORY(src) ADD_SUBDIRECTORY(test) diff --git a/contrib/siphash b/contrib/siphash new file mode 160000 index 000000000..d8a25fc94 --- /dev/null +++ b/contrib/siphash @@ -0,0 +1 @@ +Subproject commit d8a25fc9442b069459d542edfa2e241ec49b6c82