From e2c06a6a9c1c077e2d4826f1e283ca008de83e7e Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Fri, 11 Jan 2019 14:43:13 +0100 Subject: 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 Acked-by: Max Krummenacher --- recipes-tweaks/btrfs-tools/zstd_git.bbappend | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 recipes-tweaks/btrfs-tools/zstd_git.bbappend 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" -- cgit v1.2.3