[arch-commits] Commit in lib32-rust/trunk (PKGBUILD config.toml)

2019-08-19 Thread Jan Steffens via arch-commits
Date: Tuesday, August 20, 2019 @ 04:32:20
  Author: heftig
Revision: 500231

1.37.0-2: enable profiling

Modified:
  lib32-rust/trunk/PKGBUILD
  lib32-rust/trunk/config.toml

-+
 PKGBUILD|   23 ---
 config.toml |1 +
 2 files changed, 17 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-08-19 23:49:05 UTC (rev 500230)
+++ PKGBUILD2019-08-20 04:32:20 UTC (rev 500231)
@@ -2,23 +2,29 @@
 
 pkgname=lib32-rust
 pkgver=1.37.0
-pkgrel=1
+pkgrel=2
 
+_llvm_ver=8.0.1
+
 pkgdesc='32-bit libraries for rust'
 url='https://www.rust-lang.org/'
 arch=('x86_64')
 license=('MIT' 'Apache')
 
-makedepends=('llvm' 'libffi' 'perl' 'python' 'curl' 'cmake')
-depends=('lib32-gcc-libs' "rust=1:$pkgver-1")
+makedepends=("llvm=$_llvm_ver" 'libffi' 'perl' 'python' 'curl' 'cmake')
+depends=('lib32-gcc-libs' "rust=1:$pkgver-$pkgrel")
 
 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=('120e7020d065499cc6b28759ff04153bfdc2ac9b5adeb252331a4eb87cbe38c3'
 'SKIP'
-'b832b7db40338740e7080a60f515cb8eb86d7b5a0ec3c9ebe6d6c868878c9061')
-validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag 
and Release Signing Key) 
+'11828fb4823387d820c6715b25f6b2405e60837d12a7469e7a8882911c721837'
+'SKIP'
+'b7dee253d4e55a34ce07e0f2b9f15197285458565a38eabf9d4d49870f133e68')
+validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE'  # Rust Language (Tag 
and Release Signing Key) 
+  '474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard 

 
 prepare() {
   cd "rustc-$pkgver-src"
@@ -29,13 +35,16 @@
 build() {
   cd "rustc-$pkgver-src"
 
-  python ./x.py build
+  export RUST_BACKTRACE=1
+  export RUST_COMPILER_RT_ROOT="$srcdir/compiler-rt-$_llvm_ver.src"
+
+  python ./x.py build -j"$(nproc)"
 }
 
 package() {
   cd "rustc-$pkgver-src"
 
-  target="$pkgdir"/"$(rustc --print sysroot)"/lib/rustlib
+  local target="$pkgdir/$(rustc --print sysroot)/lib/rustlib"
   install -d "$target"
   cp -r \
 build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/i686-unknown-linux-gnu \

Modified: config.toml
===
--- config.toml 2019-08-19 23:49:05 UTC (rev 500230)
+++ config.toml 2019-08-20 04:32:20 UTC (rev 500231)
@@ -8,6 +8,7 @@
 python = "python"
 extended = true
 sanitizers = false
+profiler = true
 local-rebuild = true
 
 [install]


[arch-commits] Commit in lib32-rust/trunk (PKGBUILD config.toml)

2019-08-19 Thread Johannes Löthberg via arch-commits
Date: Monday, August 19, 2019 @ 19:55:07
  Author: demize
Revision: 500222

upgpkg: lib32-rust 1.37.0-1

Modified:
  lib32-rust/trunk/PKGBUILD
  lib32-rust/trunk/config.toml

-+
 PKGBUILD|6 +++---
 config.toml |3 +--
 2 files changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-08-19 19:32:11 UTC (rev 500221)
+++ PKGBUILD2019-08-19 19:55:07 UTC (rev 500222)
@@ -1,7 +1,7 @@
 # Maintainer: Johannes Löthberg 
 
 pkgname=lib32-rust
-pkgver=1.36.0
+pkgver=1.37.0
 pkgrel=1
 
 pkgdesc='32-bit libraries for rust'
@@ -15,9 +15,9 @@
 source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc}
 config.toml)
 
