autobuild: Use patch instead of git am

It's more forgiving in case of small changes that force some fuzzing
like formatting changes. For instance, this change is currently breaking
our vs-dpdk builds:

f88b0b8922

Signed-off-by: Michal Berger <michalx.berger@intel.com>
Change-Id: I8816ad59f930fa61ec081ac13e35129060f6cb86
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10135
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Pawel Piatek <pawelx.piatek@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
This commit is contained in:
Michal Berger 2021-11-05 12:17:25 +01:00 committed by Jim Harris
parent 4cd97383cc
commit d2d55a0359

View File

@ -173,9 +173,9 @@ function build_native_dpdk() {
git config --local user.name "spdk"
git config --local user.email "nomail@all.com"
if [[ -f dpdk-pci.patch ]]; then
git am dpdk-pci.patch
patch -p1 < dpdk-pci.patch
fi
git am dpdk-qat.patch
patch -p1 < dpdk-qat.patch
fi
meson build-tmp --prefix="$external_dpdk_dir" --libdir lib \