Skip to content

Feat/cross compile s390x and fixes#3185

Merged
IvanNardi merged 5 commits into
ntop:devfrom
IvanNardi:feat/cross-compile-s390x-and-fixes
May 26, 2026
Merged

Feat/cross compile s390x and fixes#3185
IvanNardi merged 5 commits into
ntop:devfrom
IvanNardi:feat/cross-compile-s390x-and-fixes

Conversation

@IvanNardi

Copy link
Copy Markdown
Collaborator

No description provided.

IvanNardi and others added 5 commits May 26, 2026 13:49
- utils/cross-compile-test-s390x.sh: new script mirroring the aarch64
  one but targeting IBM s390x; full mode installs s390x multiarch libs,
  builds examples+tests and runs the full test suite via QEMU binfmt_misc.
- utils/cross-compile-test.sh (aarch64): add pkgconf to COMMON_PKGS,
  remove stale src/include/ndpi_config.h before VPATH build,
  add full binfmt_misc test-suite section matching the s390x script.
- .github/workflows/build_crosscompilation.yml: add s390x CI job alongside
  the existing aarch64 job; both use the respective scripts in full mode.
- configure.ac: pre-set FILECMD and MANIFEST_TOOL via AC_PATH_PROG before
  LT_INIT so libtool's AC_CHECK_TOOL finds them already resolved and does
  not search for ${host}-file / ${host}-mt, eliminating the spurious
  "using cross tools not prefixed with host triplet" autoconf warning.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…full

Split the "run everything" --full mode into two distinct levels:
- --full: build examples + unit tests, run ndpiReader -H via QEMU (fast CI check)
- --tests: everything in --full, plus run tests/do.sh via QEMU binfmt_misc

MODE guards that gate multiarch setup, configure args and binary
verification now use != "library-only" so they fire for both --full and
--tests.  The test-suite block is gated on MODE == "tests" exclusively.
Update header comments to document all three modes and the new item 8.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@IvanNardi IvanNardi merged commit 70b7d94 into ntop:dev May 26, 2026
29 checks passed
@IvanNardi IvanNardi deleted the feat/cross-compile-s390x-and-fixes branch May 26, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant