Ticket #52554: libomp.patch
File libomp.patch, 1.1 KB (added by devernay (Frédéric Devernay), 8 years ago) |
---|
-
ports/lang/libomp/Portfile
old new 24 24 subport libomp-devel {} 25 25 26 26 if {${subport} ne ${name}} { 27 if {${os.platform} eq "darwin" && ${ os.major} <= 12} {27 if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} eq "libstdc++"} { 28 28 version 291764 29 29 replaced_by libomp 30 30 } else { … … 45 45 } 46 46 } else { 47 47 conflicts libomp-devel 48 if {${os.platform} eq "darwin" && ${os.major} > 12} { 48 if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} eq "libstdc++"} { 49 if {${os.major} <= 12} { 50 # kmp_alloc.c includes <atomic> but libc++ is not the default on these systems 51 # see https://trac.macports.org/ticket/52554 52 configure.cflags-appends -stdlib=libc++ 53 } 49 54 github.setup llvm-mirror openmp 391 svn-tags/RELEASE_ 50 55 worksrcdir openmp-${version}/rc1/runtime 51 56 version 3.9.1