[arch-commits] Commit in rust/repos (3 files)
Date: Monday, April 13, 2020 @ 14:31:11 Author: heftig Revision: 380279 archrelease: copy trunk to staging-x86_64 Added: rust/repos/staging-x86_64/ rust/repos/staging-x86_64/0001-bootstrap-fix-clippy-warnings.patch (from rev 380278, rust/trunk/0001-bootstrap-fix-clippy-warnings.patch) rust/repos/staging-x86_64/PKGBUILD (from rev 380278, rust/trunk/PKGBUILD) --+ 0001-bootstrap-fix-clippy-warnings.patch | 452 + PKGBUILD | 141 + 2 files changed, 593 insertions(+) Copied: rust/repos/staging-x86_64/0001-bootstrap-fix-clippy-warnings.patch (from rev 380278, rust/trunk/0001-bootstrap-fix-clippy-warnings.patch) === --- staging-x86_64/0001-bootstrap-fix-clippy-warnings.patch (rev 0) +++ staging-x86_64/0001-bootstrap-fix-clippy-warnings.patch 2020-04-13 14:31:11 UTC (rev 380279) @@ -0,0 +1,452 @@ +From 5f979e9afab42dd7536ca93994de66169880361e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= +Date: Mon, 3 Feb 2020 20:13:30 +0100 +Subject: [PATCH] bootstrap: fix clippy warnings + +--- + src/bootstrap/bin/rustc.rs | 6 +++--- + src/bootstrap/bin/rustdoc.rs | 2 +- + src/bootstrap/builder.rs | 24 + src/bootstrap/builder/tests.rs | 1 - + src/bootstrap/compile.rs | 20 ++-- + src/bootstrap/config.rs| 7 +++ + src/bootstrap/dist.rs | 4 ++-- + src/bootstrap/doc.rs | 2 +- + src/bootstrap/flags.rs | 2 +- + src/bootstrap/install.rs | 5 ++--- + src/bootstrap/lib.rs | 6 +++--- + src/bootstrap/metadata.rs | 1 - + src/bootstrap/native.rs| 4 +--- + src/bootstrap/test.rs | 9 +++-- + src/bootstrap/tool.rs | 2 +- + src/bootstrap/toolstate.rs | 2 +- + src/bootstrap/util.rs | 2 +- + 17 files changed, 41 insertions(+), 58 deletions(-) + +diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs +index a34ec44566b..a8c00c8c3ca 100644 +--- a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs +@@ -47,24 +47,24 @@ fn main() { + }; + let stage = env::var("RUSTC_STAGE").expect("RUSTC_STAGE was not set"); + let sysroot = env::var_os("RUSTC_SYSROOT").expect("RUSTC_SYSROOT was not set"); +-let on_fail = env::var_os("RUSTC_ON_FAIL").map(|of| Command::new(of)); ++let on_fail = env::var_os("RUSTC_ON_FAIL").map(Command::new); + + let rustc = env::var_os(rustc).unwrap_or_else(|| panic!("{:?} was not set", rustc)); + let libdir = env::var_os(libdir).unwrap_or_else(|| panic!("{:?} was not set", libdir)); + let mut dylib_path = bootstrap::util::dylib_path(); + dylib_path.insert(0, PathBuf::from()); + + let mut cmd = Command::new(rustc); + cmd.args().env(bootstrap::util::dylib_path_var(), env::join_paths(_path).unwrap()); + + // Get the name of the crate we're compiling, if any. + let crate_name = + args.windows(2).find(|args| args[0] == "--crate-name").and_then(|args| args[1].to_str()); + + if let Some(crate_name) = crate_name { + if let Some(target) = env::var_os("RUSTC_TIME") { + if target == "all" +-|| target.into_string().unwrap().split(",").any(|c| c.trim() == crate_name) ++|| target.into_string().unwrap().split(',').any(|c| c.trim() == crate_name) + { + cmd.arg("-Ztime"); + } +@@ -189,7 +189,7 @@ fn main() { + crate_name, + is_test, + dur.as_secs(), +-dur.subsec_nanos() / 1_000_000 ++dur.subsec_millis() + ); + + match status.code() { +diff --git a/src/bootstrap/bin/rustdoc.rs b/src/bootstrap/bin/rustdoc.rs +index 8c8b33a4e4e..04345867bf5 100644 +--- a/src/bootstrap/bin/rustdoc.rs b/src/bootstrap/bin/rustdoc.rs +@@ -61,7 +61,7 @@ fn main() { + } + + // Needed to be able to run all rustdoc tests. +-if let Some(_) = env::var_os("RUSTDOC_GENERATE_REDIRECT_PAGES") { ++if env::var_os("RUSTDOC_GENERATE_REDIRECT_PAGES").is_some() { + // This "unstable-options" can be removed when `--generate-redirect-pages` is stabilized + if !has_unstable { + cmd.arg("-Z").arg("unstable-options"); +diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs +index d9c894aa9c6..18f6fda7608 100644 +--- a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs +@@ -510,17 +510,15 @@ impl<'a> Builder<'a> { + Subcommand::Format { .. } | Subcommand::Clean { .. } => panic!(), + }; + +-let builder = Builder { ++Builder { + build, + top_stage: build.config.stage.unwrap_or(2), + kind, + cache: Cache::new(), + stack:
[arch-commits] Commit in rust/repos (3 files)
Date: Thursday, November 7, 2019 @ 17:36:56 Author: heftig Revision: 367139 archrelease: copy trunk to testing-x86_64 Added: rust/repos/testing-x86_64/ rust/repos/testing-x86_64/0001-WIP-minimize-the-rust-std-component.patch (from rev 367138, rust/trunk/0001-WIP-minimize-the-rust-std-component.patch) rust/repos/testing-x86_64/PKGBUILD (from rev 367138, rust/trunk/PKGBUILD) + 0001-WIP-minimize-the-rust-std-component.patch | 62 ++ PKGBUILD | 140 +++ 2 files changed, 202 insertions(+) Copied: rust/repos/testing-x86_64/0001-WIP-minimize-the-rust-std-component.patch (from rev 367138, rust/trunk/0001-WIP-minimize-the-rust-std-component.patch) === --- testing-x86_64/0001-WIP-minimize-the-rust-std-component.patch (rev 0) +++ testing-x86_64/0001-WIP-minimize-the-rust-std-component.patch 2019-11-07 17:36:56 UTC (rev 367139) @@ -0,0 +1,62 @@ +From 14948e9d7bdb5cc7e975c1f3435692eeb748f07b Mon Sep 17 00:00:00 2001 +From: Josh Stone +Date: Fri, 27 Sep 2019 12:33:08 -0700 +Subject: [PATCH] [WIP] minimize the rust-std component + +--- + src/bootstrap/dist.rs | 33 + + 1 file changed, 9 insertions(+), 24 deletions(-) + +diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs +index d9dff77a30e..bd96a6371fc 100644 +--- a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs +@@ -675,36 +675,21 @@ impl Step for Std { + return distdir(builder).join(format!("{}-{}.tar.gz", name, target)); + } + +-// We want to package up as many target libraries as possible +-// for the `rust-std` package, so if this is a host target we +-// depend on librustc and otherwise we just depend on libtest. +-if builder.hosts.iter().any(|t| t == target) { +-builder.ensure(compile::Rustc { compiler, target }); +-} else { +-builder.ensure(compile::Std { compiler, target }); +-} ++builder.ensure(compile::Std { compiler, target }); + + let image = tmpdir(builder).join(format!("{}-{}-image", name, target)); + let _ = fs::remove_dir_all(); + +-let dst = image.join("lib/rustlib").join(target); ++let dst = image.join("lib/rustlib").join(target).join("lib"); + t!(fs::create_dir_all()); +-let mut src = builder.sysroot_libdir(compiler, target).to_path_buf(); +-src.pop(); // Remove the trailing /lib folder from the sysroot_libdir +-builder.cp_filtered(, , &|path| { +-if let Some(name) = path.file_name().and_then(|s| s.to_str()) { +-if name == builder.config.rust_codegen_backends_dir.as_str() { +-return false +-} +-if name == "bin" { +-return false +-} +-if name.contains("LLVM") { +-return false +-} ++ ++let compiler_to_use = builder.compiler_for(compiler.stage, compiler.host, target); ++let stamp = dbg!(compile::libstd_stamp(builder, compiler_to_use, target)); ++for (path, host) in builder.read_stamp_file() { ++if !host { ++builder.copy(, (path.file_name().unwrap())); + } +-true +-}); ++} + + let mut cmd = rust_installer(builder); + cmd.arg("generate") +-- +2.24.0 + Copied: rust/repos/testing-x86_64/PKGBUILD (from rev 367138, rust/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-11-07 17:36:56 UTC (rev 367139) @@ -0,0 +1,140 @@ +# Maintainer: Johannes Löthberg +# Contributor: Alexander F Rødseth +# Contributor: Daniel Micay +# Contributor: userwithuid + +pkgname=('rust' 'lib32-rust-libs' 'rust-docs') +epoch=1 +pkgver=1.39.0 +pkgrel=1 + +_llvm_ver=9.0.0 + +pkgdesc='Systems programming language focused on safety, speed and concurrency' +url='https://www.rust-lang.org/' +arch=('x86_64') +license=('MIT' 'Apache') + +makedepends=('rust' "llvm=$_llvm_ver" 'libffi' 'lib32-gcc-libs' 'perl' 'python' 'curl' 'cmake') +checkdepends=('procps-ng' 'gdb') + +options=('!emptydirs') + +source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} + "http://releases.llvm.org/$_llvm_ver/compiler-rt-$_llvm_ver.src.tar.xz"{,.sig} +0001-WIP-minimize-the-rust-std-component.patch) + +sha256sums=('b4a1f6b6a93931f270691aba4fc85eee032fecda973e6b9c774cd06857609357' +'SKIP' +'56e4cd96dd1d8c346b07b4d6b255f976570c6f2389697347a6c3dcb9e820d10e' +'SKIP' +'9e64e6abe9b118ee496c317ef37f4b500b54ecd69e9c02cad2a6a0b7235e9afd')
[arch-commits] Commit in rust/repos (3 files)
Date: Sunday, September 29, 2019 @ 11:25:27 Author: demize Revision: 363527 archrelease: copy trunk to testing-x86_64 Added: rust/repos/testing-x86_64/ rust/repos/testing-x86_64/PKGBUILD (from rev 363526, rust/trunk/PKGBUILD) rust/repos/testing-x86_64/config.toml (from rev 363526, rust/trunk/config.toml) -+ PKGBUILD| 108 ++ config.toml | 31 2 files changed, 139 insertions(+) Copied: rust/repos/testing-x86_64/PKGBUILD (from rev 363526, rust/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-09-29 11:25:27 UTC (rev 363527) @@ -0,0 +1,108 @@ +# Maintainer: Johannes Löthberg +# Contributor: Alexander F Rødseth +# Contributor: Daniel Micay +# Contributor: userwithuid + +pkgname=('rust' 'lib32-rust-libs' 'rust-docs') +epoch=1 +pkgver=1.38.0 +pkgrel=1 + +_llvm_ver=8.0.1 + +pkgdesc='Systems programming language focused on safety, speed and concurrency' +url='https://www.rust-lang.org/' +arch=('x86_64') +license=('MIT' 'Apache') + +makedepends=('rust' "llvm=$_llvm_ver" 'libffi' 'lib32-gcc-libs' 'perl' 'python' 'curl' 'cmake') +checkdepends=('procps-ng' 'gdb') + +options=('!emptydirs') + +source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} + "https://github.com/llvm/llvm-project/releases/download/llvmorg-$_llvm_ver/compiler-rt-$_llvm_ver.src.tar.xz"{,.sig} +config.toml) + +sha256sums=('644263ca7c7106f8ee8fcde6bb16910d246b30668a74be20b8c7e0e9f4a52d80' +'SKIP' +'11828fb4823387d820c6715b25f6b2405e60837d12a7469e7a8882911c721837' +'SKIP' +'b1bd845081ece690685b5bf2a7e9e931a44a603ab836dd5a9b3c2b062fc5559b') +validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) + '474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard + +prepare() { + cd "rustc-$pkgver-src" + + cp "$srcdir"/config.toml config.toml +} + +build() { + cd "rustc-$pkgver-src" + + export RUST_BACKTRACE=1 + export RUST_COMPILER_RT_ROOT="$srcdir/compiler-rt-$_llvm_ver.src" + + python ./x.py build -j"$(nproc)" +} + +package_rust() { + depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2') + provides=('cargo' 'rustfmt') + conflicts=('cargo' 'rustfmt') + replaces=('cargo' 'rustfmt') + + cd "rustc-$pkgver-src" + + DESTDIR="$pkgdir" python ./x.py install + + for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done + + # delete unnecesary files, e.g. components and manifest files only used for the uninstall script + cd "$pkgdir"/usr/lib/rustlib + rm components install.log manifest-* rust-installer-version uninstall.sh + + # rustbuild always installs copies of the shared libraries to /usr/lib, + # overwrite them with symlinks to the per-architecture versions + cd "$pkgdir"/usr/lib + ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so . + + # move docs and lib32 libs out of the way for splitting + mv "$pkgdir"/usr/share/doc "$srcdir" + mv "$pkgdir"/usr/lib/rustlib/i686-unknown-linux-gnu "$srcdir" + + install -d "$pkgdir"/usr/share/bash-completion + mv "$pkgdir"/etc/bash_completion.d/ "$pkgdir"/usr/share/bash-completion/completions/ +} + +package_lib32-rust-libs() { + descriptino=('32-bit libraries for Rust') + depends=('lib32-gcc-libs') + provides=('lib32-rust') + conflicts=('lib32-rust') + replaces=('lib32-rust') + + install -d "$pkgdir"/usr/lib/rustlib/ + mv "$srcdir"/i686-unknown-linux-gnu "$pkgdir"/usr/lib/rustlib + + cd "rustc-$pkgver-src" + for license in APACHE MIT; do +install -Dm644 "LICENSE-$license" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license" + done +} + +package_rust-docs() { + description=('Documentation for the Rust programming language') + + install -d "$pkgdir"/usr/share/doc/ + mv "$srcdir"/doc/* "$pkgdir"/usr/share/doc/rust/ + + cd "rustc-$pkgver-src" + for license in APACHE MIT; do +install -Dm644 "LICENSE-$license" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license" + done +} + +# vim:set ts=2 sw=2 et: Copied: rust/repos/testing-x86_64/config.toml (from rev 363526, rust/trunk/config.toml) === --- testing-x86_64/config.toml (rev 0) +++ testing-x86_64/config.toml 2019-09-29 11:25:27 UTC (rev 363527) @@ -0,0 +1,31 @@ +[llvm] +link-shared = true + +[build] +target = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"] +cargo = "/usr/bin/cargo" +rustc = "/usr/bin/rustc" +python = "python" +extended = true +sanitizers = false +profiler = true +local-rebuild = false + +[install] +prefix = "/usr" + +[rust] +# LLVM crashes when passing an object through ThinLTO twice. This is triggered when using rust +# code in cross-language
[arch-commits] Commit in rust/repos (3 files)
Date: Friday, August 16, 2019 @ 09:42:09 Author: demize Revision: 359891 archrelease: copy trunk to testing-x86_64 Added: rust/repos/testing-x86_64/ rust/repos/testing-x86_64/PKGBUILD (from rev 359890, rust/trunk/PKGBUILD) rust/repos/testing-x86_64/config.toml (from rev 359890, rust/trunk/config.toml) -+ PKGBUILD| 76 ++ config.toml | 26 +++ 2 files changed, 102 insertions(+) Copied: rust/repos/testing-x86_64/PKGBUILD (from rev 359890, rust/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-08-16 09:42:09 UTC (rev 359891) @@ -0,0 +1,76 @@ +# Maintainer: Johannes Löthberg +# Contributor: Alexander F Rødseth +# Contributor: Daniel Micay +# Contributor: userwithuid + +# Remember to bump lib32-rust as well! + +pkgname=('rust' 'rust-docs') +epoch=1 +pkgver=1.37.0 +pkgrel=1 + +pkgdesc='Systems programming language focused on safety, speed and concurrency' +url='https://www.rust-lang.org/' +arch=('x86_64') +license=('MIT' 'Apache') + +makedepends=('rust' 'llvm' 'libffi' 'perl' 'python' 'curl' 'cmake') +checkdepends=('procps-ng' 'gdb') + +options=('!emptydirs') + +source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} +config.toml) + +sha256sums=('120e7020d065499cc6b28759ff04153bfdc2ac9b5adeb252331a4eb87cbe38c3' +'SKIP' +'24a5fbf558c7ffb39b3e712f26e0261a2e1f35d2caff17981e828c36bb5c746a') +validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) + +prepare() { + cd "rustc-$pkgver-src" + + cp "$srcdir"/config.toml config.toml +} + +build() { + cd "rustc-$pkgver-src" + + python ./x.py build -j"$(nproc)" +} + +package_rust() { + depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2') + provides=('cargo' 'rustfmt') + conflicts=('cargo' 'rustfmt') + replaces=('cargo' 'rustfmt') + + cd "rustc-$pkgver-src" + + DESTDIR="$pkgdir" python ./x.py install + + for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done + + cd "$pkgdir/usr/lib" + + rm rustlib/{components,manifest-rustc,rust-installer-version} + ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so . + + # move docs out of the way for splitting + mv "$pkgdir"/usr/share/doc "$srcdir" + + install -d "$pkgdir"/usr/share/bash-completion + mv "$pkgdir"/etc/bash_completion.d/ "$pkgdir"/usr/share/bash-completion/completions/ +} + +package_rust-docs() { + install -d "$pkgdir/usr/share/doc/" + mv "$srcdir"/doc/* "$pkgdir"/usr/share/doc/rust/ + + for license in APACHE MIT; do install -Dm644 "rustc-$pkgver-src/LICENSE-$license" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done +} + +# vim:set ts=2 sw=2 et: Copied: rust/repos/testing-x86_64/config.toml (from rev 359890, rust/trunk/config.toml) === --- testing-x86_64/config.toml (rev 0) +++ testing-x86_64/config.toml 2019-08-16 09:42:09 UTC (rev 359891) @@ -0,0 +1,26 @@ +[llvm] +link-shared = true + +[build] +cargo = "/usr/bin/cargo" +rustc = "/usr/bin/rustc" +python = "python" +extended = true +sanitizers = false + +[install] +prefix = "/usr" + +[rust] +# 0 or the new default of 16 is faster, but can result in worse performance +# https://github.com/rust-lang/rust/issues/47745 +codegen-units = 1 + +debuginfo-level = 2 + +channel = "stable" + +rpath = false + +[target.x86_64-unknown-linux-gnu] +llvm-config = "/usr/bin/llvm-config"
[arch-commits] Commit in rust/repos (3 files)
Date: Friday, August 16, 2019 @ 09:10:11 Author: demize Revision: 359887 archrelease: copy trunk to community-x86_64 Added: rust/repos/community-x86_64/ rust/repos/community-x86_64/PKGBUILD (from rev 359886, rust/trunk/PKGBUILD) rust/repos/community-x86_64/config.toml (from rev 359886, rust/trunk/config.toml) -+ PKGBUILD| 76 ++ config.toml | 26 +++ 2 files changed, 102 insertions(+) Copied: rust/repos/community-x86_64/PKGBUILD (from rev 359886, rust/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2019-08-16 09:10:11 UTC (rev 359887) @@ -0,0 +1,76 @@ +# Maintainer: Johannes Löthberg +# Contributor: Alexander F Rødseth +# Contributor: Daniel Micay +# Contributor: userwithuid + +# Remember to bump lib32-rust as well! + +pkgname=('rust' 'rust-docs') +epoch=1 +pkgver=1.37.0 +pkgrel=1 + +pkgdesc='Systems programming language focused on safety, speed and concurrency' +url='https://www.rust-lang.org/' +arch=('x86_64') +license=('MIT' 'Apache') + +makedepends=('rust' 'llvm' 'libffi' 'perl' 'python' 'curl' 'cmake') +checkdepends=('procps-ng' 'gdb') + +options=('!emptydirs') + +source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} +config.toml) + +sha256sums=('120e7020d065499cc6b28759ff04153bfdc2ac9b5adeb252331a4eb87cbe38c3' +'SKIP' +'24a5fbf558c7ffb39b3e712f26e0261a2e1f35d2caff17981e828c36bb5c746a') +validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) + +prepare() { + cd "rustc-$pkgver-src" + + cp "$srcdir"/config.toml config.toml +} + +build() { + cd "rustc-$pkgver-src" + + python ./x.py build -j"$(nproc)" +} + +package_rust() { + depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2') + provides=('cargo' 'rustfmt') + conflicts=('cargo' 'rustfmt') + replaces=('cargo' 'rustfmt') + + cd "rustc-$pkgver-src" + + DESTDIR="$pkgdir" python ./x.py install + + for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done + + cd "$pkgdir/usr/lib" + + rm rustlib/{components,manifest-rustc,rust-installer-version} + ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so . + + # move docs out of the way for splitting + mv "$pkgdir"/usr/share/doc "$srcdir" + + install -d "$pkgdir"/usr/share/bash-completion + mv "$pkgdir"/etc/bash_completion.d/ "$pkgdir"/usr/share/bash-completion/completions/ +} + +package_rust-docs() { + install -d "$pkgdir/usr/share/doc/" + mv "$srcdir"/doc/* "$pkgdir"/usr/share/doc/rust/ + + for license in APACHE MIT; do install -Dm644 "rustc-$pkgver-src/LICENSE-$license" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done +} + +# vim:set ts=2 sw=2 et: Copied: rust/repos/community-x86_64/config.toml (from rev 359886, rust/trunk/config.toml) === --- community-x86_64/config.toml(rev 0) +++ community-x86_64/config.toml2019-08-16 09:10:11 UTC (rev 359887) @@ -0,0 +1,26 @@ +[llvm] +link-shared = true + +[build] +cargo = "/usr/bin/cargo" +rustc = "/usr/bin/rustc" +python = "python" +extended = true +sanitizers = false + +[install] +prefix = "/usr" + +[rust] +# 0 or the new default of 16 is faster, but can result in worse performance +# https://github.com/rust-lang/rust/issues/47745 +codegen-units = 1 + +debuginfo-level = 2 + +channel = "stable" + +rpath = false + +[target.x86_64-unknown-linux-gnu] +llvm-config = "/usr/bin/llvm-config"
[arch-commits] Commit in rust/repos (3 files)
Date: Friday, April 26, 2019 @ 22:56:04 Author: demize Revision: 352155 archrelease: copy trunk to testing-x86_64 Added: rust/repos/testing-x86_64/ rust/repos/testing-x86_64/PKGBUILD (from rev 352154, rust/trunk/PKGBUILD) rust/repos/testing-x86_64/config.toml (from rev 352154, rust/trunk/config.toml) -+ PKGBUILD| 77 ++ config.toml | 27 2 files changed, 104 insertions(+) Copied: rust/repos/testing-x86_64/PKGBUILD (from rev 352154, rust/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-04-26 22:56:04 UTC (rev 352155) @@ -0,0 +1,77 @@ +# Maintainer: Johannes Löthberg +# Contributor: Alexander F Rødseth +# Contributor: Daniel Micay +# Contributor: userwithuid + +# Remember to bump lib32-rust as well! + +pkgname=('rust' 'rust-docs') +epoch=1 +pkgver=1.34.1 +pkgrel=1 + +pkgdesc='Systems programming language focused on safety, speed and concurrency' +url='https://www.rust-lang.org/' +arch=('x86_64') +license=('MIT' 'Apache') + +makedepends=('rust' 'llvm' 'libffi' 'perl' 'python' 'curl' 'cmake') +checkdepends=('procps-ng' 'gdb') + +options=('!emptydirs') + +source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} +config.toml) + +sha256sums=('b0c785264d17e1dac4598627c248a2d5e07dd39bd1881fcfc8e2cf4c40a7' +'SKIP' +'fa531e162f2bb06f85171df1a91e339b4c2e276dd4b8cd7448c0675d343ae80b') +validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) + +prepare() { + cd "rustc-$pkgver-src" + + cp "$srcdir"/config.toml config.toml +} + +build() { + cd "rustc-$pkgver-src" + + python ./x.py build -j"$(nproc)" +} + +package_rust() { + depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2') + provides=('cargo' 'rustfmt') + conflicts=('cargo' 'rustfmt') + replaces=('cargo' 'rustfmt') + + cd "rustc-$pkgver-src" + + DESTDIR="$pkgdir" python ./x.py install + + for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done + + cd "$pkgdir/usr/lib" + + rm rustlib/{components,manifest-rustc,rust-installer-version} + ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so . + + # move docs out of the way for splitting + mv "$pkgdir"/usr/share/doc "$srcdir" + + install -d "$pkgdir"/usr/share/bash-completion + mv "$pkgdir"/etc/bash_completion.d/ "$pkgdir"/usr/share/bash-completion/completions/ +} + +package_rust-docs() { + install -d "$pkgdir/usr/share/doc/" + mv "$srcdir"/doc/* "$pkgdir"/usr/share/doc/rust/ + + msg2 "Packaging license files for the documentation" + for license in APACHE MIT; do install -Dm644 "rustc-$pkgver-src/LICENSE-$license" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done +} + +# vim:set ts=2 sw=2 et: Copied: rust/repos/testing-x86_64/config.toml (from rev 352154, rust/trunk/config.toml) === --- testing-x86_64/config.toml (rev 0) +++ testing-x86_64/config.toml 2019-04-26 22:56:04 UTC (rev 352155) @@ -0,0 +1,27 @@ +[llvm] +link-shared = true + +[build] +cargo = "/usr/bin/cargo" +rustc = "/usr/bin/rustc" +python = "python" +extended = true +sanitizers = false + +[install] +prefix = "/usr" + +[rust] +# 0 or the new default of 16 is faster, but can result in worse performance +# https://github.com/rust-lang/rust/issues/47745 +codegen-units = 1 + +debuginfo = true +debuginfo-lines = true + +channel = "stable" + +rpath = false + +[target.x86_64-unknown-linux-gnu] +llvm-config = "/usr/bin/llvm-config"
[arch-commits] Commit in rust/repos (3 files)
Date: Friday, April 12, 2019 @ 21:54:35 Author: demize Revision: 350689 archrelease: copy trunk to testing-x86_64 Added: rust/repos/testing-x86_64/ rust/repos/testing-x86_64/PKGBUILD (from rev 350688, rust/trunk/PKGBUILD) rust/repos/testing-x86_64/config.toml (from rev 350688, rust/trunk/config.toml) -+ PKGBUILD| 77 ++ config.toml | 27 2 files changed, 104 insertions(+) Copied: rust/repos/testing-x86_64/PKGBUILD (from rev 350688, rust/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-04-12 21:54:35 UTC (rev 350689) @@ -0,0 +1,77 @@ +# Maintainer: Johannes Löthberg +# Contributor: Alexander F Rødseth +# Contributor: Daniel Micay +# Contributor: userwithuid + +# Remember to bump lib32-rust as well! + +pkgname=('rust' 'rust-docs') +epoch=1 +pkgver=1.34.0 +pkgrel=1 + +pkgdesc='Systems programming language focused on safety, speed and concurrency' +url='https://www.rust-lang.org/' +arch=('x86_64') +license=('MIT' 'Apache') + +makedepends=('rust' 'llvm' 'libffi' 'perl' 'python2' 'curl' 'cmake') +checkdepends=('procps-ng' 'gdb') + +options=('!emptydirs') + +source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} +config.toml) + +sha256sums=('7ac85acffd79dd3a7c44305d9eaabd1f1e7116e2e6e11e770e4bf5f92c0f1f59' +'SKIP' +'ce1c2648e70a14362d33d0cbbd3e35846ea9d43a8d0abc36071563fc087b82d5') +validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) + +prepare() { + cd "rustc-$pkgver-src" + + cp "$srcdir"/config.toml config.toml +} + +build() { + cd "rustc-$pkgver-src" + + python2 ./x.py build -j"$(nproc)" +} + +package_rust() { + depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2') + provides=('cargo' 'rustfmt') + conflicts=('cargo' 'rustfmt') + replaces=('cargo' 'rustfmt') + + cd "rustc-$pkgver-src" + + DESTDIR="$pkgdir" python2 ./x.py install + + for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done + + cd "$pkgdir/usr/lib" + + rm rustlib/{components,manifest-rustc,rust-installer-version} + ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so . + + # move docs out of the way for splitting + mv "$pkgdir"/usr/share/doc "$srcdir" + + install -d "$pkgdir"/usr/share/bash-completion + mv "$pkgdir"/etc/bash_completion.d/ "$pkgdir"/usr/share/bash-completion/completions/ +} + +package_rust-docs() { + install -d "$pkgdir/usr/share/doc/" + mv "$srcdir"/doc/* "$pkgdir"/usr/share/doc/rust/ + + msg2 "Packaging license files for the documentation" + for license in APACHE MIT; do install -Dm644 "rustc-$pkgver-src/LICENSE-$license" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done +} + +# vim:set ts=2 sw=2 et: Copied: rust/repos/testing-x86_64/config.toml (from rev 350688, rust/trunk/config.toml) === --- testing-x86_64/config.toml (rev 0) +++ testing-x86_64/config.toml 2019-04-12 21:54:35 UTC (rev 350689) @@ -0,0 +1,27 @@ +[llvm] +link-shared = true + +[build] +cargo = "/usr/bin/cargo" +rustc = "/usr/bin/rustc" +python = "python2.7" +extended = true +sanitizers = false + +[install] +prefix = "/usr" + +[rust] +# 0 or the new default of 16 is faster, but can result in worse performance +# https://github.com/rust-lang/rust/issues/47745 +codegen-units = 1 + +debuginfo = true +debuginfo-lines = true + +channel = "stable" + +rpath = false + +[target.x86_64-unknown-linux-gnu] +llvm-config = "/usr/bin/llvm-config"
[arch-commits] Commit in rust/repos (3 files)
Date: Sunday, February 17, 2019 @ 13:06:20 Author: demize Revision: 346420 archrelease: copy trunk to extra-x86_64 Added: rust/repos/extra-x86_64/ rust/repos/extra-x86_64/PKGBUILD (from rev 346419, rust/trunk/PKGBUILD) rust/repos/extra-x86_64/config.toml (from rev 346419, rust/trunk/config.toml) -+ PKGBUILD| 77 ++ config.toml | 27 2 files changed, 104 insertions(+) Copied: rust/repos/extra-x86_64/PKGBUILD (from rev 346419, rust/trunk/PKGBUILD) === --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2019-02-17 13:06:20 UTC (rev 346420) @@ -0,0 +1,77 @@ +# Maintainer: Johannes Löthberg +# Contributor: Alexander F Rødseth +# Contributor: Daniel Micay +# Contributor: userwithuid + +# Remember to bump lib32-rust as well! + +pkgname=('rust' 'rust-docs') +epoch=1 +pkgver=1.32.0 +pkgrel=2 + +pkgdesc='Systems programming language focused on safety, speed and concurrency' +url='https://www.rust-lang.org/' +arch=('x86_64') +license=('MIT' 'Apache') + +makedepends=('rust' 'llvm' 'libffi' 'perl' 'python2' 'curl' 'cmake') +checkdepends=('procps-ng' 'gdb') + +options=('!emptydirs') + +source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} +config.toml) + +sha256sums=('4c594c7712a0e7e8eae6526c464bf6ea1d82f77b4f61717c3fc28fb27ba2224a' +'SKIP' +'ce1c2648e70a14362d33d0cbbd3e35846ea9d43a8d0abc36071563fc087b82d5') +validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) + +prepare() { + cd "rustc-$pkgver-src" + + cp "$srcdir"/config.toml config.toml +} + +build() { + cd "rustc-$pkgver-src" + + python2 ./x.py build -j"$(nproc)" +} + +package_rust() { + depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2') + provides=('cargo' 'rustfmt') + conflicts=('cargo' 'rustfmt') + replaces=('cargo' 'rustfmt') + + cd "rustc-$pkgver-src" + + DESTDIR="$pkgdir" python2 ./x.py install + + for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done + + cd "$pkgdir/usr/lib" + + rm rustlib/{components,manifest-rustc,rust-installer-version} + ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so . + + # move docs out of the way for splitting + mv "$pkgdir"/usr/share/doc "$srcdir" + + install -d "$pkgdir"/usr/share/bash-completion + mv "$pkgdir"/etc/bash_completion.d/ "$pkgdir"/usr/share/bash-completion/completions/ +} + +package_rust-docs() { + install -d "$pkgdir/usr/share/doc/" + mv "$srcdir"/doc/* "$pkgdir"/usr/share/doc/rust/ + + msg2 "Packaging license files for the documentation" + for license in APACHE MIT; do install -Dm644 "rustc-$pkgver-src/LICENSE-$license" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done +} + +# vim:set ts=2 sw=2 et: Copied: rust/repos/extra-x86_64/config.toml (from rev 346419, rust/trunk/config.toml) === --- extra-x86_64/config.toml(rev 0) +++ extra-x86_64/config.toml2019-02-17 13:06:20 UTC (rev 346420) @@ -0,0 +1,27 @@ +[llvm] +link-shared = true + +[build] +cargo = "/usr/bin/cargo" +rustc = "/usr/bin/rustc" +python = "python2.7" +extended = true +sanitizers = false + +[install] +prefix = "/usr" + +[rust] +# 0 or the new default of 16 is faster, but can result in worse performance +# https://github.com/rust-lang/rust/issues/47745 +codegen-units = 1 + +debuginfo = true +debuginfo-lines = true + +channel = "stable" + +rpath = false + +[target.x86_64-unknown-linux-gnu] +llvm-config = "/usr/bin/llvm-config"
[arch-commits] Commit in rust/repos (3 files)
Date: Thursday, October 25, 2018 @ 21:23:42 Author: demize Revision: 399042 archrelease: copy trunk to community-testing-x86_64 Added: rust/repos/community-testing-x86_64/ rust/repos/community-testing-x86_64/PKGBUILD (from rev 399041, rust/trunk/PKGBUILD) rust/repos/community-testing-x86_64/config.toml (from rev 399041, rust/trunk/config.toml) -+ PKGBUILD| 77 ++ config.toml | 27 2 files changed, 104 insertions(+) Copied: rust/repos/community-testing-x86_64/PKGBUILD (from rev 399041, rust/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-10-25 21:23:42 UTC (rev 399042) @@ -0,0 +1,77 @@ +# Maintainer: Johannes Löthberg +# Contributor: Alexander F Rødseth +# Contributor: Daniel Micay +# Contributor: userwithuid + +# Remember to bump lib32-rust as well! + +pkgname=('rust' 'rust-docs') +epoch=1 +pkgver=1.29.2 +pkgrel=1 + +pkgdesc='Systems programming language focused on safety, speed and concurrency' +url='https://www.rust-lang.org/' +arch=('x86_64') +license=('MIT' 'Apache') + +makedepends=('rust' 'llvm' 'libffi' 'perl' 'python2' 'curl' 'cmake') +checkdepends=('procps-ng' 'gdb') + +options=('!emptydirs') + +source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} +config.toml) + +sha256sums=('5088e796aa2e47478cdf41e7243fc5443fafab0a7c70a11423e57c80c04167c9' +'SKIP' +'ce1c2648e70a14362d33d0cbbd3e35846ea9d43a8d0abc36071563fc087b82d5') +validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) + +prepare() { + cd "rustc-$pkgver-src" + + cp "$srcdir"/config.toml config.toml +} + +build() { + cd "rustc-$pkgver-src" + + python2 ./x.py build -j"$(nproc)" +} + +package_rust() { + depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2') + provides=('cargo' 'rustfmt') + conflicts=('cargo' 'rustfmt') + replaces=('cargo' 'rustfmt') + + cd "rustc-$pkgver-src" + + DESTDIR="$pkgdir" python2 ./x.py install + + for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done + + cd "$pkgdir/usr/lib" + + rm rustlib/{components,manifest-rustc,rust-installer-version} + ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so . + + # move docs out of the way for splitting + mv "$pkgdir"/usr/share/doc "$srcdir" + + install -d "$pkgdir"/usr/share/bash-completion + mv "$pkgdir"/etc/bash_completion.d/ "$pkgdir"/usr/share/bash-completion/completions/ +} + +package_rust-docs() { + install -d "$pkgdir/usr/share/doc/" + mv "$srcdir"/doc/* "$pkgdir"/usr/share/doc/rust/ + + msg2 "Packaging license files for the documentation" + for license in APACHE MIT; do install -Dm644 "rustc-$pkgver-src/LICENSE-$license" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done +} + +# vim:set ts=2 sw=2 et: Copied: rust/repos/community-testing-x86_64/config.toml (from rev 399041, rust/trunk/config.toml) === --- community-testing-x86_64/config.toml(rev 0) +++ community-testing-x86_64/config.toml2018-10-25 21:23:42 UTC (rev 399042) @@ -0,0 +1,27 @@ +[llvm] +link-shared = true + +[build] +cargo = "/usr/bin/cargo" +rustc = "/usr/bin/rustc" +python = "python2.7" +extended = true +sanitizers = false + +[install] +prefix = "/usr" + +[rust] +# 0 or the new default of 16 is faster, but can result in worse performance +# https://github.com/rust-lang/rust/issues/47745 +codegen-units = 1 + +debuginfo = true +debuginfo-lines = true + +channel = "stable" + +rpath = false + +[target.x86_64-unknown-linux-gnu] +llvm-config = "/usr/bin/llvm-config"
[arch-commits] Commit in rust/repos (3 files)
Date: Tuesday, October 9, 2018 @ 15:35:22 Author: demize Revision: 391643 archrelease: copy trunk to community-testing-x86_64 Added: rust/repos/community-testing-x86_64/ rust/repos/community-testing-x86_64/PKGBUILD (from rev 391642, rust/trunk/PKGBUILD) rust/repos/community-testing-x86_64/config.toml (from rev 391642, rust/trunk/config.toml) -+ PKGBUILD| 77 ++ config.toml | 27 2 files changed, 104 insertions(+) Copied: rust/repos/community-testing-x86_64/PKGBUILD (from rev 391642, rust/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-10-09 15:35:22 UTC (rev 391643) @@ -0,0 +1,77 @@ +# Maintainer: Johannes Löthberg +# Contributor: Alexander F Rødseth +# Contributor: Daniel Micay +# Contributor: userwithuid + +# Remember to bump lib32-rust as well! + +pkgname=('rust' 'rust-docs') +epoch=1 +pkgver=1.29.1 +pkgrel=1 + +pkgdesc='Systems programming language focused on safety, speed and concurrency' +url='https://www.rust-lang.org/' +arch=('x86_64') +license=('MIT' 'Apache') + +makedepends=('rust' 'llvm' 'libffi' 'perl' 'python2' 'curl' 'cmake') +checkdepends=('procps-ng' 'gdb') + +options=('!emptydirs') + +source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc} +config.toml) + +sha256sums=('f1b0728b66ce6bce6d72bbe5ea9e3a24ea22a045665da2ed8fcdfad14f61a349' +'SKIP' +'ce1c2648e70a14362d33d0cbbd3e35846ea9d43a8d0abc36071563fc087b82d5') +validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) + +prepare() { + cd "rustc-$pkgver-src" + + cp "$srcdir"/config.toml config.toml +} + +build() { + cd "rustc-$pkgver-src" + + python2 ./x.py build -j"$(nproc)" +} + +package_rust() { + depends=('gcc-libs' 'llvm-libs' 'curl' 'libssh2') + provides=('cargo' 'rustfmt') + conflicts=('cargo' 'rustfmt') + replaces=('cargo' 'rustfmt') + + cd "rustc-$pkgver-src" + + DESTDIR="$pkgdir" python2 ./x.py install + + for license in APACHE MIT; do install -Dm644 "LICENSE-$license" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done + + cd "$pkgdir/usr/lib" + + rm rustlib/{components,manifest-rustc,rust-installer-version} + ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so . + + # move docs out of the way for splitting + mv "$pkgdir"/usr/share/doc "$srcdir" + + install -d "$pkgdir"/usr/share/bash-completion + mv "$pkgdir"/etc/bash_completion.d/ "$pkgdir"/usr/share/bash-completion/completions/ +} + +package_rust-docs() { + install -d "$pkgdir/usr/share/doc/" + mv "$srcdir"/doc/* "$pkgdir"/usr/share/doc/rust/ + + msg2 "Packaging license files for the documentation" + for license in APACHE MIT; do install -Dm644 "rustc-$pkgver-src/LICENSE-$license" \ +"$pkgdir/usr/share/licenses/$pkgname/LICENSE-$license"; done +} + +# vim:set ts=2 sw=2 et: Copied: rust/repos/community-testing-x86_64/config.toml (from rev 391642, rust/trunk/config.toml) === --- community-testing-x86_64/config.toml(rev 0) +++ community-testing-x86_64/config.toml2018-10-09 15:35:22 UTC (rev 391643) @@ -0,0 +1,27 @@ +[llvm] +link-shared = true + +[build] +cargo = "/usr/bin/cargo" +rustc = "/usr/bin/rustc" +python = "python2.7" +extended = true +sanitizers = false + +[install] +prefix = "/usr" + +[rust] +# 0 or the new default of 16 is faster, but can result in worse performance +# https://github.com/rust-lang/rust/issues/47745 +codegen-units = 1 + +debuginfo = true +debuginfo-lines = true + +channel = "stable" + +rpath = false + +[target.x86_64-unknown-linux-gnu] +llvm-config = "/usr/bin/llvm-config"