summaryrefslogtreecommitdiff
path: root/travis/build-dep-zstd
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2018-02-19 15:51:31 +0000
committerDimitri John Ledkov <xnox@ubuntu.com>2018-02-19 15:52:49 +0000
commitb70cb0d0a21394d5d6b00b51f064115c2724cea8 (patch)
treef001381d2ee826e6665e003e7c6dccb084a54316 /travis/build-dep-zstd
parentf1b0adb46b2c193e940f8c22b35036d2ee76c673 (diff)
Diffstat (limited to 'travis/build-dep-zstd')
-rwxr-xr-xtravis/build-dep-zstd14
1 files changed, 14 insertions, 0 deletions
diff --git a/travis/build-dep-zstd b/travis/build-dep-zstd
new file mode 100755
index 00000000..22369dd3
--- /dev/null
+++ b/travis/build-dep-zstd
@@ -0,0 +1,14 @@
+#!/bin/sh
+# download, build and install the zstd library
+
+version=1.3.3
+
+set -e
+
+mkdir tmp-zstd
+cd tmp-zstd
+wget https://github.com/facebook/zstd/archive/v${version}.tar.gz
+tar xf v${version}.tar.gz
+cd zstd-${version}
+make
+sudo make install PREFIX=/usr