Skip to content

[flang] build regression: builds in Azure Pipelines run out of memory despite 16GB swapfile #117814

Open
@h-vetinari

Description

@h-vetinari

While trying to test #110217, both to provide feedback and to test its integration into our distribution (as well as meson), I've built LLVM from main (concretely 87bfa58). Due to the constraints of building on public CI (as well as for other concerns), we're building and packaging LLVM in various stages (compare here).

The main issue I wanted to raise is that I haven't managed to build flang 20 (and only flang; i.e. with clang, llvm, mlir etc. already pre-built) in azure pipeline's free CI; it runs out of memory on an agent with 7-8GB main memory plus a 16GB swapfile. I can try switching from -j2 (implicitly) to -j1, but then I'm afraid the build will run into timeouts, as we're already pushing the hard 6h timout. While flang has always been a handful to build, I consider this a regression in the broader sense since v19. CC @banach-space @sscalpone

This is perhaps another case where relanding #95672 would be beneficial (compare also discussion in #112789).

Metadata

Metadata

Assignees

No one assigned

    Labels

    build-problemflangFlang issues not falling into any other category

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions