Changes between Initial Version and Version 1 of Ticket #38766


Ignore:
Timestamp:
Apr 11, 2013, 10:21:50 PM (11 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

It is intentional that atlas now defaults to clang; see r104549.

Yes, it's known that clang can use much more memory than gcc in some circumstances.

MacPorts usually starts multiple compiler processes, and by default it limits this to one process per CPU core or 1 process per GB of memory, whichever is less. But these limits were decided upon before we started using clang. Perhaps we should decrease this to one process per 2 GB of memory when clang is in use.

Individual ports can override this e.g. using use_parallel_build no to turn off parallel building entirely, and to my surprise, the atlas portfile already does this. So either the atlas build system is taking matters into its own hands about how many jobs to start, in which case it should be disabused of that notion, or a single clang process is taking that much memory, in which case that's very unfortunate.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38766

    • Property Owner changed from macports-tickets@… to vince@…
  • Ticket #38766 – Description

    initial v1  
    1414
    1515As gcc45 is no longer an option for atlas I did a "port upgrade atlas +gcc46" and the compilation finished after a quarter of an hour. Maybe that has to do with
    16 {{
    17 {Warning: GCC compilers on MacOS do not support AVX: downgrading.
     16{{{
     17Warning: GCC compilers on MacOS do not support AVX: downgrading.
    1818}}}
    1919