[131758] trunk/dports/lang

jeremyhu at macports.org jeremyhu at macports.org
Sat Jan 17 09:06:06 PST 2015


Revision: 131758
          https://trac.macports.org/changeset/131758
Author:   jeremyhu at macports.org
Date:     2015-01-17 09:06:06 -0800 (Sat, 17 Jan 2015)
Log Message:
-----------
llvm-3.7: New port, tracking llvm master

Modified Paths:
--------------
    trunk/dports/lang/llvm-3.7/Portfile
    trunk/dports/lang/llvm-3.7/files/clang-format.patch

Added Paths:
-----------
    trunk/dports/lang/llvm-3.7/
    trunk/dports/lang/llvm-3.7/files/llvm-integrated-as.patch
    trunk/dports/lang/llvm-3.7/files/mp-clang-3.7
    trunk/dports/lang/llvm-3.7/files/mp-llvm-3.7

Removed Paths:
-------------
    trunk/dports/lang/llvm-3.7/files/mp-clang-3.6
    trunk/dports/lang/llvm-3.7/files/mp-llvm-3.6

Modified: trunk/dports/lang/llvm-3.7/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.6/Portfile	2015-01-16 03:08:17 UTC (rev 131700)
+++ trunk/dports/lang/llvm-3.7/Portfile	2015-01-17 17:06:06 UTC (rev 131758)
@@ -4,8 +4,8 @@
 PortGroup select        1.0
 PortGroup compiler_blacklist_versions 1.0
 
-set llvm_version        3.6
-set llvm_version_no_dot 36
+set llvm_version        3.7
+set llvm_version_no_dot 37
 name                    llvm-${llvm_version}
 subport                 clang-${llvm_version} {}
 set suffix              mp-${llvm_version}
@@ -63,7 +63,7 @@
 }
 
 fetch.type              svn
-svn.revision            225216
+svn.revision            226372
 
 set compiler_rt_rev     ${svn.revision}
 set libcxx_rev          ${svn.revision}
@@ -107,6 +107,9 @@
     patchfiles-append    scan-build-PR-35006.patch \
                          0001-Comment-out-SL-cctools-workaround.patch \
                          0001-Update-CheckArches-to-fallback-on-Intel-ppc-if-ld-v-.patch \
+                         0003-Fix-local-and-iterator-when-building-with-Lion-and-n.patch \
+                         0004-implement-atomic-using-mutex-lock_guard-for-64b-ops-.patch \
+                         llvm-integrated-as.patch \
                          clang-format.patch \
                          clang-modernize.patch \
                          snowleopard-cmath.patch \

Modified: trunk/dports/lang/llvm-3.7/files/clang-format.patch
===================================================================
--- trunk/dports/lang/llvm-3.6/files/clang-format.patch	2015-01-16 03:08:17 UTC (rev 131700)
+++ trunk/dports/lang/llvm-3.7/files/clang-format.patch	2015-01-17 17:06:06 UTC (rev 131758)
@@ -50,15 +50,16 @@
 diff -Naurp trunk.orig/tools/clang/tools/clang-format/clang-format.el trunk/tools/clang/tools/clang-format/clang-format.el
 --- trunk.orig/tools/clang/tools/clang-format/clang-format.el	2014-11-24 11:31:46.000000000 -0800
 +++ trunk/tools/clang/tools/clang-format/clang-format.el	2014-11-24 11:34:41.000000000 -0800
-@@ -13,7 +13,7 @@
+@@ -36,8 +36,7 @@
+   :group 'tools)
  
