<pre style='margin:0'>
Jeremy Huddleston Sequoia (jeremyhu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/18ddbb8022068dc54be5d8e23af8f99a865d8369">https://github.com/macports/macports-ports/commit/18ddbb8022068dc54be5d8e23af8f99a865d8369</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 18ddbb8022068dc54be5d8e23af8f99a865d8369
</span>Author: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
AuthorDate: Thu Mar 2 18:21:38 2017 -0800
<span style='display:block; white-space:pre;color:#404040;'> llvm-4.0: Bump to 4.0-rc2
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Create a dsymutil symlink, so cfe will use it instead of /usr/bin/dsymutil
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes https://trac.macports.org/ticket/53673
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
</span>---
lang/llvm-4.0/Portfile | 62 +++++++++++++++++++++++++++++++++++---------------
1 file changed, 44 insertions(+), 18 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-4.0/Portfile b/lang/llvm-4.0/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 733cfd9..c9691a0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-4.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-4.0/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,7 +13,7 @@ set clang_executable_version 4.0
</span> set lldb_executable_version 4.0.0
name llvm-${llvm_version}
revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-subport clang-${llvm_version} { revision 1 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport clang-${llvm_version} {}
</span> subport lldb-${llvm_version} {}
set suffix mp-${llvm_version}
set sub_prefix ${prefix}/libexec/llvm-${llvm_version}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -81,29 +81,30 @@ if {${subport} eq "llvm-${llvm_version}"} {
</span> depends_lib-append port:libedit port:libffi port:ncurses port:zlib
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-fetch.type svn
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-svn.revision 292772
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_extract-append port:subversion
</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:#e0ffe0;'>+#fetch.type svn
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#svn.revision 292772
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#depends_extract-append port:subversion
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#set compiler_rt_rev ${svn.revision}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#set libcxx_rev ${svn.revision}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#set clang-modernize_rev ${svn.revision}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#version ${llvm_version}-r${svn.revision}
</span> #worksrcdir trunk
#svn.url https://llvm.org/svn/llvm-project/llvm/trunk
<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 https://llvm.org/svn/llvm-project/llvm/branches/release_${llvm_version_no_dot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#worksrcdir release_${llvm_version_no_dot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#svn.url https://llvm.org/svn/llvm-project/llvm/branches/release_${llvm_version_no_dot}
</span> #default_variants-append +assertions
#default_variants-append +debug
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#version ${llvm_version}.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#epoch 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version ${llvm_version}.0rc2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+epoch 1
</span> #master_sites http://llvm.org/releases/${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#use_xz yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#extract.suffix .tar.xz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#distfiles llvm-${version}.src${extract.suffix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#worksrcdir llvm-${version}.src
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites http://llvm.org/pre-releases/4.0.0/rc2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+extract.suffix .tar.xz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distfiles llvm-${version}.src${extract.suffix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir llvm-${version}.src
</span>
if {${distfiles} ne ""} {
if {${subport} eq "llvm-${llvm_version}"} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -117,6 +118,28 @@ if {${distfiles} ne ""} {
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums llvm-4.0.0rc2.src.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 f039c6c686d1acbb34a938b0f06ab1a250578ea9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2257faed3795fedfc509d6dd5905be158231c508c6fcaaa02e4a09c5e8dadbe1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cfe-4.0.0rc2.src.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 682bd85cc41ff3e384ca43766fc8f8008e26695f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 76d6c9b7f388a93a0303dbbac0e42b183b242f822b65eb44064679e7c36aa5dc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler-rt-4.0.0rc2.src.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 aa3436d28936190dba7e6e5d17763951898201ae \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 5902f67a9feadc74b455b3f4979a2ff913918209a681e104d6010622334a201e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libcxx-4.0.0rc2.src.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 7177858d93073831e55f274e8ad12adb917329b4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 d631c653c2b05b63683f62a9eea2b1284ce9ac49256f6a1744b462e7dca60c8c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ clang-tools-extra-4.0.0rc2.src.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 c8dcc9fab697aa1734c2274a9fe5d5242ee6d83e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1f682bd28714cf95b3e5fa6e638276973442fed349acd8a38a08f15bca9efb7a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lldb-4.0.0rc2.src.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 4a02ce99ff657c883bdee62c1a639f9a955610fa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 07cce3289d97a8f7fbd069e8105fecf722fb3631d9b0822a5b1dacf0d7a1713c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ polly-4.0.0rc2.src.tar.xz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 a1cb673e328ac301ce656d01fe71cc80502b7dca \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 4055b07bdbe32c157002761ab85ade6df4d1b9b3cb25bbb9ad333db007cb873b
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> patch.pre_args -p1
patchfiles \
0001-Set-the-Mach-O-CPU-Subtype-to-ppc7400-when-targeting.patch \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -469,6 +492,9 @@ post-destroot {
</span> # file rename ${man} ${destroot}${prefix}/share/man/man1/[string map ".1 -${suffix}.1" ${basename}]
#}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/53673
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s llvm-dsymutil ${destroot}${sub_prefix}/bin/dsymutil
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # https://llvm.org/bugs/show_bug.cgi?id=19465
if {[variant_isset polly]} {
ln -s LLVMPolly.so ${destroot}${sub_prefix}/lib/LLVMPolly.dylib
</pre><pre style='margin:0'>
</pre>