This is an archive of the discontinued LLVM Phabricator instance.

[zorg] Fixes for solaris11-amd64, solaris11-sparcv9 builders
ClosedPublic

Authored by ro on Jun 25 2019, 1:26 AM.

Details

Summary

The first few days of running the Solaris 11 buildbots revealed a couple of problems:

  • The builders didn't honor the slaves' configured jobs property, but were running with the full parallelism discovered by ninja. That massivly impacts other builders running on these systems, so im explicitly configuring jobs in the builder configs, too.
  • Along the same line, the number of paralllel links is the worst problem here. I had experimented with the LLVM_PARALLEL_LINK_JOBS option in the past, but only now (in cmake/modules/HandleLLVMOptions.cmake) discovered that it's Ninja-only. I'm reducing it to 4 here as an experiment.
  • Unlike Solaris/x86, the Solaris/SPARC configure triplet defaults to sparc-sun-solaris2.11, which results in clang creating 32-bit binaries by default. It turns out to be an inconsistency in config.guess which I'm trying to get resolved. In the meantime, I'm forcing the proper triplet on both sparc and x86.

Diff Detail

Repository
rL LLVM

Event Timeline

ro created this revision.Jun 25 2019, 1:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 25 2019, 1:26 AM
This revision is now accepted and ready to land.Jun 26 2019, 1:48 PM
This revision was automatically updated to reflect the committed changes.