Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] rust-sccache: update to 0.2.15
@ 2021-03-25 20:22 Logarithmus
  2021-03-25 20:28 ` ericonr
                   ` (35 more replies)
  0 siblings, 36 replies; 37+ messages in thread
From: Logarithmus @ 2021-03-25 20:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1571 bytes --]

There is a new pull request by Logarithmus against master on the void-packages repository

https://github.com/Logarithmus/void-packages sccache
https://github.com/void-linux/void-packages/pull/29756

rust-sccache: update to 0.2.15
<!-- Mark items with [x] where applicable -->

I've updated `sccache` to 0.2.15 & added `rust-sccache-dist` as well.
`sccache-dist` is needed for distributed compilation of Rust, for example, pretty much like `distcc`.

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/29756.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sccache-29756.patch --]
[-- Type: text/x-diff, Size: 1917 bytes --]

From 193fde6d2477fdd06ccbfb67dce9f597ae2769ef Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Thu, 25 Mar 2021 23:18:42 +0300
Subject: [PATCH] rust-sccache: update to 0.2.15

---
 srcpkgs/rust-sccache-dist     |  1 +
 srcpkgs/rust-sccache/template | 17 +++++++++++++----
 2 files changed, 14 insertions(+), 4 deletions(-)
 create mode 120000 srcpkgs/rust-sccache-dist

diff --git a/srcpkgs/rust-sccache-dist b/srcpkgs/rust-sccache-dist
new file mode 120000
index 000000000000..c967e3f41a20
--- /dev/null
+++ b/srcpkgs/rust-sccache-dist
@@ -0,0 +1 @@
+rust-sccache
\ No newline at end of file
diff --git a/srcpkgs/rust-sccache/template b/srcpkgs/rust-sccache/template
index 5d8f2bf185c1..4b65b41832d6 100644
--- a/srcpkgs/rust-sccache/template
+++ b/srcpkgs/rust-sccache/template
@@ -1,17 +1,18 @@
 # Template file for 'rust-sccache'
 pkgname=rust-sccache
-version=0.2.13
-revision=3
+version=0.2.15
+revision=1
 wrksrc="${pkgname/rust-/}-${version}"
 build_style=cargo
 hostmakedepends="pkg-config"
 makedepends="openssl-devel"
+configure_args="--features dist-client,dist-server"
 short_desc="Sccache is a ccache-like tool"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="Apache-2.0"
 homepage="https://crates.io/crates/sccache"
 distfiles="https://static.crates.io/crates/sccache/sccache-${version}.crate"
-checksum=34b8eaab25eb467e9796c2f3ad7524c8548bf3afed962a922dd0b40ed2472ef7
+checksum=cd1b19d56224beccdbf3fcc1fac1b21d58ddad64eed7fc1288db84d227bcebf7
 
 case "$XBPS_TARGET_MACHINE" in
 	x86_64*|i686*|arm*|aarch64*) ;;
@@ -19,5 +20,13 @@ case "$XBPS_TARGET_MACHINE" in
 esac
 
 pre_build() {
-	cargo update --package openssl-sys --precise 0.9.58
+	cargo update --package openssl-sys
+}
+
+rust-sccache-dist_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - distributed builds server"
+	pkg_install() {
+		vmove usr/bin/sccache-dist
+	}
 }

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2022-05-29  2:13 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25 20:22 [PR PATCH] rust-sccache: update to 0.2.15 Logarithmus
2021-03-25 20:28 ` ericonr
2021-03-26 10:10 ` [PR PATCH] [Updated] " Logarithmus
2021-03-26 21:28 ` Logarithmus
2021-03-26 21:32 ` Logarithmus
2021-03-26 21:33 ` Logarithmus
2021-03-26 21:41 ` [PR PATCH] [Updated] rust-sccache: update to 0.2.15, enable dist-server feature Logarithmus
2021-03-27 13:28 ` Logarithmus
2021-03-27 15:05 ` Logarithmus
2021-03-27 15:06 ` Logarithmus
2021-03-27 15:08 ` rust-sccache: update to 0.2.15, new package: rust-sccache-dist-0.2.15 Logarithmus
2021-03-27 15:09 ` [PR PATCH] [Updated] " Logarithmus
2021-03-27 15:10 ` Logarithmus
2021-03-27 19:14 ` Logarithmus
2021-03-27 19:16 ` [PR PATCH] [Updated] " Logarithmus
2021-04-01 17:33 ` Logarithmus
2021-04-01 17:34 ` Logarithmus
2021-05-05 13:36 ` Logarithmus
2021-05-05 13:39 ` Logarithmus
2021-05-05 20:16 ` Logarithmus
2021-05-06  8:20 ` [BUGFIX] " Logarithmus
2021-05-06  9:36 ` Logarithmus
2021-05-06 14:54 ` ericonr
2021-06-29 11:59 ` [PR PATCH] [Updated] " Logarithmus
2021-06-29 12:03 ` Logarithmus
2021-06-29 21:52 ` Logarithmus
2021-06-29 22:08 ` Logarithmus
2021-07-01 12:26 ` [PR PATCH] [Updated] [BUGFIX] rust-sccache: update to 0.2.15, enable feature=dist-server for x86_64* Logarithmus
2021-07-18 14:51 ` Logarithmus
2021-07-27  1:06 ` Logarithmus
2021-07-27  1:08 ` Logarithmus
2021-07-27  1:10 ` Logarithmus
2021-07-27  1:51 ` Logarithmus
2021-07-27  1:56 ` Logarithmus
2021-07-27  6:23 ` redasamik
2022-05-14  2:17 ` github-actions
2022-05-29  2:13 ` [PR PATCH] [Closed]: " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).