From 102cf40bb713285a1d1e8a6b3d6e44221dfdf49c Mon Sep 17 00:00:00 2001 From: Duarte Nunes Date: Tue, 17 Oct 2017 17:49:31 +0100 Subject: [PATCH] Add xxhash (fast non-cryptographic hash) as submodule Signed-off-by: Duarte Nunes Note: xxhash repo should be cloned to Scylla organization, and that git url should be used instead. --- .gitmodules | 3 +++ licenses/xxhash-license.txt | 24 ++++++++++++++++++++++++ xxHash | 1 + 3 files changed, 28 insertions(+) create mode 100644 licenses/xxhash-license.txt create mode 160000 xxHash diff --git a/.gitmodules b/.gitmodules index 18e14ee560..4ba90c693f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -9,3 +9,6 @@ [submodule "dist/ami/files/scylla-ami"] path = dist/ami/files/scylla-ami url = ../scylla-ami +[submodule "xxHash"] + path = xxHash + url = ../xxHash diff --git a/licenses/xxhash-license.txt b/licenses/xxhash-license.txt new file mode 100644 index 0000000000..7de801ed1b --- /dev/null +++ b/licenses/xxhash-license.txt @@ -0,0 +1,24 @@ +xxHash Library +Copyright (c) 2012-2014, Yann Collet +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/xxHash b/xxHash new file mode 160000 index 0000000000..744892b802 --- /dev/null +++ b/xxHash @@ -0,0 +1 @@ +Subproject commit 744892b802dcf61a78a3f2f1311d542577c16d66