summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2019-01-11 14:43:13 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2019-03-04 15:54:47 +0100
commite2c06a6a9c1c077e2d4826f1e283ca008de83e7e (patch)
treee328e4646f348696f6cec01b07a95b20d4097c63
parent313b6611b14458ba3c64058e254bd69f34a8b61a (diff)
zstd: fix build being branchless
This fixes now two issues: - The v1.3.3 tag being branchless (meaning a random otherwise orphaned commit was tagged for release) requires nobranch=1 to be explicitly specified to make OpenEmbedded happy not trying to checkout out the master branch. - Using tag="v1.3.3" would cause OpenEmbedded to re-fetch the entire repo over and over again upon each build therefore hard-coding the commit hash instead. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--recipes-tweaks/btrfs-tools/zstd_git.bbappend5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-tweaks/btrfs-tools/zstd_git.bbappend b/recipes-tweaks/btrfs-tools/zstd_git.bbappend
new file mode 100644
index 0000000..e8419a9
--- /dev/null
+++ b/recipes-tweaks/btrfs-tools/zstd_git.bbappend
@@ -0,0 +1,5 @@
+# this is the hash of version tag v1.3.3
+SRCREV = "f3a8bd553a865c59f1bd6e1f68bf182cf75a8f00"
+SRC_URI = "git://github.com/facebook/zstd.git;protocol=https;nobranch=1"
+
+EXTRA_OECMAKE_append = " -DTHREADS_PTHREAD_ARG=0"