pkgdep/git: Patch refspdk repos
36b5a69bb0
"trace: fix the snprintf warning issue"2ac1521581
"test/compress: fix Wstringop-overflow warnings" These patches are needed to make sure SPDK's refs can be compiled under GCC 11 (e.g. fedora34). Signed-off-by: Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8790 (master) (cherry picked from commitd19ead1f76
) Change-Id: I7e3800351b02506c99ba8ac7f4d40312867e1ab9 Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8948 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Monica Kenguva <monica.kenguva@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
26e8bc2ea1
commit
98060549d3
@ -40,6 +40,13 @@ function install_refspdk() {
|
||||
git -C "$output_dir" checkout "$release"
|
||||
git -C "$output_dir" submodule update --init
|
||||
|
||||
if ((gcc_version >= 11)) && le "${release#v}" 21.04; then
|
||||
git -C "$output_dir" config --global user.name "spdk"
|
||||
git -C "$output_dir" config --global user.email "hotpatch@spdk.io"
|
||||
curl -s https://github.com/spdk/spdk/commit/36b5a69bb0699694b53a2f08a13cc0de620450a9.patch | git -C "$output_dir" am
|
||||
curl -s https://github.com/spdk/spdk/commit/2ac152158116a17b863270a4731977d9ddedf50d.patch | git -C "$output_dir" am
|
||||
fi
|
||||
|
||||
cat > $HOME/autorun-spdk.conf <<- EOF
|
||||
SPDK_BUILD_SHARED_OBJECT=1
|
||||
SPDK_TEST_AUTOBUILD=1
|
||||
|
Loading…
Reference in New Issue
Block a user