-sha256sums=('04c4e4d7213d036d6aaed392841496d272146312c0290f728b7400fccd15bb1b'
+sha256sums=('120e7020d065499cc6b28759ff04153bfdc2ac9b5adeb252331a4eb87cbe38c3'
 'SKIP'
-'eebaab90793d0213fc04be9c6a682715dce7959f180e51d3633ff450ef64310d')
+'b832b7db40338740e7080a60f515cb8eb86d7b5a0ec3c9ebe6d6c868878c9061')
 validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag 
and Release Signing Key) 
 
 prepare() {

Modified: config.toml
===
--- config.toml 2019-08-19 19:32:11 UTC (rev 500221)
+++ config.toml 2019-08-19 19:55:07 UTC (rev 500222)
@@ -18,8 +18,7 @@
 # https://github.com/rust-lang/rust/issues/47745
 codegen-units = 1
 
-debuginfo = true
-debuginfo-lines = true
+debuginfo-level = 2
 
 channel = "stable"
 


[arch-commits] Commit in lib32-rust/trunk (PKGBUILD config.toml)

2019-04-26 Thread Johannes Löthberg via arch-commits
Date: Friday, April 26, 2019 @ 22:56:12
  Author: demize
Revision: 454452

upgpkg: lib32-rust 1.34.1-1

Modified:
  lib32-rust/trunk/PKGBUILD
  lib32-rust/trunk/config.toml

-+
 PKGBUILD|   10 +-
 config.toml |2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-26 22:55:59 UTC (rev 454451)
+++ PKGBUILD2019-04-26 22:56:12 UTC (rev 454452)
@@ -1,7 +1,7 @@
 # Maintainer: Johannes Löthberg 
 
 pkgname=lib32-rust
-pkgver=1.34.0
+pkgver=1.34.1
 pkgrel=1
 
 pkgdesc='32-bit libraries for rust'
@@ -9,15 +9,15 @@
 arch=('x86_64')
 license=('MIT' 'Apache')
 
-makedepends=('llvm' 'libffi' 'perl' 'python2' 'curl' 'cmake')
+makedepends=('llvm' 'libffi' 'perl' 'python' 'curl' 'cmake')
 depends=('lib32-gcc-libs' "rust=1:$pkgver-1")
 
 source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc}
 config.toml)
 
-sha256sums=('7ac85acffd79dd3a7c44305d9eaabd1f1e7116e2e6e11e770e4bf5f92c0f1f59'
+sha256sums=('b0c785264d17e1dac4598627c248a2d5e07dd39bd1881fcfc8e2cf4c40a7'
 'SKIP'
-'36c22ecdacbfeca9ab955726b4a701f687f8ed358a1b8ab2d7cc988408db44cb')
+'eebaab90793d0213fc04be9c6a682715dce7959f180e51d3633ff450ef64310d')
 validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag 
and Release Signing Key) 
 
 prepare() {
@@ -30,7 +30,7 @@
   cd "rustc-$pkgver-src"
 
   msg2 "Run build under x.py"
-  python2 ./x.py build
+  python ./x.py build
 }
 
 package() {

Modified: config.toml
===
--- config.toml 2019-04-26 22:55:59 UTC (rev 454451)
+++ config.toml 2019-04-26 22:56:12 UTC (rev 454452)
@@ -5,7 +5,7 @@
 target = ["i686-unknown-linux-gnu"] # defaults to just the build triple
 cargo = "/usr/bin/cargo"
 rustc = "/usr/bin/rustc"
-python = "python2.7"
+python = "python"
 extended = true
 sanitizers = false
 local-rebuild = true


[arch-commits] Commit in lib32-rust/trunk (PKGBUILD config.toml)

2018-10-09 Thread Johannes Löthberg via arch-commits
Date: Tuesday, October 9, 2018 @ 15:36:08
  Author: demize
Revision: 391644

upgpkg: lib32-rust 1.29.1-1

Also build with system LLVM

Modified:
  lib32-rust/trunk/PKGBUILD
  lib32-rust/trunk/config.toml

-+
 PKGBUILD|   17 --
 config.toml |  414 +-
 2 files changed, 19 insertions(+), 412 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-10-09 15:35:22 UTC (rev 391643)
+++ PKGBUILD2018-10-09 15:36:08 UTC (rev 391644)
@@ -1,8 +1,8 @@
 # Maintainer: Johannes Löthberg 
 
 pkgname=lib32-rust
-pkgver=1.29.0
-pkgrel=3
+pkgver=1.29.1
+pkgrel=1
 
 pkgdesc='32-bit libraries for rust'
 url='https://www.rust-lang.org/'
@@ -9,23 +9,20 @@
 arch=('x86_64')
 license=('MIT' 'Apache')
 
-makedepends=('libffi' 'perl' 'python2' 'curl' 'cmake' 'ninja')
-depends=('lib32-gcc-libs' "rust=1:$pkgver-2")
+makedepends=('llvm' 'libffi' 'perl' 'python2' 'curl' 'cmake')
+depends=('lib32-gcc-libs' "rust=1:$pkgver-1")
 
 source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc}
