> -----Original Message----- > From: dev <dev-boun...@dpdk.org> On Behalf Of Juraj Linke? > Sent: Thursday, August 13, 2020 5:21 PM > To: bruce.richard...@intel.com; acon...@redhat.com; > maicolgabr...@hotmail.com > Cc: juraj.lin...@pantheon.tech; dev@dpdk.org > Subject: [dpdk-dev] [PATCH v6 4/5] ci: add aarch64 -> aarch32 cross compiling > jobs > > Add two jobs (static and shared libs), both building on aarch64 and producing > 32-bit arm binaries executable on armv8-a, but not armv7. > Do not run tests in these jobs. > > Signed-off-by: Juraj Linkeš <juraj.lin...@pantheon.tech> > --- > .ci/linux-build.sh | 7 ++++++- > .travis.yml | 19 +++++++++++++++++++ > 2 files changed, 25 insertions(+), 1 deletion(-) > Hi Juraj,
This patch has apply issue. Can you rebase and send a new version? Thanks. /Ruifeng > diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index > d079801d7..c042b065c > 100755 > --- a/.ci/linux-build.sh > +++ b/.ci/linux-build.sh > @@ -33,6 +33,11 @@ if [ "$AARCH64" = "1" ]; then > OPTS="$OPTS --cross-file config/arm/arm64_armv8_linux_gcc" > fi > > +if [ "$AARCH32" = "1" ]; then > + # convert the arch specifier > + OPTS="$OPTS --cross-file config/arm/arm32_armv8a_linux_gcc" > +fi > + > if [ "$BUILD_DOCS" = "1" ]; then > OPTS="$OPTS -Denable_docs=true" > fi > @@ -53,7 +58,7 @@ OPTS="$OPTS --buildtype=debugoptimized" > meson build --werror $OPTS > ninja -C build > > -if [ "$AARCH64" != "1" ]; then > +if file build/app/dpdk-testpmd | sed 's/-/_/g' | grep -q "$(uname -m)"; > +then > devtools/test-null.sh > fi > > diff --git a/.travis.yml b/.travis.yml > index 14f812423..966b657a7 100644 > --- a/.travis.yml > +++ b/.travis.yml > @@ -21,6 +21,10 @@ _aarch64_packages: &aarch64_packages > - *required_packages > - [gcc-aarch64-linux-gnu, libc6-dev-arm64-cross, pkg-config-aarch64-linux- > gnu] > > +_arm_32b_packages: &arm_32b_packages > + - *required_packages > + - [gcc-arm-linux-gnueabihf, libc6-dev-armhf-cross, > +pkg-config-arm-linux-gnueabihf] > + > _libabigail_build_packages: &libabigail_build_packages > - [autoconf, automake, libtool, pkg-config, libxml2-dev, libdw-dev] > > @@ -124,6 +128,21 @@ jobs: > packages: > - *required_packages > - *libabigail_build_packages > + # aarch64 cross-compiling aarch32 jobs > + - env: DEF_LIB="shared" AARCH32=1 > + arch: arm64 > + compiler: gcc > + addons: > + apt: > + packages: > + - *arm_32b_packages > + - env: DEF_LIB="static" AARCH32=1 > + arch: arm64 > + compiler: gcc > + addons: > + apt: > + packages: > + - *arm_32b_packages > # aarch64 clang jobs > - env: DEF_LIB="static" > arch: arm64 > -- > 2.20.1