pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

WIP update rust to 1.18.0



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Fri Jun 9 08:23:20 2017 +0300
Changeset:	021a7665ad94f3ff6d388b6c3706b7f8b2877c48

Modified Files:
	rust/Makefile
	rust/TODO
	rust/distinfo

Log Message:
WIP update rust to 1.18.0

Highlights include:
- Fetching random stuff from github to your home directory!
- Still no install
- Actually useful 'make mdi', now.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=021a7665ad94f3ff6d388b6c3706b7f8b2877c48

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rust/Makefile | 54 +++++++++++++++++++++++++++-------------
 rust/TODO     |  2 +-
 rust/distinfo | 80 +++++++++++++++++++++++++++++++++++++++++++++++------------
 3 files changed, 102 insertions(+), 34 deletions(-)

diffs:
diff --git a/rust/Makefile b/rust/Makefile
index b57b9beb42..e7d6104ef1 100644
--- a/rust/Makefile
+++ b/rust/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.7 2017/03/20 11:36:35 jperkin Exp $
 
-DISTNAME=	rustc-1.17.0-src
+DISTNAME=	rustc-1.18.0-src
 PKGNAME=	${DISTNAME:S/rustc/rust/:S/-src//}
 CATEGORIES=	lang
 MASTER_SITES=	http://static.rust-lang.org/dist/
@@ -28,14 +28,11 @@ CHECK_PORTABILITY_SKIP+=	src/grammar/check.sh
 .include "../../mk/bsd.prefs.mk"
 
 DISTFILES:=		${DEFAULT_DISTFILES}
-RUST_STAGE0_VER=	1.16.0
-CARGO_STAGE0_VER=	0.17.0
-
-# If these are wrong, rust will begin fetching and creating these directories
+RUST_STAGE0_VER=	1.17.0
+CARGO_STAGE0_VER=	0.18.0
+# If this wrong, rust will begin fetching and creating these directories
 # in rustc*-src/build/cache.
-RUSTC_BULLSHIT:=	2017-03-11
-CARGO_BULLSHIT:=	6b05583d71f982bcad049b9fa094c637c062e751
-CARGO_DIRNAME:=		cargo-nightly-${RUST_MACHINE}.tar.gz
+CARGO_DIRNAME=		${WRKSRC}/build/cache/2017-04-27
 
 # Rust doesn't support pre-i686 Intel
 .if ${MACHINE_ARCH} == "i386"
@@ -52,17 +49,16 @@ RUST_VENDOR=		unknown
 
 RUST_MACHINE=		${RUST_ARCH}-${RUST_VENDOR}-${LOWER_OPSYS}
 
-RUSTC_STAGE0:=		rustc-${RUST_STAGE0_VER}-${RUST_MACHINE}.tar.gz
-RUST_STD_STAGE0:=       rust-std-${RUST_STAGE0_VER}-${RUST_MACHINE}.tar.gz
-CARGO_STAGE0:=          cargo-${CARGO_STAGE0_VER}-${RUST_MACHINE}.tar.gz
-DISTFILES:=             ${DISTFILES} ${RUSTC_STAGE0} ${RUST_STD_STAGE0} ${CARGO_STAGE0}
+RUSTC_STAGE0=		rustc-${RUST_STAGE0_VER}-${RUST_MACHINE}.tar.gz
+RUST_STD_STAGE0=	rust-std-${RUST_STAGE0_VER}-${RUST_MACHINE}.tar.gz
+CARGO_STAGE0=		cargo-${CARGO_STAGE0_VER}-${RUST_MACHINE}.tar.gz
+DISTFILES+=		${RUSTC_STAGE0} ${RUST_STD_STAGE0} ${CARGO_STAGE0}
 
 pre-extract:
-	${MKDIR} ${WRKSRC}/build/cache/${RUSTC_BULLSHIT} \
-	         ${WRKSRC}/build/cache/${CARGO_BULLSHIT}
-	${CP} ${DISTDIR}/${RUSTC_STAGE0} ${WRKSRC}/build/cache/${RUSTC_BULLSHIT}
-	${CP} ${DISTDIR}/${RUST_STD_STAGE0} ${WRKSRC}/build/cache/${RUSTC_BULLSHIT}
-	${CP} ${DISTDIR}/${CARGO_STAGE0} ${WRKSRC}/build/cache/${CARGO_BULLSHIT}/${CARGO_DIRNAME}
+	${MKDIR} ${CARGO_DIRNAME}
+	${CP} ${DISTDIR}/${RUSTC_STAGE0} ${CARGO_DIRNAME}
+	${CP} ${DISTDIR}/${RUST_STD_STAGE0} ${CARGO_DIRNAME}
+	${CP} ${DISTDIR}/${CARGO_STAGE0} ${CARGO_DIRNAME}
 
 do-configure:
 	${CP} ${FILESDIR}/config.toml ${WRKSRC}/src/bootstrap
@@ -82,6 +78,30 @@ do-build:
 BUILDLINK_TRANSFORM.NetBSD+=	rm:-Wl,--enable-new-dtags
 
 
+# Package maintenance bits
+
+# invoke "make mdi PLUS_BOOTSTRAPS=1"
+.if defined(PLUS_BOOTSTRAPS)
+
+# When adding a target here, also add it to available.mk
+RUST_MACHINES=	i686-apple-darwin \
+		x86_64-apple-darwin \
+		i686-unknown-linux-gnu \
+		x86_64-unknown-linux-gnu \
+		x86_64-unknown-netbsd \
+#		x86_64-sun-solaris
+
+.for MACHINE in ${RUST_MACHINES}
+RUSTCS+=	rustc-${RUST_STAGE0_VER}-${MACHINE}.tar.gz
+RUST_STDS+=	rust-std-${RUST_STAGE0_VER}-${MACHINE}.tar.gz
+CARGOS+=	cargo-${CARGO_STAGE0_VER}-${MACHINE}.tar.gz
+.endfor
+
+DISTFILES+=	${RUSTCS} ${RUST_STDS} ${CARGOS}
+
+.endif
+
+
 # XXX using builtin LLVM
 #.include "../../lang/llvm/buildlink3.mk"
 .include "../../devel/cmake/buildlink3.mk"
diff --git a/rust/TODO b/rust/TODO
index 06f0c55a68..2803b0da1d 100644
--- a/rust/TODO
+++ b/rust/TODO
@@ -1,10 +1,10 @@
 IMPORTANT:
 Currently lacking an install / PLIST!
 Need bootstrap for platforms for which upstream doesn't release binaries
+Fetching shit to ~/.cargo
 
 Secondary:
 Test target doesn't work
 
 Maybe not worth caring about:
 LLVM is builtin, not a dependency (jakllsch mentions it might be hard to tear out)
-make distinfo is currently a lot more of a pain
diff --git a/rust/distinfo b/rust/distinfo
index 283d62c09a..b8432e2144 100644
--- a/rust/distinfo
+++ b/rust/distinfo
@@ -1,21 +1,69 @@
 $NetBSD$
 
-SHA1 (cargo-0.17.0-x86_64-unknown-netbsd.tar.gz) = 4217419a81ad1a2667c9c7a5c83f9b21decc0e1d
-RMD160 (cargo-0.17.0-x86_64-unknown-netbsd.tar.gz) = 656dd699424546df14fe2274f413127b157aa52f
-SHA512 (cargo-0.17.0-x86_64-unknown-netbsd.tar.gz) = 88a4dd14305db3c93ad579cc5115ec21967f9276ca31b5f005c648e92e78b0e8113c3c813f408187065fdb94f230d6f35f6b761bbd93488336c64fbd07ff10ff
-Size (cargo-0.17.0-x86_64-unknown-netbsd.tar.gz) = 4378248 bytes
-SHA1 (rust-std-1.16.0-x86_64-unknown-netbsd.tar.gz) = 650ce93e362f57fe95adc5d509ec468a0071f29b
-RMD160 (rust-std-1.16.0-x86_64-unknown-netbsd.tar.gz) = b98cba7d53caab01a72e60600d40547742c11788
-SHA512 (rust-std-1.16.0-x86_64-unknown-netbsd.tar.gz) = 798bf36b2436a2924f716210a60d32b1a4a52094f92b12eb05b9962469986cd806c511408b5c0d03fe6d8a4d20df720a0f3dbdc6170287adb638b11d0f97684a
-Size (rust-std-1.16.0-x86_64-unknown-netbsd.tar.gz) = 53826344 bytes
-SHA1 (rustc-1.16.0-x86_64-unknown-netbsd.tar.gz) = af23477dce1ef29f781254c1381fac48725ccf8e
-RMD160 (rustc-1.16.0-x86_64-unknown-netbsd.tar.gz) = 75873a69e29eb998ea59e765be268f7c330cf85f
-SHA512 (rustc-1.16.0-x86_64-unknown-netbsd.tar.gz) = f4638ef98555a6801924a0fd86882e3975468a8f1f0b02c295bc0c263c134af133a72df8566facb99be7795edc4ebdfb77ba1620440fce7d591f09dafab28f94
-Size (rustc-1.16.0-x86_64-unknown-netbsd.tar.gz) = 39947139 bytes
-SHA1 (rustc-1.17.0-src.tar.gz) = 68dccc81901b75e0fce2a34c015d754593fa79c2
-RMD160 (rustc-1.17.0-src.tar.gz) = 5f7a316fd5f703359a48aee020caad6025a50b71
-SHA512 (rustc-1.17.0-src.tar.gz) = 781799b29d83b4f0f433814bd818df034526db8e7f88c2df51d3b814eacafe8098d4bbe47ace951e1943325b3267b244007cf04f1f11083645b25aeacd40ebb6
-Size (rustc-1.17.0-src.tar.gz) = 31570599 bytes
+SHA1 (cargo-0.18.0-i686-apple-darwin.tar.gz) = 2335103ed4ab1b5dff1908264dbea33b99ef68a6
+RMD160 (cargo-0.18.0-i686-apple-darwin.tar.gz) = 14e4949ccd24e081667154e56fbb184d666182a3
+SHA512 (cargo-0.18.0-i686-apple-darwin.tar.gz) = 4ba2032c021f4c6f26eb4035d53b17ab8e02efb25f259969eff8cdd7e040d37dce7856be0c9863f4ed9eb34a8f0cd31972a0d2b1ee0880e8b3466ab4fd58d947
+Size (cargo-0.18.0-i686-apple-darwin.tar.gz) = 3341274 bytes
+SHA1 (cargo-0.18.0-i686-unknown-linux-gnu.tar.gz) = 9c7efe58fdb980c6aeb9eb289f14b5c02f585dff
+RMD160 (cargo-0.18.0-i686-unknown-linux-gnu.tar.gz) = 03edc1546f6880c626b35c7e89d37ac1bf87ec72
+SHA512 (cargo-0.18.0-i686-unknown-linux-gnu.tar.gz) = 8f8bdaecc8d4bc9f79e5db853ad97eb6120db9371edac6e2abd5ae90ca47881befccd527e9eefcdb01a1f586bd72f4edc053cfa61e0cb76a11ad54151584d00d
+Size (cargo-0.18.0-i686-unknown-linux-gnu.tar.gz) = 4940463 bytes
+SHA1 (cargo-0.18.0-x86_64-apple-darwin.tar.gz) = e54a8dc5afe5240dcaa9578b582b6e886b5cb164
+RMD160 (cargo-0.18.0-x86_64-apple-darwin.tar.gz) = df796e385fab2e7ef0f040c1f744231738ac74b4
+SHA512 (cargo-0.18.0-x86_64-apple-darwin.tar.gz) = e1832a7dd9b994dfd78a587877de977ef4e2e454738061086b791df73439a5cd7f9aa734d6418b9c5e2dfadc2bbb648e395b88d676ec9b9beb9f661ed0f4c2f7
+Size (cargo-0.18.0-x86_64-apple-darwin.tar.gz) = 3627387 bytes
+SHA1 (cargo-0.18.0-x86_64-unknown-linux-gnu.tar.gz) = de3a369af554d6c65f623c299be58e75b6f76fe9
+RMD160 (cargo-0.18.0-x86_64-unknown-linux-gnu.tar.gz) = 5fc876bf4a48ea3765340e783b059c56b595744d
+SHA512 (cargo-0.18.0-x86_64-unknown-linux-gnu.tar.gz) = 84e459fbb848e7127d2c11c411edd0845aa4feb2638e45a6c71456fad9eb314b61ae9b5db6c9161a3455656614f4ab6685626a0f6d61a5b424162d676ba9556f
+Size (cargo-0.18.0-x86_64-unknown-linux-gnu.tar.gz) = 4996337 bytes
+SHA1 (cargo-0.18.0-x86_64-unknown-netbsd.tar.gz) = a58577d2162dce60492e137e7bf7afa9a5888e60
+RMD160 (cargo-0.18.0-x86_64-unknown-netbsd.tar.gz) = 77ba62cfb0a952de8ed3f71873ac22af97aec2f7
+SHA512 (cargo-0.18.0-x86_64-unknown-netbsd.tar.gz) = b4c1a9c801ef1eeef2ad023a1531b0c86bd5be9b319bcf1c622288431353902be4287805473e0e2ef63631e933b6d729a0b01b99863f51ac30fdc8d46cb7ce25
+Size (cargo-0.18.0-x86_64-unknown-netbsd.tar.gz) = 4456514 bytes
+SHA1 (rust-std-1.17.0-i686-apple-darwin.tar.gz) = 9c33e6ba6561b0f6e424137f5e9817876ff179c1
+RMD160 (rust-std-1.17.0-i686-apple-darwin.tar.gz) = 4082033f858183e90f0d9a355bafd098ffd60963
+SHA512 (rust-std-1.17.0-i686-apple-darwin.tar.gz) = a93e15659d23ed75d29a71923e34bb14bf68809239c95015c3735c62719e00e577eaee906ac0d446dfda3524d80a1e019c3d7b478893d8020ba5ccd86a55ad09
+Size (rust-std-1.17.0-i686-apple-darwin.tar.gz) = 45943447 bytes
+SHA1 (rust-std-1.17.0-i686-unknown-linux-gnu.tar.gz) = 800ff6efe430dde5a9b067de4ed90a99ed07c904
+RMD160 (rust-std-1.17.0-i686-unknown-linux-gnu.tar.gz) = 13f1d01388b2ff7d54dc93609f7920a8e7288279
+SHA512 (rust-std-1.17.0-i686-unknown-linux-gnu.tar.gz) = 49e3edccd63de0567dbed7ed9d7cabf331e40f88bbe550e2ed36b2ceda39ce153e7994e2123e6c18374d230a5a32064213462545ddaa881898b346c6cd1f20da
+Size (rust-std-1.17.0-i686-unknown-linux-gnu.tar.gz) = 54896638 bytes
+SHA1 (rust-std-1.17.0-x86_64-apple-darwin.tar.gz) = d965ba6741bd101b7db354c689d0c3b4d8dbd080
+RMD160 (rust-std-1.17.0-x86_64-apple-darwin.tar.gz) = 661b417ae7809f91efa04bb4ba232d28e444493f
+SHA512 (rust-std-1.17.0-x86_64-apple-darwin.tar.gz) = a99ffda55204672e04051c1026783641a2020f22150e3f90d0d25b4b5920d6b7abfe48eb60e5354f1a3ba4fc52a686a0a31350123d06d200087d82cf9c3d4a32
+Size (rust-std-1.17.0-x86_64-apple-darwin.tar.gz) = 46043567 bytes
+SHA1 (rust-std-1.17.0-x86_64-unknown-linux-gnu.tar.gz) = d823658205a6a4a61f3b0c79d4970094b28d6ee6
+RMD160 (rust-std-1.17.0-x86_64-unknown-linux-gnu.tar.gz) = 3812fcbf4bdfe683f5f67638123646f1f6e0b6ff
+SHA512 (rust-std-1.17.0-x86_64-unknown-linux-gnu.tar.gz) = 83bd3118f02812fa1ffeeffacbc248cff5a0c0eec329e6e624bfee4a716f3f94ce464e1173695a753283e19352a4161fce095816be65bb59c14539b9b35ad11b
+Size (rust-std-1.17.0-x86_64-unknown-linux-gnu.tar.gz) = 64603172 bytes
+SHA1 (rust-std-1.17.0-x86_64-unknown-netbsd.tar.gz) = 43364f5bf4da536b9f6cfcb992ab419e12c1f047
+RMD160 (rust-std-1.17.0-x86_64-unknown-netbsd.tar.gz) = 36666bf354a701e7a643afdd99700e4bf21624d9
+SHA512 (rust-std-1.17.0-x86_64-unknown-netbsd.tar.gz) = b9f401aa178b420f3ccfdb3ca4bdb9a3e37911792c7bbb432cf1b67f20fb3237ec0cb9b9c35bb3e00df968e2b77e97bf15bcd54f54103eecec3a1af2b46f9723
+Size (rust-std-1.17.0-x86_64-unknown-netbsd.tar.gz) = 54977038 bytes
+SHA1 (rustc-1.17.0-i686-apple-darwin.tar.gz) = ea394ac805b180e894131cdcfea69ae742c099e5
+RMD160 (rustc-1.17.0-i686-apple-darwin.tar.gz) = c5ea88332448b3cf439b1203ef4090484932aa21
+SHA512 (rustc-1.17.0-i686-apple-darwin.tar.gz) = 8e3673ab8fc22528fdc5274e81298d8a63b2338b67601e1dde33c26d9960e141991a4e92803cc4454eaf50a5dfd16d95411889173b723769f4b7fdfda8ab8372
+Size (rustc-1.17.0-i686-apple-darwin.tar.gz) = 34294697 bytes
+SHA1 (rustc-1.17.0-i686-unknown-linux-gnu.tar.gz) = 719deaf76e38f305cecf1abdceedc5a407811d06
+RMD160 (rustc-1.17.0-i686-unknown-linux-gnu.tar.gz) = d9cd312e8461eaba95b9508442383079dcf87461
+SHA512 (rustc-1.17.0-i686-unknown-linux-gnu.tar.gz) = b92f9bf26e329bba19eb7ae90006ac1811949da932562614faf651721c092af61a42d37d3ea1b51e8a6db46a12086283a5dc553dfa11da669a0aedb8bd7e4722
+Size (rustc-1.17.0-i686-unknown-linux-gnu.tar.gz) = 40762125 bytes
+SHA1 (rustc-1.17.0-x86_64-apple-darwin.tar.gz) = 917e95f158df98380f8b97e8c72253e8d58fb28f
+RMD160 (rustc-1.17.0-x86_64-apple-darwin.tar.gz) = ce8d694b2b6e5bf75f3ed0ff65da961655429065
+SHA512 (rustc-1.17.0-x86_64-apple-darwin.tar.gz) = 6b35bba0c4ae43d5df0095414da37fcceefc22d4ff09e6b1ada4491f2918ed96fc0a7cf1057284dbad139aec651fb8ea3eda6dde7b0d713bc8dff9d54770d981
+Size (rustc-1.17.0-x86_64-apple-darwin.tar.gz) = 34345106 bytes
+SHA1 (rustc-1.17.0-x86_64-unknown-linux-gnu.tar.gz) = f8d89ead9877a63a7d6f84cbb04aa5f000550805
+RMD160 (rustc-1.17.0-x86_64-unknown-linux-gnu.tar.gz) = 7e322a6cb09200843e3d6dd52202029cc4472b4b
+SHA512 (rustc-1.17.0-x86_64-unknown-linux-gnu.tar.gz) = cb96f4026f6732bdce1a7c1c7a295d7da178a20087349f906a1ae245a46180d459cd302429d33e4d31b7b7e050d3f1327b061ecfd4ad3c88be4cca0bf3f5c2cd
+Size (rustc-1.17.0-x86_64-unknown-linux-gnu.tar.gz) = 38960208 bytes
+SHA1 (rustc-1.17.0-x86_64-unknown-netbsd.tar.gz) = bad2ab51977b88d0a8f82103695870f0dbfda43f
+RMD160 (rustc-1.17.0-x86_64-unknown-netbsd.tar.gz) = 71062fd9ab05180bbdeeb0e067449a2ebf7ffe18
+SHA512 (rustc-1.17.0-x86_64-unknown-netbsd.tar.gz) = e2cd56e2c5606f5a165894a7ff5a30b1ebda5c35f8ce87ee3edecd59bdd34fe9bc8cf855cff0f8cc82cb3e88851fe226af2f9969f5a0c9ebf766811981deba57
+Size (rustc-1.17.0-x86_64-unknown-netbsd.tar.gz) = 40739433 bytes
+SHA1 (rustc-1.18.0-src.tar.gz) = 1195775bea5c524d4033f03c7289b357d5dc4a84
+RMD160 (rustc-1.18.0-src.tar.gz) = 74640641b01c5b8efecae62672f561b712c5e21a
+SHA512 (rustc-1.18.0-src.tar.gz) = eff0460b647dfb3490e28d4dec4f9781d31a942f22de75d9bd1ba31591597226b6862ec5132e8b4fcdbcf6e6ffa085ca5dda7ff8260cd82388fc13e8d3b4a2eb
+Size (rustc-1.18.0-src.tar.gz) = 33111774 bytes
 SHA1 (patch-src_compiler-rt_lib_builtins_CMakeLists.txt) = 288870c40b5e4ce29cbfb19cc9f56d35152c47fa
 SHA1 (patch-src_llvm_cmake_modules_AddLLVM.cmake) = 282d97cce8d01cfefe565185d4999c2db9ccc13f
 SHA1 (patch-src_llvm_lib_CodeGen_MachineDominanceFrontier.cpp) = 2899771b1a23be840b9305eff7e5e5f957239ccb


Home | Main Index | Thread Index | Old Index