[129355] trunk/dports/lang
larryv at macports.org
larryv at macports.org
Wed Dec 10 15:36:50 PST 2014
Revision: 129355
https://trac.macports.org/changeset/129355
Author: larryv at macports.org
Date: 2014-12-10 15:36:50 -0800 (Wed, 10 Dec 2014)
Log Message:
-----------
{clang,llvm}-3.{5,6}: Drop support for old OS X
LLVM 3.5 and 3.6 won't build on Tiger or Leopard anyway due to their
libc++ requirement, so we might as well clean up a bit.
(Jeremy signed off via email.)
Modified Paths:
--------------
trunk/dports/lang/llvm-3.5/Portfile
trunk/dports/lang/llvm-3.6/Portfile
Removed Paths:
-------------
trunk/dports/lang/llvm-3.5/files/leopard-no-asan.patch
trunk/dports/lang/llvm-3.5/files/tiger-libclang.patch
trunk/dports/lang/llvm-3.6/files/leopard-no-asan.patch
trunk/dports/lang/llvm-3.6/files/tiger-libclang.patch
Modified: trunk/dports/lang/llvm-3.5/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.5/Portfile 2014-12-10 23:33:22 UTC (rev 129354)
+++ trunk/dports/lang/llvm-3.5/Portfile 2014-12-10 23:36:50 UTC (rev 129355)
@@ -206,30 +206,10 @@
configure.optflags -Os
}
- if {${subport} == "clang-${llvm_version}" && ${os.major} <= 9} {
- patchfiles-append leopard-no-asan.patch
- }
-
# TODO: The llvm build system sets a 10.1 deployment target on Yosemite
if {[vercmp ${macosx_deployment_target} 10.10] >= 0} {
macosx_deployment_target 10.9
}
-
- if {${os.major} < 10} {
- post-patch {
- reinplace "/TARGETS_TO_BUILD=/s/R600//" ${worksrcpath}/configure
- }
- }
-
- if {${os.major} < 9} {
- # Tiger's DevTools make has issues with the nested ifs in compiler-rt
- depends_run-append port:gmake
- build.cmd ${prefix}/bin/gmake
-
- post-configure {
- reinplace "/^RPATH/s/=.*/=/" ${worksrcpath}/Makefile.config
- }
- }
}
post-extract {
Deleted: trunk/dports/lang/llvm-3.5/files/leopard-no-asan.patch
===================================================================
--- trunk/dports/lang/llvm-3.5/files/leopard-no-asan.patch 2014-12-10 23:33:22 UTC (rev 129354)
+++ trunk/dports/lang/llvm-3.5/files/leopard-no-asan.patch 2014-12-10 23:36:50 UTC (rev 129355)
@@ -1,27 +0,0 @@
-Index: llvm-3.3/projects/compiler-rt/make/platform/clang_darwin.mk
-===================================================================
---- llvm-3.3/projects/compiler-rt/make/platform/clang_darwin.mk (revision 185755)
-+++ llvm-3.3/projects/compiler-rt/make/platform/clang_darwin.mk (working copy)
-@@ -81,8 +81,8 @@ Configs += profile_ios
- UniversalArchs.profile_ios := $(call CheckArches,i386 x86_64 armv7,profile_ios)
-
- # Configurations which define the ASAN support functions.
--Configs += asan_osx_dynamic
--UniversalArchs.asan_osx_dynamic := $(call CheckArches,i386 x86_64,asan_osx_dynamic)
-+#Configs += asan_osx_dynamic
-+#UniversalArchs.asan_osx_dynamic := $(call CheckArches,i386 x86_64,asan_osx_dynamic)
-
- Configs += ubsan_osx
- UniversalArchs.ubsan_osx := $(call CheckArches,i386 x86_64,ubsan_osx)
-Index: llvm-3.3/tools/clang/runtime/compiler-rt/Makefile
-===================================================================
---- llvm-3.4/tools/clang/runtime/compiler-rt/Makefile (revision 185755)
-+++ llvm-3.4/tools/clang/runtime/compiler-rt/Makefile (working copy)
-@@ -77,7 +77,6 @@ ifeq ($(OS),Darwin)
- RuntimeDirs += darwin
- RuntimeLibrary.darwin.Configs := \
- eprintf.a 10.4.a osx.a ios.a cc_kext.a cc_kext_ios5.a \
-- asan_osx_dynamic.dylib \
- profile_osx.a profile_ios.a \
- ubsan_osx.a
- endif
Deleted: trunk/dports/lang/llvm-3.5/files/tiger-libclang.patch
===================================================================
Modified: trunk/dports/lang/llvm-3.6/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.6/Portfile 2014-12-10 23:33:22 UTC (rev 129354)
+++ trunk/dports/lang/llvm-3.6/Portfile 2014-12-10 23:36:50 UTC (rev 129355)
@@ -185,30 +185,10 @@
configure.optflags -Os
}
- if {${subport} == "clang-${llvm_version}" && ${os.major} <= 9} {
- patchfiles-append leopard-no-asan.patch
- }
-
# TODO: The llvm build system sets a 10.1 deployment target on Yosemite
if {[vercmp ${macosx_deployment_target} 10.10] >= 0} {
macosx_deployment_target 10.9
}
-
- if {${os.major} < 10} {
- post-patch {
- reinplace "/TARGETS_TO_BUILD=/s/R600//" ${worksrcpath}/configure
- }
- }
-
- if {${os.major} < 9} {
- # Tiger's DevTools make has issues with the nested ifs in compiler-rt
- depends_run-append port:gmake
- build.cmd ${prefix}/bin/gmake
-
- post-configure {
- reinplace "/^RPATH/s/=.*/=/" ${worksrcpath}/Makefile.config
- }
- }
}
post-extract {
Deleted: trunk/dports/lang/llvm-3.6/files/leopard-no-asan.patch
===================================================================
--- trunk/dports/lang/llvm-3.6/files/leopard-no-asan.patch 2014-12-10 23:33:22 UTC (rev 129354)
+++ trunk/dports/lang/llvm-3.6/files/leopard-no-asan.patch 2014-12-10 23:36:50 UTC (rev 129355)
@@ -1,27 +0,0 @@
-Index: llvm-3.3/projects/compiler-rt/make/platform/clang_darwin.mk
-===================================================================
---- llvm-3.3/projects/compiler-rt/make/platform/clang_darwin.mk (revision 185755)
-+++ llvm-3.3/projects/compiler-rt/make/platform/clang_darwin.mk (working copy)
-@@ -81,8 +81,8 @@ Configs += profile_ios
- UniversalArchs.profile_ios := $(call CheckArches,i386 x86_64 armv7,profile_ios)
-
- # Configurations which define the ASAN support functions.
--Configs += asan_osx_dynamic
--UniversalArchs.asan_osx_dynamic := $(call CheckArches,i386 x86_64,asan_osx_dynamic)
-+#Configs += asan_osx_dynamic
-+#UniversalArchs.asan_osx_dynamic := $(call CheckArches,i386 x86_64,asan_osx_dynamic)
-
- Configs += ubsan_osx
- UniversalArchs.ubsan_osx := $(call CheckArches,i386 x86_64,ubsan_osx)
-Index: llvm-3.3/tools/clang/runtime/compiler-rt/Makefile
-===================================================================
---- llvm-3.4/tools/clang/runtime/compiler-rt/Makefile (revision 185755)
-+++ llvm-3.4/tools/clang/runtime/compiler-rt/Makefile (working copy)
-@@ -77,7 +77,6 @@ ifeq ($(OS),Darwin)
- RuntimeDirs += darwin
- RuntimeLibrary.darwin.Configs := \
- eprintf.a 10.4.a osx.a ios.a cc_kext.a cc_kext_ios5.a \
-- asan_osx_dynamic.dylib \
- profile_osx.a profile_ios.a \
- ubsan_osx.a
- endif
Deleted: trunk/dports/lang/llvm-3.6/files/tiger-libclang.patch
===================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141210/cdadd3d5/attachment.html>
More information about the macports-changes
mailing list