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

jeremyhu at macports.org jeremyhu at macports.org
Tue May 24 10:04:08 PDT 2016


Revision: 148988
          https://trac.macports.org/changeset/148988
Author:   jeremyhu at macports.org
Date:     2016-05-24 10:04:08 -0700 (Tue, 24 May 2016)
Log Message:
-----------
llvm-3.9: Build fix for older OS versions

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-24 16:10:58 UTC (rev 148987)
+++ trunk/dports/lang/llvm-3.9/Portfile	2016-05-24 17:04:08 UTC (rev 148988)
@@ -173,12 +173,17 @@
         -DCLANG_INCLUDE_TESTS=OFF \
         -DCLANG_ENABLE_STATIC_ANALYZER=OFF \
         -DLLVM_BUILD_RUNTIME=ON \
+        -DLIBCXX_ENABLE_SHARED=OFF \
         -DLIBCXX_INSTALL_LIBRARY=OFF
 
+    # TODO: libc++ shouldn't be built at all.
+    #       https://llvm.org/bugs/show_bug.cgi?id=25666
+
     if {${os.major} <= 12} {
+        # We unfortunately don't have an option to just turn off tsan
         # https://llvm.org/bugs/show_bug.cgi?id=27715
         configure.args-append \
-            -DCOMPILER_RT_HAS_TSAN=OFF
+            -DCOMPILER_RT_BUILD_SANITIZERS=OFF
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160524/1e0719e0/attachment-0001.html>


More information about the macports-changes mailing list