[138552] trunk/dports/lang/llvm-3.7

jeremyhu at macports.org jeremyhu at macports.org
Sat Jul 11 20:57:45 PDT 2015


Revision: 138552
          https://trac.macports.org/changeset/138552
Author:   jeremyhu at macports.org
Date:     2015-07-11 20:57:45 -0700 (Sat, 11 Jul 2015)
Log Message:
-----------
llvm-3.7: Bump to r241984

Revision Links:
--------------
    https://trac.macports.org/changeset/241984

Modified Paths:
--------------
    trunk/dports/lang/llvm-3.7/Portfile
    trunk/dports/lang/llvm-3.7/files/0001-Set-the-Mach-O-CPU-Subtype-to-ppc7400-when-targeting.patch
    trunk/dports/lang/llvm-3.7/files/0002-Define-EXC_MASK_CRASH-and-MACH_EXCEPTION_CODES-if-th.patch
    trunk/dports/lang/llvm-3.7/files/0003-MacPorts-Only-Update-install-targets-for-clang-subpo.patch
    trunk/dports/lang/llvm-3.7/files/0004-MacPorts-Only-Use-full-path-for-the-dylib-id-instead.patch
    trunk/dports/lang/llvm-3.7/files/0005-MacPorts-Only-Don-t-embed-the-deployment-target-in-t.patch
    trunk/dports/lang/llvm-3.7/files/0006-MacPorts-Only-Skip-checking-for-python-in-configure.patch

Modified: trunk/dports/lang/llvm-3.7/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.7/Portfile	2015-07-12 01:30:36 UTC (rev 138551)
+++ trunk/dports/lang/llvm-3.7/Portfile	2015-07-12 03:57:45 UTC (rev 138552)
@@ -64,7 +64,7 @@
 }
 
 fetch.type              svn
-svn.revision            239386
+svn.revision            241984
 
 set compiler_rt_rev     ${svn.revision}
 set libcxx_rev          ${svn.revision}

Modified: trunk/dports/lang/llvm-3.7/files/0001-Set-the-Mach-O-CPU-Subtype-to-ppc7400-when-targeting.patch
===================================================================
--- trunk/dports/lang/llvm-3.7/files/0001-Set-the-Mach-O-CPU-Subtype-to-ppc7400-when-targeting.patch	2015-07-12 01:30:36 UTC (rev 138551)
+++ trunk/dports/lang/llvm-3.7/files/0001-Set-the-Mach-O-CPU-Subtype-to-ppc7400-when-targeting.patch	2015-07-12 03:57:45 UTC (rev 138552)
@@ -1,4 +1,4 @@
-From 7d437f9b6919c94737596f2aa981a90171485147 Mon Sep 17 00:00:00 2001
+From f16c7c7c57b0c1c0c319dcfd2fc75b6f74754d77 Mon Sep 17 00:00:00 2001
 From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
 Date: Sat, 17 Jan 2015 09:03:43 -0800
 Subject: [PATCH 1/6] Set the Mach-O CPU Subtype to ppc7400 when targeting
@@ -8,21 +8,21 @@
 
 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
 ---
- lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp | 14 +++++++++++---
- 1 file changed, 11 insertions(+), 3 deletions(-)
+ lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp | 13 ++++++++++---
+ 1 file changed, 10 insertions(+), 3 deletions(-)
 
 diff --git llvm_master/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp macports_master/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
-index 86885e1..93e69f1 100644
+index b6dd595..11a7953 100644
 --- llvm_master/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
 +++ macports_master/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
