Changeset 144733 for trunk/dports/lang


Ignore:
Timestamp:
Jan 16, 2016, 8:27:08 PM (3 years ago)
Author:
jeremyhu@…
Message:

llvm-3.8: Bump to current master and remove raise(), abort(), and assert_rtn() overrides

Location:
trunk/dports/lang/llvm-3.8
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/llvm-3.8/Portfile

    r144556 r144733  
    7070
    7171fetch.type              svn
    72 svn.revision            257459
     72svn.revision            257997
    7373
    7474set compiler_rt_rev     ${svn.revision}
     
    7777version                 ${llvm_version}-r${svn.revision}
    7878revision                1
    79 worksrcdir              trunk
    80 svn.url                 https://llvm.org/svn/llvm-project/llvm/trunk
    81 #worksrcdir              release_${llvm_version_no_dot}
    82 #svn.url                 https://llvm.org/svn/llvm-project/llvm/branches/release_${llvm_version_no_dot}
     79#worksrcdir              trunk
     80#svn.url                 https://llvm.org/svn/llvm-project/llvm/trunk
     81worksrcdir              release_${llvm_version_no_dot}
     82svn.url                 https://llvm.org/svn/llvm-project/llvm/branches/release_${llvm_version_no_dot}
    8383default_variants-append +assertions
    8484default_variants-append +debug
     
    110110        0005-MacPorts-Only-Don-t-embed-the-deployment-target-in-t.patch \
    111111        0006-MacPorts-Only-Skip-checking-for-python-in-configure.patch \
     112        0007-Remove-override-of-raise-abort-and-__assert_rtn.patch \
    112113        llvm-skip-unittests.patch
    113114
  • trunk/dports/lang/llvm-3.8/files/0001-Set-the-Mach-O-CPU-Subtype-to-ppc7400-when-targeting.patch

    r139391 r144733  
    1 From f16c7c7c57b0c1c0c319dcfd2fc75b6f74754d77 Mon Sep 17 00:00:00 2001
     1From 6bba00c71e59ac9cd2db1e630fe4a94b7451a220 Mon Sep 17 00:00:00 2001
    22From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
    33Date: Sat, 17 Jan 2015 09:03:43 -0800
    4 Subject: [PATCH 1/6] Set the Mach-O CPU Subtype to ppc7400 when targeting
     4Subject: [PATCH 1/7] Set the Mach-O CPU Subtype to ppc7400 when targeting
    55 Leopard
    66
     
    1212 1 file changed, 10 insertions(+), 3 deletions(-)
    1313
    14 diff --git llvm_master/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp macports_master/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
     14diff --git llvm_release_38/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp macports_release_38/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
    1515index b6dd595..11a7953 100644
    16 --- llvm_master/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
    17 +++ macports_master/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
     16--- llvm_release_38/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
     17+++ macports_release_38/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
    1818@@ -201,16 +201,23 @@ public:
    1919 // FIXME: This should be in a separate file.
     
    5252   bool IsLittleEndian = TT.getArch() == Triple::ppc64le;
    5353--
    54 2.4.5
     542.7.0
    5555
  • trunk/dports/lang/llvm-3.8/files/0002-Define-EXC_MASK_CRASH-and-MACH_EXCEPTION_CODES-if-th.patch

    r139391 r144733  
    1 From 926188bfdadd442ec13728899368293231fd94d7 Mon Sep 17 00:00:00 2001
     1From 1c7867cfc6dd0ebf1450001d634a7e7e0a313e6a Mon Sep 17 00:00:00 2001
    22From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
    33Date: Sun, 18 Jan 2015 11:18:13 -0800
    4 Subject: [PATCH 2/6] Define EXC_MASK_CRASH and MACH_EXCEPTION_CODES if they're
     4Subject: [PATCH 2/7] Define EXC_MASK_CRASH and MACH_EXCEPTION_CODES if they're
    55 not defined in the SDK
    66
     
    1212 1 file changed, 9 insertions(+)
    1313
    14 diff --git llvm_master/lib/Support/Unix/Signals.inc macports_master/lib/Support/Unix/Signals.inc
    15 index bfe2a3a..adcec0c 100644
    16 --- llvm_master/lib/Support/Unix/Signals.inc
    17 +++ macports_master/lib/Support/Unix/Signals.inc
    18 @@ -502,6 +502,15 @@ void llvm::sys::PrintStackTraceOnErrorSignal(bool DisableCrashReporting) {
     14diff --git llvm_release_38/lib/Support/Unix/Signals.inc macports_release_38/lib/Support/Unix/Signals.inc
     15index 061cdb3..4d687b3 100644
     16--- llvm_release_38/lib/Support/Unix/Signals.inc
     17+++ macports_release_38/lib/Support/Unix/Signals.inc
     18@@ -387,6 +387,15 @@ void llvm::sys::PrintStackTraceOnErrorSignal(bool DisableCrashReporting) {
    1919   AddSignalHandler(PrintStackTraceSignalHandler, nullptr);
    2020 
     
    3333     mach_port_t self = mach_task_self();
    3434--
    35 2.4.5
     352.7.0
    3636
  • trunk/dports/lang/llvm-3.8/files/0003-MacPorts-Only-Update-install-targets-for-clang-subpo.patch

    r139391 r144733  
    1 From f6ed98762356a8013899b2b4deee7584c2e1c396 Mon Sep 17 00:00:00 2001
     1From 6719d80f133381ed543e73ef853ab326e0445657 Mon Sep 17 00:00:00 2001
    22From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
    33Date: Sat, 17 Jan 2015 16:33:09 -0800
    4 Subject: [PATCH 3/6] MacPorts Only: Update install targets for clang subport
     4Subject: [PATCH 3/7] MacPorts Only: Update install targets for clang subport
    55
    66Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
     
    99 1 file changed, 4 insertions(+), 2 deletions(-)
    1010
    11 diff --git llvm_master/Makefile macports_master/Makefile
     11diff --git llvm_release_38/Makefile macports_release_38/Makefile
    1212index 2b9468a..19fbfdc 100644
    13 --- llvm_master/Makefile
    14 +++ macports_master/Makefile
     13--- llvm_release_38/Makefile
     14+++ macports_release_38/Makefile
    1515@@ -70,9 +70,11 @@ ifeq ($(MAKECMDGOALS),install-clang)
    1616   DIRS := tools/clang/tools/driver tools/clang/lib/Headers \
     
    2828 endif
    2929--
    30 2.4.5
     302.7.0
    3131
  • trunk/dports/lang/llvm-3.8/files/0004-MacPorts-Only-Use-full-path-for-the-dylib-id-instead.patch

    r139391 r144733  
    1 From 9e8b2808ef169b554819db23add3acc5ae33e984 Mon Sep 17 00:00:00 2001
     1From 23339e9b32d7456ec6a964f9cda01dac78f1128d Mon Sep 17 00:00:00 2001
    22From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
    33Date: Sat, 17 Jan 2015 16:34:41 -0800
    4 Subject: [PATCH 4/6] MacPorts Only: Use full path for the dylib id instead of
     4Subject: [PATCH 4/7] MacPorts Only: Use full path for the dylib id instead of
    55 @rpath
    66
     
    1010 1 file changed, 6 insertions(+), 1 deletion(-)
    1111
    12 diff --git llvm_master/Makefile.rules macports_master/Makefile.rules
    13 index 24cac3b..8775589 100644
    14 --- llvm_master/Makefile.rules
    15 +++ macports_master/Makefile.rules
    16 @@ -598,7 +598,12 @@ ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
     12diff --git llvm_release_38/Makefile.rules macports_release_38/Makefile.rules
     13index a67aef7..def94c0 100644
     14--- llvm_release_38/Makefile.rules
     15+++ macports_release_38/Makefile.rules
     16@@ -600,7 +600,12 @@ ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
    1717 ifneq ($(HOST_OS),Darwin)
    1818   LD.Flags += $(RPATH) -Wl,'$$ORIGIN'
     
    2929 endif
    3030--
    31 2.4.5
     312.7.0
    3232
  • trunk/dports/lang/llvm-3.8/files/0005-MacPorts-Only-Don-t-embed-the-deployment-target-in-t.patch

    r139391 r144733  
    1 From a735f95fdb9839db8c70a836998c591773b28cba Mon Sep 17 00:00:00 2001
     1From 25522bcea0e4f092f32ed4ab05d34d37618623a8 Mon Sep 17 00:00:00 2001
    22From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
    33Date: Sat, 17 Jan 2015 16:41:30 -0800
    4 Subject: [PATCH 5/6] MacPorts Only: Don't embed the deployment target in the
     4Subject: [PATCH 5/7] MacPorts Only: Don't embed the deployment target in the
    55 asm when using -fno-integrated-as
    66
     
    1212 1 file changed, 1 insertion(+), 1 deletion(-)
    1313
    14 diff --git llvm_master/lib/CodeGen/AsmPrinter/AsmPrinter.cpp macports_master/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    15 index b574a51..f821a9f 100644
    16 --- llvm_master/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    17 +++ macports_master/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    18 @@ -189,7 +189,7 @@ bool AsmPrinter::doInitialization(Module &M) {
    19    // use the directive, where it would need the same conditionalization
     14diff --git llvm_release_38/lib/CodeGen/AsmPrinter/AsmPrinter.cpp macports_release_38/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
     15index 5f67d3d..8824bd3 100644
     16--- llvm_release_38/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
     17+++ macports_release_38/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
     18@@ -193,7 +193,7 @@ bool AsmPrinter::doInitialization(Module &M) {
    2019   // anyway.
    2120   Triple TT(getTargetTriple());
    22 -  if (TT.isOSDarwin()) {
    23 +  if (TT.isOSDarwin() && MAI->useIntegratedAssembler()) {
     21   // If there is a version specified, Major will be non-zero.
     22-  if (TT.isOSDarwin() && TT.getOSMajorVersion() != 0) {
     23+  if (TT.isOSDarwin() && TT.getOSMajorVersion() != 0 && MAI->useIntegratedAssembler()) {
    2424     unsigned Major, Minor, Update;
    25      TT.getOSVersion(Major, Minor, Update);
    26      // If there is a version specified, Major will be non-zero.
     25     MCVersionMinType VersionType;
     26     if (TT.isWatchOS()) {
    2727--
    28 2.4.5
     282.7.0
    2929
  • trunk/dports/lang/llvm-3.8/files/0006-MacPorts-Only-Skip-checking-for-python-in-configure.patch

    r139391 r144733  
    1 From fd3f7b3caf4f4334352860052adf8f22c76ed9a4 Mon Sep 17 00:00:00 2001
     1From bda46b8c958c6ad05fdfdb8baed181ac3d4a138f Mon Sep 17 00:00:00 2001
    22From: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
    33Date: Sat, 17 Jan 2015 16:43:00 -0800
    4 Subject: [PATCH 6/6] MacPorts Only: Skip checking for python in configure
     4Subject: [PATCH 6/7] MacPorts Only: Skip checking for python in configure
    55
    66Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
     
    99 1 file changed, 87 deletions(-)
    1010
    11 diff --git llvm_master/configure macports_master/configure
    12 index a5acfde..c5a3f61 100755
    13 --- llvm_master/configure
    14 +++ macports_master/configure
    15 @@ -8468,93 +8468,6 @@ CXXFLAGS="$llvm_cv_old_cxxflags"
    16  echo "${ECHO_T}$NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS $COVERED_SWITCH_DEFAULT $NO_UNINITIALIZED $NO_MAYBE_UNINITIALIZED $NO_COMMENT" >&6; }
     11diff --git llvm_release_38/configure macports_release_38/configure
     12index c94fb13..0d01ba1 100755
     13--- llvm_release_38/configure
     14+++ macports_release_38/configure
     15@@ -8483,93 +8483,6 @@ CXXFLAGS="$llvm_cv_old_cxxflags"
     16 echo "${ECHO_T}$NO_VARIADIC_MACROS $MISSING_FIELD_INITIALIZERS $COVERED_SWITCH_DEFAULT $NO_UNINITIALIZED $NO_MAYBE_UNINITIALIZED $NO_COMMENT" >&6; }
    1717 
    1818 
     
    108108 if test "${ac_cv_lib_m_sin+set}" = set; then
    109109--
    110 2.4.5
     1102.7.0
    111111
Note: See TracChangeset for help on using the changeset viewer.