-
Notifications
You must be signed in to change notification settings - Fork 13.4k
test-release.sh ninja install does builds in Phase 3 #80999
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
Comments
@llvm/issue-subscribers-infrastructure Author: Rainer Orth (rorth)
When running `test-release.sh` on Linux/sparc64 (although this happens everywhere), I noticed that in Phase3, `ninja install` actually does builds. This is unexpected, and made way worse because it passes on neither `-j<N>` options nor `-v`, so you cannot see what actually happens.
Missing the
|
FWIW, I've successfully used the following patch to move the builds back out of
|
@rorth Can you submit this fix in a PR? |
As described in [test-release.sh ninja install does builds in Phase 3](llvm#80999), considerable parts of Phase 3 of a `test-release.sh` build are run by `ninja install`, ignoring both `$Verbose` and the parallelism set via `-j NUM`. This patches fixes this by not specifying any explicit build target for Phase 3, thus running the full build as usual. Tested on `sparc64-unknown-linux-gnu`.
As described in [test-release.sh ninja install does builds in Phase 3](#80999), considerable parts of Phase 3 of a `test-release.sh` build are run by `ninja install`, ignoring both `$Verbose` and the parallelism set via `-j NUM`. This patches fixes this by not specifying any explicit build target for Phase 3, thus running the full build as usual. Tested on `sparc64-unknown-linux-gnu`.
) As described in [test-release.sh ninja install does builds in Phase 3](llvm#80999), considerable parts of Phase 3 of a `test-release.sh` build are run by `ninja install`, ignoring both `$Verbose` and the parallelism set via `-j NUM`. This patches fixes this by not specifying any explicit build target for Phase 3, thus running the full build as usual. Tested on `sparc64-unknown-linux-gnu`. (cherry picked from commit f6ac598)
) As described in [test-release.sh ninja install does builds in Phase 3](llvm#80999), considerable parts of Phase 3 of a `test-release.sh` build are run by `ninja install`, ignoring both `$Verbose` and the parallelism set via `-j NUM`. This patches fixes this by not specifying any explicit build target for Phase 3, thus running the full build as usual. Tested on `sparc64-unknown-linux-gnu`. (cherry picked from commit f6ac598)
When running
test-release.sh
on Linux/sparc64 (although this happens everywhere), I noticed that in Phase3,ninja install
actually does builds. This is unexpected, and made way worse because it passes on neither-j<N>
options nor-v
, so you cannot see what actually happens.Missing the
-j<N>
even badly broke the Linux/sparc64 build which is on a somewhat resource-constrained system. For that reason, the build is run with-j12
while the system has 24 cores. When it comes to Phase3, however, a large part of the build (flang
in particular) is run with the full parallelism, which totally overwhelms the memory resources of the system and ultimately causes the build to fail.flang
has always been sort of nightmare on every system because the source files are quite big and compilation way more memory intensive than every other part of LLVM.The text was updated successfully, but these errors were encountered: