pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust Various updates and additions:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/30c5783e8589
branches:  trunk
changeset: 319407:30c5783e8589
user:      he <he%pkgsrc.org@localhost>
date:      Wed Feb 13 08:29:52 2019 +0000

description:
Various updates and additions:
 * Add commented-out settings for cross-building to aarch64--netbsd
 * Add clang wrappers (ultimately I could not complete the target build for
   aarch64/8.0 using clang, due to the build wanting libgcc_s, and its
   non-presence there, and I could not decipher the build logic)
 * I built i386--netbsd version 1.31.1, point to my version, since
   it's not available from ryoon@ and appears to be required to build 1.32.0
 * Bump powerpc--netbsd version to 1.32.0
 * Add pointer to cross-built aarch64--netbsd version 1.32.0,
   targeting 8.99.34, using gcc as the target compiler.  Untested so far.

diffstat:

 lang/rust/Makefile |  30 +++++++++++++++++++++++++-----
 lang/rust/distinfo |  42 +++++++++++++++++++++++++-----------------
 2 files changed, 50 insertions(+), 22 deletions(-)

diffs (161 lines):

diff -r 1e27c025c990 -r 30c5783e8589 lang/rust/Makefile
--- a/lang/rust/Makefile        Wed Feb 13 05:23:23 2019 +0000
+++ b/lang/rust/Makefile        Wed Feb 13 08:29:52 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2019/02/12 11:49:15 tnn Exp $
+# $NetBSD: Makefile,v 1.78 2019/02/13 08:29:52 he Exp $
 
 DISTNAME=      rustc-1.32.0-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -51,12 +51,14 @@
 #CROSS_ROOT=           /u/evbarm-armv7hf
 #CROSS_ROOT=           /u/sparc64
 #CROSS_ROOT=           /u/macppc
+#CROSS_ROOT=           /u/evbarm64
 #MAKE_ENV+=            CROSS_ROOT=${CROSS_ROOT}
 
 # The GNU cross target designation
 #GNU_CROSS_TARGET=     armv7--netbsdelf-eabihf
 #GNU_CROSS_TARGET=     sparc64--netbsd
 #GNU_CROSS_TARGET=     powerpc--netbsd
+#GNU_CROSS_TARGET=     aarch64--netbsd
 #MAKE_ENV+=            GNU_CROSS_TARGET=${GNU_CROSS_TARGET}
 
 # To cross-build rust, you need to specify
@@ -66,12 +68,19 @@
 #TARGET=               armv7-unknown-netbsd-eabihf
 #TARGET=               sparc64-unknown-netbsd
 #TARGET=               powerpc-unknown-netbsd
+#TARGET=               aarch64-unknown-netbsd
 #SCRIPTS=              ${WRKDIR}/scripts
 #CONFIGURE_ARGS+=      --host=${TARGET}
 #CONFIGURE_ARGS+=      --target=${TARGET}
+# for gcc as target compiler:
 #CONFIGURE_ARGS+=      --set=target.${TARGET}.cc=${SCRIPTS}/gcc-wrap
 #CONFIGURE_ARGS+=      --set=target.${TARGET}.cxx=${SCRIPTS}/c++-wrap
 #CONFIGURE_ARGS+=      --set=target.${TARGET}.linker=${SCRIPTS}/gcc-wrap
+# for clang as target compiler:
+#CONFIGURE_ARGS+=      --set=target.${TARGET}.cc=${SCRIPTS}/clang-wrap
+#CONFIGURE_ARGS+=      --set=target.${TARGET}.cxx=${SCRIPTS}/clang++-wrap
+#CONFIGURE_ARGS+=      --set=target.${TARGET}.linker=${SCRIPTS}/clang-wrap
+# common:
 #CONFIGURE_ARGS+=      --set=target.${TARGET}.ar=${CROSS_ROOT}/tools/bin/${GNU_CROSS_TARGET}-ar
 
 # May be required when cross-building on NetBSD
@@ -195,9 +204,9 @@
 RUST_ARCH=             i686-unknown-netbsd
 RUST_STAGE0:=          rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 RUST_STD_STAGE0:=      rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
-# Do not trust ryoon@.
-SITES.${RUST_STAGE0}=  https://www.ryoon.net/pub/rust/
-SITES.${RUST_STD_STAGE0}=      https://www.ryoon.net/pub/rust/
+# Do not trust he@.
+SITES.${RUST_STAGE0}=  ftp://golden-delicious.urc.uninett.no/pub/rust/
+SITES.${RUST_STD_STAGE0}=      ftp://golden-delicious.urc.uninett.no/pub/rust/
 DISTFILES:=            ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
 # Setting this changes it for every distfile, which doesn't match what is
 # currently in distinfo.
@@ -216,7 +225,7 @@
 pre-build-fix:
 .endif
 .if !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc) || make(distinfo) || make (makesum) || make(mdi)
-RUST_STAGE0_VER=       1.31.1
+RUST_STAGE0_VER=       1.32.0
 RUST_ARCH=             powerpc-unknown-netbsd
 RUST_STAGE0:=          rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
 RUST_STD_STAGE0:=      rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
@@ -226,6 +235,17 @@
 SITES.${RUST_STD_STAGE0}=      ftp://golden-delicious.urc.uninett.no/pub/rust/
 pre-build-fix:
 .endif
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) || make(distinfo) || make (makesum) || make(mdi)
+RUST_STAGE0_VER=       1.32.0
+RUST_ARCH=             aarch64-unknown-netbsd
+RUST_STAGE0:=          rust-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
+RUST_STD_STAGE0:=      rust-std-${RUST_STAGE0_VER}-${RUST_ARCH}.tar.gz
+DISTFILES:=            ${DISTFILES} ${RUST_STAGE0} ${RUST_STD_STAGE0}
+# Do not trust he@.
+SITES.${RUST_STAGE0}=  ftp://golden-delicious.urc.uninett.no/pub/rust/
+SITES.${RUST_STD_STAGE0}=      ftp://golden-delicious.urc.uninett.no/pub/rust/
+pre-build-fix:
+.endif
 .if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64) || make(distinfo) || make (makesum) || make(mdi)
 RUST_STAGE0_VER=       1.31.1
 RUST_ARCH=             sparc64-unknown-netbsd
diff -r 1e27c025c990 -r 30c5783e8589 lang/rust/distinfo
--- a/lang/rust/distinfo        Wed Feb 13 05:23:23 2019 +0000
+++ b/lang/rust/distinfo        Wed Feb 13 08:29:52 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.53 2019/01/22 09:17:15 jperkin Exp $
+$NetBSD: distinfo,v 1.54 2019/02/13 08:29:52 he Exp $
 
 SHA1 (rust-1.31.0-x86_64-sun-solaris.tar.gz) = 782763ddcfb58df6d522aa8b66286e01451c6cb5
 RMD160 (rust-1.31.0-x86_64-sun-solaris.tar.gz) = ad93cf10e3b21c63989310b49ea6874520062400
@@ -20,14 +20,10 @@
 RMD160 (rust-1.31.1-i686-unknown-linux-gnu.tar.gz) = 51642145a07650bbd26f309ec3f69c612177811f
 SHA512 (rust-1.31.1-i686-unknown-linux-gnu.tar.gz) = 8dc2cf82f3e2bab237169696ef18c194845a7c5cae2c6ace03f734d296435ebc5295fb25c1de2d57c0d16b4fed40e015f9298710ca1b6037b2d50b79dca6ed3e
 Size (rust-1.31.1-i686-unknown-linux-gnu.tar.gz) = 239021825 bytes
-SHA1 (rust-1.31.1-i686-unknown-netbsd.tar.gz) = 3c41ebd108df5159e5c81684031cb70cc4b66baf
-RMD160 (rust-1.31.1-i686-unknown-netbsd.tar.gz) = cb1f43aa4c843d60eb23ac16f0a90429a312359c
-SHA512 (rust-1.31.1-i686-unknown-netbsd.tar.gz) = 1a597905ccbc264fac841c33d9d41fd3828ab6d5efbcf492bf416d787eb9c686e2c9a75d837c5bc2dced722a4ff41cd8e61159af5fa9038912c45ccf4f0320fa
-Size (rust-1.31.1-i686-unknown-netbsd.tar.gz) = 183574080 bytes
-SHA1 (rust-1.31.1-powerpc-unknown-netbsd.tar.gz) = 18673f5548eb8e4aee25a458a83f8cbb6b2acde9
-RMD160 (rust-1.31.1-powerpc-unknown-netbsd.tar.gz) = bc39a1b0994e551e439ca019eb04049948d4bec9
-SHA512 (rust-1.31.1-powerpc-unknown-netbsd.tar.gz) = 7c24f61c4f6ef9794c03bb079dc8a91a0d5f36d139864ca938edc7b4d8efe31bb73ba8b412ec3d322bae830fb0a079d4ad10673926806a58dab1dcce1a5ae823
-Size (rust-1.31.1-powerpc-unknown-netbsd.tar.gz) = 220507711 bytes
+SHA1 (rust-1.31.1-i686-unknown-netbsd.tar.gz) = f7d37b14e75180187b7213683c11addbf4de89b1
+RMD160 (rust-1.31.1-i686-unknown-netbsd.tar.gz) = 0d7136de4d376044fab53a0e3449ba91f156e5f8
+SHA512 (rust-1.31.1-i686-unknown-netbsd.tar.gz) = 4fd7f2e7bed92c535e811b71a21a1292c912c1fa8d8dcf29ef586b762fcb2957008a40ff75a05edd3935bc0a1b823052f6375f5a021016f6b28a969d4d5c249e
+Size (rust-1.31.1-i686-unknown-netbsd.tar.gz) = 216108720 bytes
 SHA1 (rust-1.31.1-sparc64-unknown-netbsd.tar.gz) = 1930e26264d000538aeb65f478e986ce840a3519
 RMD160 (rust-1.31.1-sparc64-unknown-netbsd.tar.gz) = 51c94ee6daee468dae1fa130c45c1a604234222e
 SHA512 (rust-1.31.1-sparc64-unknown-netbsd.tar.gz) = ec7df6e0e5069c6d5f5e5545c7ebca16430826c9eacc4e23d3b0036de37860d32f970fdfcd4a46d81ccef5d06ee8f8e3ae2e328c2b1c4e81a6bcfb8c7e9cf04d
@@ -48,6 +44,14 @@
 RMD160 (rust-1.31.1-x86_64-unknown-netbsd.tar.gz) = 725e6f1b0218d4a568aadfc655d713875d78b6f7
 SHA512 (rust-1.31.1-x86_64-unknown-netbsd.tar.gz) = 68f1114e5573a18e860a79792797caea17e7c8d4e073a9a89f589f54614eb03137d17bdd7103e7bab84a7af2e7b7d6ee2adfb9f8cda699dfce34b45a9c920903
 Size (rust-1.31.1-x86_64-unknown-netbsd.tar.gz) = 178634165 bytes
+SHA1 (rust-1.32.0-aarch64-unknown-netbsd.tar.gz) = 054d3c92036c50bf52dda5785e5f2b789160c844
+RMD160 (rust-1.32.0-aarch64-unknown-netbsd.tar.gz) = ece72548e6339cd184816823c649e83a3e0f10e1
+SHA512 (rust-1.32.0-aarch64-unknown-netbsd.tar.gz) = eaba7d1f7b123859ce8936f4f78504025dcf209c82dd394ab64e5fb99db7ed4506461d9efd5bc849db1c06396bbba6594828410b0f2140d807261e1065f2aa96
+Size (rust-1.32.0-aarch64-unknown-netbsd.tar.gz) = 208965061 bytes
+SHA1 (rust-1.32.0-powerpc-unknown-netbsd.tar.gz) = 9aa258c05faea00f9204c35002a5714e2c7ffd83
+RMD160 (rust-1.32.0-powerpc-unknown-netbsd.tar.gz) = 50589c1265865ea291405d6f2cc2081ebe92c2fc
+SHA512 (rust-1.32.0-powerpc-unknown-netbsd.tar.gz) = 998448975aceb53d8daa25db98e8e47546d52deb4e7daf918f7f841efe84dff0bdd62b97f0ad868c087e0e87c6d66d227c447e19dc56bbd1e93d2293aef9a485
+Size (rust-1.32.0-powerpc-unknown-netbsd.tar.gz) = 221759244 bytes
 SHA1 (rust-std-1.31.1-armv7-unknown-netbsd-eabihf.tar.gz) = be493285977fdc40c45bf495a223fdd247056ecb
 RMD160 (rust-std-1.31.1-armv7-unknown-netbsd-eabihf.tar.gz) = 628a7b669a2578db6b7a4ab02b9c8845698d1500
 SHA512 (rust-std-1.31.1-armv7-unknown-netbsd-eabihf.tar.gz) = 26a5ad3b3285bd4d3b2c778568ca8a8c66e60c86f10e61d9e04d60103dbca28839f79cfd7835472a65a3fa731ba127ea1bd7a45d41b642a390f31171aea75ed4
@@ -64,14 +68,10 @@
 RMD160 (rust-std-1.31.1-i686-unknown-linux-gnu.tar.gz) = c95918e1e897be35e03f5a4569dd84e429ad874b
 SHA512 (rust-std-1.31.1-i686-unknown-linux-gnu.tar.gz) = 8a36cbfddfdaa0ce1f29fda58a97749a4a3cc50c64bf67b520e6546075e806c1a3898cbeb63b3b14648e21b9de015984a7b8cadcb0328a0bf23e27e6cb26c0c9
 Size (rust-std-1.31.1-i686-unknown-linux-gnu.tar.gz) = 71084417 bytes
-SHA1 (rust-std-1.31.1-i686-unknown-netbsd.tar.gz) = 6e318eac9ff2584af598b5c12eeb26bb3dba0c89
-RMD160 (rust-std-1.31.1-i686-unknown-netbsd.tar.gz) = 0ec9efb80ef2a1b06b9a3ce543d44f6c3cc5534c
-SHA512 (rust-std-1.31.1-i686-unknown-netbsd.tar.gz) = 4649f9537ab59b993418b0939714228e552626cb76547dfb46ec0f5951e17440e50a840a11727e10f0a16a3f23d936a75c4332880067964daa1fe06488b712e0
-Size (rust-std-1.31.1-i686-unknown-netbsd.tar.gz) = 71659508 bytes
-SHA1 (rust-std-1.31.1-powerpc-unknown-netbsd.tar.gz) = 98fc92ba3cf21147e4f27babe438e786194cba98
-RMD160 (rust-std-1.31.1-powerpc-unknown-netbsd.tar.gz) = 7053db7cbf8dfd3188c7685f0aa6052801c3d16c
-SHA512 (rust-std-1.31.1-powerpc-unknown-netbsd.tar.gz) = a95c793c95e765a75e377e73e555387ed9cd71dac2c227747269b476eb9ad25b2f6bc12db46b283f1a6722a1f531c550dd8a9e6f8fd81ec4013042485d3e17a3
-Size (rust-std-1.31.1-powerpc-unknown-netbsd.tar.gz) = 70015527 bytes
+SHA1 (rust-std-1.31.1-i686-unknown-netbsd.tar.gz) = d861a5fa70b8c6bea3f2624c2337ad581120f7c5
+RMD160 (rust-std-1.31.1-i686-unknown-netbsd.tar.gz) = 230b9c5838a6d980f06da0b459fee60dc5a46e77
+SHA512 (rust-std-1.31.1-i686-unknown-netbsd.tar.gz) = f20116e6bb1f17350c8a10ca9edffab325bac35c6b29d4cdaacce35f4ec27b36281f37043cedf1dfe097dc0f9620b55911b45ca85c95732ab57b47059de0af49
+Size (rust-std-1.31.1-i686-unknown-netbsd.tar.gz) = 71783116 bytes
 SHA1 (rust-std-1.31.1-sparc64-unknown-netbsd.tar.gz) = d20f6df638543f59771a7cd825c5945cbab20c4f
 RMD160 (rust-std-1.31.1-sparc64-unknown-netbsd.tar.gz) = 85f1b171abc07d624b44ae2ba6b6b3e4fe1cf27b
 SHA512 (rust-std-1.31.1-sparc64-unknown-netbsd.tar.gz) = 06083d8a0cb7bbde28362edd7b47f6b3253529733bd03ca45b5f4e9856a8850a7fe890db42d7c2898512c2466abc53c7b8ca48b84327a8e24604717179eefaa9
@@ -92,6 +92,14 @@
 RMD160 (rust-std-1.31.1-x86_64-unknown-netbsd.tar.gz) = b8b5a2fd88afbcd696cc0ecc46bbbc15a68fd44d
 SHA512 (rust-std-1.31.1-x86_64-unknown-netbsd.tar.gz) = a30bfcc95e3e7b5bc019f562b6da4a160864072a325b147c7db86a553edac6d332bc7d293ba0b06cdef605ae3ada4690e9229fffe2db0492d78bd2a991ddad51
 Size (rust-std-1.31.1-x86_64-unknown-netbsd.tar.gz) = 71728636 bytes
+SHA1 (rust-std-1.32.0-aarch64-unknown-netbsd.tar.gz) = 5ef1c0feab4510ceb2aea8ff5cfdd28200eef584
+RMD160 (rust-std-1.32.0-aarch64-unknown-netbsd.tar.gz) = 101b233758a0f01954e20f4d1f06afbba7393dac
+SHA512 (rust-std-1.32.0-aarch64-unknown-netbsd.tar.gz) = 2858978a80eb97e854b93173eebfbb45c137fcd3c7ae5031982a0a56b283d16bea9d0761e6d81dacc9216718a14c5b77aaab0bfa1fddbc0133379228cb02a53c
+Size (rust-std-1.32.0-aarch64-unknown-netbsd.tar.gz) = 69335373 bytes
+SHA1 (rust-std-1.32.0-powerpc-unknown-netbsd.tar.gz) = 2ee5545aadbede0c4c011404d935421c49f8900e
+RMD160 (rust-std-1.32.0-powerpc-unknown-netbsd.tar.gz) = bcd94d2c764ea59775306c6e74917991699acf25
+SHA512 (rust-std-1.32.0-powerpc-unknown-netbsd.tar.gz) = 1ae54afef1971eed37d71bac325d9475da66cfb24a0c8543a4afde72394ed36cf2b35a6959c68952fe03a81719ee3ad5d65cd2ae131d5d8bd77ba30d4a2f79be
+Size (rust-std-1.32.0-powerpc-unknown-netbsd.tar.gz) = 69624858 bytes
 SHA1 (rustc-1.32.0-src.tar.gz) = 4a8a9e1158b36571be12c7d86c358691d5febf22
 RMD160 (rustc-1.32.0-src.tar.gz) = a6780274c27c78722e0615a5daee71f471690c7f
 SHA512 (rustc-1.32.0-src.tar.gz) = 9bca5702fe4ea515b4401cf200cf472d3b24dd6c93bd4a783a4cd6c473a2e9dc715b642672e1c940770d2bab860633ffe0b8cec6fbbfc737e23aa2a21d6cd00a



Home | Main Index | Thread Index | Old Index