-
Notifications
You must be signed in to change notification settings - Fork 140
Makefile: targeted workaround for s390x builds on c10s #1674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,6 +95,13 @@ cat vendor-config.toml >> .cargo/config.toml | |
rm vendor-config.toml | ||
|
||
%build | ||
# https://issues.redhat.com/browse/RHEL-116881 | ||
%if 0%{?rhel} >= 10 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wasn't this happening on c9s too? I suspect it has to do with the rust version, not the host OS version. It seems simpler to just unconditionally do it on s390x anyways. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @henrywang mentioned it happening on c9s but I haven't seen it happen yet in our CI, I figured I would be more conservative at first and if we start to see it showing up on 9 we can add it. If it's not broken on Fedora for example I'd rather not enable the workaround there. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OH, sorry, my bad @jeckersb. It's CS10, not CS9. CS9 is empty my brain. Sorry about that! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Less broken things = better! |
||
if test $(arch) = s390x; then | ||
export MALLOC_MMAP_MAX_=0 | ||
fi | ||
%endif | ||
|
||
# Build the main bootc binary | ||
%if %new_cargo_macros | ||
%cargo_build %{?with_rhsm:-f rhsm} | ||
|
Uh oh!
There was an error while loading. Please reload this page.