-@@ -200,16 +200,23 @@ public:
+@@ -201,16 +201,23 @@ public:
  // FIXME: This should be in a separate file.
  namespace {
    class DarwinPPCAsmBackend : public PPCAsmBackend {
 +    Triple TheTriple;
    public:
 -    DarwinPPCAsmBackend(const Target &T) : PPCAsmBackend(T, false) { }
-+    DarwinPPCAsmBackend(const Target &T, StringRef TT) : PPCAsmBackend(T, false), TheTriple(TT) { }
++    DarwinPPCAsmBackend(const Target &T, const Triple &TT) : PPCAsmBackend(T, false), TheTriple(TT) { }
  
      MCObjectWriter *createObjectWriter(raw_pwrite_stream &OS) const override {
        bool is64 = getPointerSize() == 8;
@@ -41,17 +41,15 @@
      }
    };
  
-@@ -230,8 +237,9 @@ namespace {
- MCAsmBackend *llvm::createPPCAsmBackend(const Target &T,
+@@ -232,7 +239,7 @@ MCAsmBackend *llvm::createPPCAsmBackend(const Target &T,
                                          const MCRegisterInfo &MRI,
-                                         StringRef TT, StringRef CPU) {
-+
-   if (Triple(TT).isOSDarwin())
+                                         const Triple &TT, StringRef CPU) {
+   if (TT.isOSDarwin())
 -    return new DarwinPPCAsmBackend(T);
 +    return new DarwinPPCAsmBackend(T, TT);
  
-   uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(Triple(TT).getOS());
-   bool IsLittleEndian = Triple(TT).getArch() == Triple::ppc64le;
+   uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TT.getOS());
+   bool IsLittleEndian = TT.getArch() == Triple::ppc64le;
 -- 
-2.3.6
+2.4.5
 

Modified: trunk/dports/lang/llvm-3.7/files/0002-Define-EXC_MASK_CRASH-and-MACH_EXCEPTION_CODES-if-th.patch
===================================================================
--- trunk/dports/lang/llvm-3.7/files/0002-Define-EXC_MASK_CRASH-and-MACH_EXCEPTION_CODES-if-th.patch	2015-07-12 01:30:36 UTC (rev 138551)
+++ trunk/dports/lang/llvm-3.7/files/0002-Define-EXC_MASK_CRASH-and-MACH_EXCEPTION_CODES-if-th.patch	2015-07-12 03:57:45 UTC (rev 138552)
@@ -1,4 +1,4 @@
-From c970cc398a56fd669e2961629382169d1ba6f125 Mon Sep 17 00:00:00 2001
+From 926188bfdadd442ec13728899368293231fd94d7 Mon Sep 17 00:00:00 2001
 From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
 Date: Sun, 18 Jan 2015 11:18:13 -0800
 Subject: [PATCH 2/6] Define EXC_MASK_CRASH and MACH_EXCEPTION_CODES if they're
@@ -12,10 +12,10 @@
  1 file changed, 9 insertions(+)
 
 diff --git llvm_master/lib/Support/Unix/Signals.inc macports_master/lib/Support/Unix/Signals.inc
-index 057bcab1..5317dc1 100644
+index bfe2a3a..adcec0c 100644
 --- llvm_master/lib/Support/Unix/Signals.inc
 +++ macports_master/lib/Support/Unix/Signals.inc
-@@ -490,6 +490,15 @@ void llvm::sys::PrintStackTraceOnErrorSignal(bool DisableCrashReporting) {
+@@ -502,6 +502,15 @@ void llvm::sys::PrintStackTraceOnErrorSignal(bool DisableCrashReporting) {
    AddSignalHandler(PrintStackTraceSignalHandler, nullptr);
  
  #if defined(__APPLE__) && defined(ENABLE_CRASH_OVERRIDES)
@@ -32,5 +32,5 @@
    if (DisableCrashReporting || getenv("LLVM_DISABLE_CRASH_REPORT")) {
      mach_port_t self = mach_task_self();
 -- 
-2.3.6
+2.4.5
 

Modified: trunk/dports/lang/llvm-3.7/files/0003-MacPorts-Only-Update-install-targets-for-clang-subpo.patch
===================================================================
--- trunk/dports/lang/llvm-3.7/files/0003-MacPorts-Only-Update-install-targets-for-clang-subpo.patch	2015-07-12 01:30:36 UTC (rev 138551)
+++ trunk/dports/lang/llvm-3.7/files/0003-MacPorts-Only-Update-install-targets-for-clang-subpo.patch	2015-07-12 03:57:45 UTC (rev 138552)
@@ -1,4 +1,4 @@
-From 0ce2a130b451991645a4a53453ff5929a85094c0 Mon Sep 17 00:00:00 2001
+From f6ed98762356a8013899b2b4deee7584c2e1c396 Mon Sep 17 00:00:00 2001
 From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
 Date: Sat, 17 Jan 2015 16:33:09 -0800
 Subject: [PATCH 3/6] MacPorts Only: Update install targets for clang subport
@@ -27,5 +27,5 @@
    NO_INSTALL = 1
  endif
 -- 
-2.3.6
+2.4.5
 

Modified: trunk/dports/lang/llvm-3.7/files/0004-MacPorts-Only-Use-full-path-for-the-dylib-id-instead.patch
===================================================================
--- trunk/dports/lang/llvm-3.7/files/0004-MacPorts-Only-Use-full-path-for-the-dylib-id-instead.patch	2015-07-12 01:30:36 UTC (rev 138551)
+++ trunk/dports/lang/llvm-3.7/files/0004-MacPorts-Only-Use-full-path-for-the-dylib-id-instead.patch	2015-07-12 03:57:45 UTC (rev 138552)
@@ -1,4 +1,4 @@
-From 9c6f4a750262a4711c053b5a732782a4b7dd085f Mon Sep 17 00:00:00 2001
+From 9e8b2808ef169b554819db23add3acc5ae33e984 Mon Sep 17 00:00:00 2001
 From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
 Date: Sat, 17 Jan 2015 16:34:41 -0800
 Subject: [PATCH 4/6] MacPorts Only: Use full path for the dylib id instead of
@@ -28,5 +28,5 @@
  endif
  endif
 -- 
-2.3.6
+2.4.5
 

Modified: trunk/dports/lang/llvm-3.7/files/0005-MacPorts-Only-Don-t-embed-the-deployment-target-in-t.patch
===================================================================
--- trunk/dports/lang/llvm-3.7/files/0005-MacPorts-Only-Don-t-embed-the-deployment-target-in-t.patch	2015-07-12 01:30:36 UTC (rev 138551)
+++ trunk/dports/lang/llvm-3.7/files/0005-MacPorts-Only-Don-t-embed-the-deployment-target-in-t.patch	2015-07-12 03:57:45 UTC (rev 138552)
@@ -1,4 +1,4 @@
-From f9b4ed9fc963fde5f936c9363193a51f0068f541 Mon Sep 17 00:00:00 2001
+From a735f95fdb9839db8c70a836998c591773b28cba Mon Sep 17 00:00:00 2001
 From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
 Date: Sat, 17 Jan 2015 16:41:30 -0800
 Subject: [PATCH 5/6] MacPorts Only: Don't embed the deployment target in the
@@ -12,10 +12,10 @@
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git llvm_master/lib/CodeGen/AsmPrinter/AsmPrinter.cpp macports_master/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
-index a8fb9b7..248abb4 100644
+index b574a51..f821a9f 100644
 --- llvm_master/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 +++ macports_master/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
-@@ -191,7 +191,7 @@ bool AsmPrinter::doInitialization(Module &M) {
+@@ -189,7 +189,7 @@ bool AsmPrinter::doInitialization(Module &M) {
    // use the directive, where it would need the same conditionalization
    // anyway.
    Triple TT(getTargetTriple());
@@ -25,5 +25,5 @@
      TT.getOSVersion(Major, Minor, Update);
      // If there is a version specified, Major will be non-zero.
 -- 
-2.3.6
+2.4.5
 

Modified: trunk/dports/lang/llvm-3.7/files/0006-MacPorts-Only-Skip-checking-for-python-in-configure.patch
===================================================================
--- trunk/dports/lang/llvm-3.7/files/0006-MacPorts-Only-Skip-checking-for-python-in-configure.patch	2015-07-12 01:30:36 UTC (rev 138551)
+++ trunk/dports/lang/llvm-3.7/files/0006-MacPorts-Only-Skip-checking-for-python-in-configure.patch	2015-07-12 03:57:45 UTC (rev 138552)
@@ -1,4 +1,4 @@
-From ed0e2b9e8de53e74cc59ad7a76e6cf9f43065b63 Mon Sep 17 00:00:00 2001
+From fd3f7b3caf4f4334352860052adf8f22c76ed9a4 Mon Sep 17 00:00:00 2001
 From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
 Date: Sat, 17 Jan 2015 16:43:00 -0800
 Subject: [PATCH 6/6] MacPorts Only: Skip checking for python in configure
@@ -9,10 +9,10 @@
  1 file changed, 87 deletions(-)
 
 diff --git llvm_master/configure macports_master/configure
-index 7ddb0f3..7db3a37 100755
+index a5acfde..c5a3f61 100755
 --- llvm_master/configure
 +++ macports_master/configure
-@@ -8438,93 +8438,6 @@ CXXFLAGS="$llvm_cv_old_cxxflags"
+@@ -8468,93 +8468,6 @@ CXXFLAGS="$llvm_cv_old_cxxflags"
  echo "${ECHO_T}$NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS $COVERED_SWITCH_DEFAULT $NO_UNINITIALIZED $NO_MAYBE_UNINITIALIZED $NO_COMMENT" >&6; }
  
  
@@ -107,5 +107,5 @@
  echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
  if test "${ac_cv_lib_m_sin+set}" = set; then
 -- 
-2.3.6
+2.4.5
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150711/34088b9a/attachment-0001.html>


More information about the macports-changes mailing list