[148585] trunk/dports/lang/llvm-3.9/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed May 11 21:11:52 PDT 2016


Revision: 148585
          https://trac.macports.org/changeset/148585
Author:   jeremyhu at macports.org
Date:     2016-05-11 21:11:52 -0700 (Wed, 11 May 2016)
Log Message:
-----------
llvm-3.9: Disable tsan on older platforms

https://llvm.org/bugs/show_bug.cgi?id=23539

Modified Paths:
--------------
    trunk/dports/lang/llvm-3.9/Portfile

Modified: trunk/dports/lang/llvm-3.9/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.9/Portfile	2016-05-12 01:24:06 UTC (rev 148584)
+++ trunk/dports/lang/llvm-3.9/Portfile	2016-05-12 04:11:52 UTC (rev 148585)
@@ -174,6 +174,11 @@
         -DCLANG_ENABLE_STATIC_ANALYZER=OFF \
         -DLLVM_BUILD_RUNTIME=ON \
         -DLIBCXX_INSTALL_LIBRARY=OFF
+
+    if {${os.major} <= 12} {
+        configure.args-append \
+            -DCOMPILER_RT_HAS_TSAN=OFF
+    }
 }
 
 # llvm-3.5 and later requires a C++11 runtime
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160511/ab44444d/attachment-0001.html>


More information about the macports-changes mailing list