-config.toml
-
https://github.com/rust-lang/rust/commit/1b94b84ad0143ea2039610e3aec9e929a8a20733.patch)
+config.toml)
 
-sha256sums=('a4eb34ffd47f76afe2abd813f398512d5a19ef00989d37306217c9c9ec2f61e9'
+sha256sums=('f1b0728b66ce6bce6d72bbe5ea9e3a24ea22a045665da2ed8fcdfad14f61a349'
 'SKIP'
-'5c1962458f20dd5a542db7ef31e35c20a7b42f9e74dd27ec4e9f0cf2ab1953ce'
-'8c8e79b0bac0dd1434c49f665abfa50634ffb0fbb35c9efee511e5b97960b9e2')
+'36c22ecdacbfeca9ab955726b4a701f687f8ed358a1b8ab2d7cc988408db44cb')
 validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag 
and Release Signing Key) 
 
 prepare() {
   cd "rustc-$pkgver-src"
 
-  patch -p1 <"$srcdir"/1b94b84ad0143ea2039610e3aec9e929a8a20733.patch
   cp "$srcdir"/config.toml config.toml
 }
 

Modified: config.toml
===
--- config.toml 2018-10-09 15:35:22 UTC (rev 391643)
+++ config.toml 2018-10-09 15:36:08 UTC (rev 391644)
@@ -1,419 +1,29 @@
-# Sample TOML configuration file for building Rust.
-#
-# To configure rustbuild, copy this file to the directory from which you will 
be
-# running the build, and name it config.toml.
-#
-# All options are commented out by default in this file, and they're commented
-# out with their default values. The build system by default looks for
-# `config.toml` in the current directory of a build for build configuration, 
but
-# a custom configuration file can also be specified with `--config` to the 
build
-# system.
-
-# =
-# Tweaking how LLVM is compiled
-# =
 [llvm]
+link-shared = true
 
-# Indicates whether rustc will support compilation with LLVM
-# note: rustc does not compile without LLVM at the moment
-#enabled = true
-
-# Indicates whether the LLVM build is a Release or Debug build
-#optimize = true
-
-# Indicates whether an LLVM Release build should include debug info
-#release-debuginfo = false
-
-# Indicates whether the LLVM assertions are enabled or not
-#assertions = false
-
-# Indicates whether ccache is used when building LLVM
-#ccache = false
-# or alternatively ...
-#ccache = "/path/to/ccache"
-
-# If an external LLVM root is specified, we automatically check the version by
-# default to make sure it's within the range that we're expecting, but setting
-# this flag will indicate that this version check should not be done.
-#version-check = true
-
-# Link libstdc++ statically into the librustc_llvm instead of relying on a
-# dynamic version to be available.
-#static-libstdcpp = false
-
-# Tell the LLVM build system to use Ninja instead of the platform default for
-# the generated build system. This can sometimes be faster than make, for
-# example.
-ninja = true
-
-# LLVM targets to build support for.
-# Note: this is NOT related to Rust compilation targets. However, as Rust is
-# dependent on LLVM for code generation, turning targets off here WILL lead to
-# the resulting rustc being unable to compile for the disabled architectures.
-# Also worth pointing out is that, in case support for new targets are added to
-# LLVM, enabling them here doesn't mean Rust is automatically gaining said
-# support. You'll need to write a target specification at least, and most
-# likely, teach rustc about the C ABI of the target. Get in touch with the
-# Rust team and file an issue if you need assistance in porting!
-targets = "X86"
-
-# LLVM experimental targets to build support for. These targets are specified 
in
-# the same format as above, but since these targets are experimental, they are
-# not built by default and the experimental Rust compilation targets that 
depend
-# on them will not work unless the user opts in