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> Change-Id: I7e3800351b02506c99ba8ac7f4d40312867e1ab9 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8790 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Ziye Yang <ziye.yang@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
fb1ace6700
commit
d19ead1f76
@ -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