Skip to content
Snippets Groups Projects
  • Alex Wang's avatar
    3e454402
    Prefer brewed Clang over gcc-6 for needs :openmp · 3e454402
    Alex Wang authored
    Clang has fully implemented OpenMP support as of LLVM 3.7, so if OpenMP
    is required by a formula gcc is no longer the only choice of compiler.
    
    Clang should be preferred over gcc because using gcc meant linking
    against libstdc++, which is ABI incompatible with libc++. This may be
    unnoticeable for some users, but it causes other builds to fail, e.g.
    pstoedit when imagemagick was built with OpenMP. pstoedit is required
    for the octave formula, so for some users this could be a significant
    problem.
    3e454402
    History
    Prefer brewed Clang over gcc-6 for needs :openmp
    Alex Wang authored
    Clang has fully implemented OpenMP support as of LLVM 3.7, so if OpenMP
    is required by a formula gcc is no longer the only choice of compiler.
    
    Clang should be preferred over gcc because using gcc meant linking
    against libstdc++, which is ABI incompatible with libc++. This may be
    unnoticeable for some users, but it causes other builds to fail, e.g.
    pstoedit when imagemagick was built with OpenMP. pstoedit is required
    for the octave formula, so for some users this could be a significant
    problem.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.