[89944] trunk/dports/lang

jeremyhu at macports.org jeremyhu at macports.org
Wed Feb 15 22:18:11 PST 2012


Revision: 89944
          http://trac.macports.org/changeset/89944
Author:   jeremyhu at macports.org
Date:     2012-02-15 22:18:09 -0800 (Wed, 15 Feb 2012)
Log Message:
-----------
clang-{2.9,3.0}: Include compiler-rt with clang

Modified Paths:
--------------
    trunk/dports/lang/clang-2.9/Portfile
    trunk/dports/lang/clang-3.0/Portfile

Modified: trunk/dports/lang/clang-2.9/Portfile
===================================================================
--- trunk/dports/lang/clang-2.9/Portfile	2012-02-16 06:17:31 UTC (rev 89943)
+++ trunk/dports/lang/clang-2.9/Portfile	2012-02-16 06:18:09 UTC (rev 89944)
@@ -4,7 +4,7 @@
 PortGroup select        1.0
 
 set llvm_version        2.9
-revision                5
+revision                6
 name                    clang-${llvm_version}
 set suffix              mp-${llvm_version}
 set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
@@ -35,10 +35,12 @@
 #fetch.type              svn
 #svn.revision            146339
 #version                 ${llvm_version}-r${svn.revision}
+#set compiler_rt_rev     ${svn.revision}
 #worksrcdir              release_29
 #svn.url                 http://llvm.org/svn/llvm-project/llvm/branches/${worksrcdir}
 
 version                 ${llvm_version}
+set compiler_rt_rev     128674
 epoch                   1
 master_sites            http://llvm.org/releases/${version}/
 extract.suffix          .tgz
@@ -86,6 +88,7 @@
 post-extract {
     #system "cd ${worksrcpath}/tools && svn co -r ${svn.revision} http://llvm.org/svn/llvm-project/cfe/branches/release_29 clang"
     file rename ${workpath}/clang-${llvm_version} ${worksrcpath}/tools/clang
+    system "cd ${worksrcpath}/projects && svn co -r ${compiler_rt_rev} http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt"
 }
 
 variant analyzer description {Install clang static analyzer} {

Modified: trunk/dports/lang/clang-3.0/Portfile
===================================================================
--- trunk/dports/lang/clang-3.0/Portfile	2012-02-16 06:17:31 UTC (rev 89943)
+++ trunk/dports/lang/clang-3.0/Portfile	2012-02-16 06:18:09 UTC (rev 89944)
@@ -4,7 +4,7 @@
 PortGroup select        1.0
 
 set llvm_version        3.0
-revision                4
+revision                5
 name                    clang-${llvm_version}
 set suffix              mp-${llvm_version}
 set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
@@ -35,10 +35,12 @@
 #fetch.type              svn
 #svn.revision            146339
 #version                 ${llvm_version}-r${svn.revision}
+#set compiler_rt_rev     ${svn.revision}
 #worksrcdir              release_30
 #svn.url                 http://llvm.org/svn/llvm-project/llvm/branches/${worksrcdir}
 
 version                 ${llvm_version}
+set compiler_rt_rev     142041
 epoch                   1
 master_sites            http://llvm.org/releases/${version}/
 extract.suffix          .tar.gz
@@ -86,6 +88,7 @@
 post-extract {
     #system "cd ${worksrcpath}/tools && svn co -r ${svn.revision} http://llvm.org/svn/llvm-project/cfe/branches/release_30 clang"
     file rename ${workpath}/clang-${llvm_version}.src ${worksrcpath}/tools/clang
+    system "cd ${worksrcpath}/projects && svn co -r ${compiler_rt_rev} http://llvm.org/svn/llvm-project/compiler-rt/branches/release_30 compiler-rt"
 }
 
 variant analyzer description {Install clang static analyzer} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120215/d72a7840/attachment-0001.html>


More information about the macports-changes mailing list