[CRIU] [PATCH 00/10] build: Test and support armv7 cross

Dmitry Safonov dima at arista.com
Fri Nov 22 00:56:33 MSK 2019


A new Travis-CI job verifies that cross-build will keep working.
As I didn't want to quick-dirty fix cross compilation, there are
also a couple of cleanup patches.

Also adds a hack to zdtm to build tests in aarchv7 on armv8 Travis.

Originally based on Andrei's Dockerfile to cross-build for ppc64le
which was slow in qemu+binfmt job before Travis-CI started to support
ppc64 in LXC.

Also, should be useful for any new architecture port (hint: mips) that's
not supported by Travis-CI, but still wants to be tested.

Dmitry Safonov (10):
  build: Remove SRCARCH
  build/nmk: Remove SRCARCH
  build/nmk: Provide proper SUBARCH
  build: Use SUBARCH
  build/zdtm: Support cross-build
  build/zdtm: Makefile hack for travis aarch64/armv8l
  build/zdtm: Use pkg-config to find includes/libs
  travis: Add armv7-cross as cross-compile test
  Documentation: Add a hint about docker build
  zdtm/socket-tcp-fin-wait1: Use array index fro TEST_MSG

 .travis.yml                             |  4 ++
 Documentation/HOWTO.cross-compile       |  8 ++-
 Makefile                                |  9 ++--
 Makefile.config                         |  2 +-
 compel/plugins/Makefile                 |  4 +-
 criu/Makefile                           |  2 +-
 criu/pie/Makefile                       |  6 +--
 criu/pie/Makefile.library               |  4 +-
 scripts/build/Dockerfile.armv7-cross    | 44 +++++++++++++++++
 scripts/build/Makefile                  |  1 +
 scripts/nmk/scripts/include.mk          | 28 +++++------
 test/zdtm/Makefile.inc                  | 66 ++++++++++++++++---------
 test/zdtm/static/Makefile               |  8 +--
 test/zdtm/static/socket-tcp-fin-wait1.c |  2 +-
 14 files changed, 128 insertions(+), 60 deletions(-)
 create mode 100644 scripts/build/Dockerfile.armv7-cross

-- 
2.24.0



More information about the CRIU mailing list