- ;; *Location of the clang-format binary. If it is on your PATH, a full path name
- ;; need not be specified.
--(defvar clang-format-binary "clang-format")
-+(defvar clang-format-binary "@CLANG_FORMAT_PATH@")
+ (defcustom clang-format-executable
+-  (or (executable-find "clang-format")
+-      "clang-format")
++  "@CLANG_FORMAT_PATH@"
+   "Location of the clang-format executable.
  
- (defun clang-format-region ()
-   "Use clang-format to format the currently active region."
+ A string containing the name or the full path of the executable."
 diff -Naurp trunk.orig/tools/clang/tools/clang-format/clang-format.py trunk/tools/clang/tools/clang-format/clang-format.py
 --- trunk.orig/tools/clang/tools/clang-format/clang-format.py	2014-11-24 11:31:46.000000000 -0800
 +++ trunk/tools/clang/tools/clang-format/clang-format.py	2014-11-24 11:35:39.000000000 -0800

Added: trunk/dports/lang/llvm-3.7/files/llvm-integrated-as.patch
===================================================================
--- trunk/dports/lang/llvm-3.7/files/llvm-integrated-as.patch	                        (rev 0)
+++ trunk/dports/lang/llvm-3.7/files/llvm-integrated-as.patch	2015-01-17 17:06:06 UTC (rev 131758)
@@ -0,0 +1,15 @@
+http://llvm.org/bugs/show_bug.cgi?id=21636
+
+Index: lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+===================================================================
+--- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
++++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+@@ -186,7 +186,7 @@
+   // use the directive, where it would need the same conditionalization
+   // anyway.
+   Triple TT(getTargetTriple());
+-  if (TT.isOSDarwin()) {
++  if (TT.isOSDarwin() && MAI->useIntegratedAssembler()) {
+     unsigned Major, Minor, Update;
+     TT.getOSVersion(Major, Minor, Update);
+     // If there is a version specified, Major will be non-zero.

Deleted: trunk/dports/lang/llvm-3.7/files/mp-clang-3.6
===================================================================
--- trunk/dports/lang/llvm-3.6/files/mp-clang-3.6	2015-01-16 03:08:17 UTC (rev 131700)
+++ trunk/dports/lang/llvm-3.7/files/mp-clang-3.6	2015-01-17 17:06:06 UTC (rev 131758)
@@ -1,7 +0,0 @@
--
-bin/clang++-mp-3.6
-bin/clang-mp-3.6
-bin/clang-format-mp-3.6
-bin/clang-modernize-mp-3.6
-bin/scan-build-mp-3.6
-bin/scan-view-mp-3.6

Copied: trunk/dports/lang/llvm-3.7/files/mp-clang-3.7 (from rev 131700, trunk/dports/lang/llvm-3.6/files/mp-clang-3.6)
===================================================================
--- trunk/dports/lang/llvm-3.7/files/mp-clang-3.7	                        (rev 0)
+++ trunk/dports/lang/llvm-3.7/files/mp-clang-3.7	2015-01-17 17:06:06 UTC (rev 131758)
@@ -0,0 +1,7 @@
+-
+bin/clang++-mp-3.7
+bin/clang-mp-3.7
+bin/clang-format-mp-3.7
+bin/clang-modernize-mp-3.7
+bin/scan-build-mp-3.7
+bin/scan-view-mp-3.7

Deleted: trunk/dports/lang/llvm-3.7/files/mp-llvm-3.6
===================================================================
--- trunk/dports/lang/llvm-3.6/files/mp-llvm-3.6	2015-01-16 03:08:17 UTC (rev 131700)
+++ trunk/dports/lang/llvm-3.7/files/mp-llvm-3.6	2015-01-17 17:06:06 UTC (rev 131758)
@@ -1,30 +0,0 @@
-bin/bugpoint-mp-3.6
-bin/llc-mp-3.6
-bin/lli-mp-3.6
-bin/llvm-ar-mp-3.6
-bin/llvm-as-mp-3.6
-bin/llvm-bcanalyzer-mp-3.6
-bin/llvm-config-mp-3.6
-bin/llvm-cov-mp-3.6
-bin/llvm-diff-mp-3.6
-bin/llvm-dis-mp-3.6
-bin/llvm-dwarfdump-mp-3.6
-bin/llvm-extract-mp-3.6
--
-bin/llvm-link-mp-3.6
-bin/llvm-mc-mp-3.6
-bin/llvm-mcmarkup-mp-3.6
-bin/llvm-nm-mp-3.6
-bin/llvm-objdump-mp-3.6
--
-bin/llvm-ranlib-mp-3.6
-bin/llvm-rtdyld-mp-3.6
-bin/llvm-size-mp-3.6
--
-bin/llvm-stress-mp-3.6
-bin/llvm-symbolizer-mp-3.6
-bin/llvm-tblgen-mp-3.6
--
-bin/macho-dump-mp-3.6
-bin/opt-mp-3.6
-bin/llvm-tblgen-mp-3.6

Copied: trunk/dports/lang/llvm-3.7/files/mp-llvm-3.7 (from rev 131700, trunk/dports/lang/llvm-3.6/files/mp-llvm-3.6)
===================================================================
--- trunk/dports/lang/llvm-3.7/files/mp-llvm-3.7	                        (rev 0)
+++ trunk/dports/lang/llvm-3.7/files/mp-llvm-3.7	2015-01-17 17:06:06 UTC (rev 131758)
@@ -0,0 +1,30 @@
+bin/bugpoint-mp-3.7
+bin/llc-mp-3.7
+bin/lli-mp-3.7
+bin/llvm-ar-mp-3.7
+bin/llvm-as-mp-3.7
+bin/llvm-bcanalyzer-mp-3.7
+bin/llvm-config-mp-3.7
+bin/llvm-cov-mp-3.7
+bin/llvm-diff-mp-3.7
+bin/llvm-dis-mp-3.7
+bin/llvm-dwarfdump-mp-3.7
+bin/llvm-extract-mp-3.7
+-
+bin/llvm-link-mp-3.7
+bin/llvm-mc-mp-3.7
+bin/llvm-mcmarkup-mp-3.7
+bin/llvm-nm-mp-3.7
+bin/llvm-objdump-mp-3.7
+-
+bin/llvm-ranlib-mp-3.7
+bin/llvm-rtdyld-mp-3.7
+bin/llvm-size-mp-3.7
+-
+bin/llvm-stress-mp-3.7
+bin/llvm-symbolizer-mp-3.7
+bin/llvm-tblgen-mp-3.7
+-
+bin/macho-dump-mp-3.7
+bin/opt-mp-3.7
+bin/llvm-tblgen-mp-3.7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150117/e41f408b/attachment-0001.html>


More information about the macports-changes mailing list