Commits

Ken Cunningham authored 4d5d3045665
clang-7.0/8.0/devel: disable fuzzer on <= 10.8

there is an unusual error in the libfuzzer cmake logic that makes it build against the iphonesimulator SDK this fails the thread_local test see: https://trac.macports.org/ticket/58291
No tags

lang/llvm-7.0/Portfile

Modified
262 262 # TODO: libc++ shouldn't be built at all.
263 263 # https://llvm.org/bugs/show_bug.cgi?id=25666
264 264
265 265 if {${os.major} <= 13} {
266 266 # We unfortunately don't have an option to just turn off tsan
267 267 # https://llvm.org/bugs/show_bug.cgi?id=27715
268 268 configure.args-append \
269 269 -DCOMPILER_RT_BUILD_SANITIZERS=OFF
270 270 }
271 271
272 - if {${os.major} <= 11} {
273 - # libfuzzer uses TLS, so disable it on Snow Leopard and earlier
272 + if {${os.major} <= 12} {
273 + # libfuzzer uses TLS, fails on 10.8 and less
274 + # possibly fixable, see https://trac.macports.org/ticket/58291
274 275 configure.args-append \
275 276 -DCOMPILER_RT_BUILD_LIBFUZZER=OFF
276 277 }
277 278
278 279 if {${os.major} <= 14} {
279 280 # XRAY uses TLS, MAP_ANONYMOUS, and clock_gettime, so disable it
280 281 # on systems that don't currently support these features
281 282 # see https://trac.macports.org/ticket/57130
282 283 # https://bugs.llvm.org/show_bug.cgi?id=38959
283 284 # https://bugs.llvm.org/show_bug.cgi?id=38958

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut