Skip to content

Fix Linux native flags for non-x86 CI builds#42

Merged
yawkat merged 3 commits intomainfrom
perf/native-build-tuning
Mar 2, 2026
Merged

Fix Linux native flags for non-x86 CI builds#42
yawkat merged 3 commits intomainfrom
perf/native-build-tuning

Conversation

@yawkat
Copy link
Owner

@yawkat yawkat commented Mar 2, 2026

Summary

  • split Linux CI native flags into architecture-neutral base flags and x86-only extras
  • apply x86-only flags only for amd64/i386, avoiding unsupported options on aarch64/ppc64le/s390x
  • pass -m32 in i386 linker flags to keep 32-bit object/link architecture consistent

Verification

  • ./mvnw -q verify passed locally
  • i386 cross build was exercised locally but failed due missing host 32-bit libc headers (bits/libc-header-start.h), so full i386 verification remains in GitHub Actions

@yawkat yawkat force-pushed the perf/native-build-tuning branch from 701ad7b to 395b8d9 Compare March 2, 2026 17:00
@yawkat yawkat merged commit de5e4db into main Mar 2, 2026
11 checks passed
@yawkat yawkat deleted the perf/native-build-tuning branch March 2, 2026 17:21
@github-actions
Copy link

github-actions bot commented Mar 2, 2026

🚀 Preview deployed to https://76b3de93.lz4-java-yawk-at.pages.dev

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