Skip to content

test-release.sh ninja install does builds in Phase 3 #80999

Closed
@rorth

Description

@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 -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.

Metadata

Metadata

Assignees

Labels

infrastructureBugs about LLVM infrastructure

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions