<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/669d25f5c72d218a6b9435d26a8b0d8e85a21b5d">https://github.com/macports/macports-ports/commit/669d25f5c72d218a6b9435d26a8b0d8e85a21b5d</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 669d25f5c72 llvm/clang-3.4: trim footprint
</span>669d25f5c72 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 669d25f5c72d218a6b9435d26a8b0d8e85a21b5d
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Mon Jun 14 21:22:59 2021 -0700
<span style='display:block; white-space:pre;color:#404040;'> llvm/clang-3.4: trim footprint
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * disable debug symbols
</span><span style='display:block; white-space:pre;color:#404040;'> * only build targets relevant to darwin
</span><span style='display:block; white-space:pre;color:#404040;'> * save about 600MB of space on all these older systems
</span>---
lang/llvm-3.4/Portfile | 23 ++++++-----------------
1 file changed, 6 insertions(+), 17 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.4/Portfile b/lang/llvm-3.4/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 721a848646f..ba60a996479 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,8 +9,8 @@ PortGroup compiler_blacklist_versions 1.0
</span> set llvm_version 3.4
set llvm_version_no_dot 34
name llvm-${llvm_version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 13
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport clang-${llvm_version} { revision 14 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport clang-${llvm_version} { revision 15 }
</span> set suffix mp-${llvm_version}
set sub_prefix ${prefix}/libexec/llvm-${llvm_version}
# prefix for deps using libstdc++ on a libc++ system
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,7 +21,6 @@ platforms darwin
</span> license NCSA
maintainers {jeremyhu @jeremyhu} {larryv @larryv} {kencu @kencu}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# work around a bug in base -- REMOVE ME when base is fixed
</span> #see https://trac.macports.org/ticket/59677
#see https://trac.macports.org/ticket/58779
if { !${use_xcode} && ![file exists ${configure.developer_dir}/SDKs] } {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -90,19 +89,6 @@ if {${os.platform} eq "darwin" && ${os.major} < 12 && ${cxx_stdlib} eq "libc++"}
</span> configure.env-append PATH=${bootstrap_prefix}/bin:$::env(PATH)
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#fetch.type svn
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#svn.revision 198150
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#set compiler_rt_rev ${svn.revision}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#set libcxx_rev ${svn.revision}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#set clang-modernize_rev ${svn.revision}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#version ${llvm_version}-r${svn.revision}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#worksrcdir trunk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#svn.url http://llvm.org/svn/llvm-project/llvm/trunk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#worksrcdir release_${llvm_version_no_dot}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#svn.url http://llvm.org/svn/llvm-project/llvm/branches/release_${llvm_version_no_dot}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#default_variants-append +assertions
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> version ${llvm_version}.2
epoch 1
master_sites https://releases.llvm.org/${version} https://releases.llvm.org/${llvm_version}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -195,9 +181,12 @@ configure.cmd ${worksrcpath}/configure
</span> configure.pre_args-delete --prefix=${prefix}
configure.args --enable-bindings=none --enable-libffi --enable-shared --enable-jit \
--enable-optimized --disable-profiling --enable-pic \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-debug-symbols --disable-debug-runtime \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-debug-symbols --disable-debug-runtime \
</span> --prefix="${sub_prefix}" --disable-assertions
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# need arm target or compiler-rt build fails
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append --enable-targets=x86,powerpc,arm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {${subport} eq "llvm-${llvm_version}"} {
select.group llvm
select.file ${filespath}/mp-${subport}
</pre><pre style='margin:0'>
</pre>