@@ -22,19 +22,19 @@ WorkDir = "rustc-%s-src" %get.srcVERSION()
|
||||
#At phase 2, rust will be built again with this newly built rust.
|
||||
#Before phase 2, the lines below will be commented out.
|
||||
|
||||
#RustBinDir = "rust-%s-x86_64-unknown-linux-gnu" %get.srcVERSION()
|
||||
#RustcDir = "%s/rustbin" %get.workDIR()
|
||||
RustBinDir = "rust-%s-x86_64-unknown-linux-gnu" %get.srcVERSION()
|
||||
RustcDir = "%s/rustbin" %get.workDIR()
|
||||
|
||||
#################################################################
|
||||
|
||||
def build():
|
||||
#İkinci aşamada bu satırlar da yoruma çevrilecek.
|
||||
#At phase 2, these lines also will be commented out.
|
||||
#shelltools.cd(RustBinDir)
|
||||
#shelltools.system("./install.sh --prefix=%s" %RustcDir)
|
||||
#shelltools.cd("..")
|
||||
#pisitools.dosed("config.toml", "/usr/bin/cargo", RustcDir+"/bin/cargo")
|
||||
#pisitools.dosed("config.toml", "/usr/bin/rustc", RustcDir+"/bin/rustc")
|
||||
shelltools.cd(RustBinDir)
|
||||
shelltools.system("./install.sh --prefix=%s --without=rust-docs" %RustcDir)
|
||||
shelltools.cd("..")
|
||||
pisitools.dosed("config.toml", "/usr/bin/cargo", RustcDir+"/bin/cargo")
|
||||
pisitools.dosed("config.toml", "/usr/bin/rustc", RustcDir+"/bin/rustc")
|
||||
####################################################
|
||||
|
||||
shelltools.export("LC_ALL", "en_US.UTF-8")
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
<IsA>app</IsA>
|
||||
<Summary>Systems programming language focused on safety, speed and concurrency</Summary>
|
||||
<Description>Systems programming language focused on safety, speed and concurrency</Description>
|
||||
<Archive sha1sum="a26f089d27c9cc283a7305fc8ece6b4674a036fd" type="targz">https://static.rust-lang.org/dist/rustc-1.48.0-src.tar.gz</Archive>
|
||||
<Archive sha1sum="86657ff8f88d6ed8dd48189493249e4b8ec99ca7" type="targz">https://static.rust-lang.org/dist/rustc-1.50.0-src.tar.gz</Archive>
|
||||
<!-- Not: İkinci aşamada aşağıdaki satıra ihtiyaç olmayacak. Yoruma çevrilebilir. -->
|
||||
<!-- The line below will be unnecessary at phase 2, can be commented out. -->
|
||||
<!-- <Archive sha1sum="f0615a346a5db786a05b3e9ea45ef3ce5c86e5fb" type="targz" target="rustc-1.48.0-src">https://static.rust-lang.org/dist/rust-1.48.0-x86_64-unknown-linux-gnu.tar.gz</Archive> -->
|
||||
<Archive sha1sum="61f1032e2fa1e8fe36cb4cad74ee5f5065851fe7" type="targz" target="rustc-1.50.0-src">https://static.rust-lang.org/dist/rust-1.50.0-x86_64-unknown-linux-gnu.tar.gz</Archive>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile target="config.toml">bootstrap-config.toml</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<BuildDependencies>
|
||||
<Dependency>rust</Dependency>
|
||||
<Dependency>perl</Dependency>
|
||||
<Dependency versionFrom="11.0.0">llvm</Dependency>
|
||||
<Dependency versionFrom="11.1.0">llvm</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>ninja</Dependency>
|
||||
<Dependency>ocaml</Dependency>
|
||||
@@ -51,7 +51,7 @@
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libssh2</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency versionFrom="11.0.0">llvm-libs</Dependency>
|
||||
<Dependency versionFrom="11.1.0">llvm-libs</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
@@ -65,6 +65,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="18">
|
||||
<Date>2021-02-24</Date>
|
||||
<Version>1.50.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>İdris Kalp</Name>
|
||||
<Email>idriskalp@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="17">
|
||||
<Date>2020-12-26</Date>
|
||||
<Version>1.48.0</Version>
|
||||
|
||||
Reference in New Issue
Block a user