From: Logarithmus <Logarithmus@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] rust-sccache: update to 0.2.15, enable dist-server feature
Date: Fri, 26 Mar 2021 22:41:34 +0100 [thread overview]
Message-ID: <20210326214134.PSJmjLeoQCxaHHpjUiIP3fhVQU4oIg-NkuGiOcTBMj0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29756@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1604 bytes --]
There is an updated 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, enable dist-server feature
<!-- 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: 1989 bytes --]
From 6897d5818bd00a955c6f275c7679eac61b68224c 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, enable dist-server feature
---
srcpkgs/rust-sccache-dist | 1 +
srcpkgs/rust-sccache/template | 19 +++++++++++++------
2 files changed, 14 insertions(+), 6 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..f73be2161ffc 100644
--- a/srcpkgs/rust-sccache/template
+++ b/srcpkgs/rust-sccache/template
@@ -1,23 +1,30 @@
# 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
+configure_args="--features dist-client,dist-server"
hostmakedepends="pkg-config"
makedepends="openssl-devel"
-short_desc="Sccache is a ccache-like tool"
+checkdepends="cargo"
+short_desc="Ccache-like tool for Rust, C/C++ and more"
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
+make_check=extended
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|arm*|aarch64*) ;;
*) broken="ftbfs in ring" ;;
esac
-pre_build() {
- cargo update --package openssl-sys --precise 0.9.58
+rust-sccache-dist_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - server for distributed builds"
+ pkg_install() {
+ vmove usr/bin/sccache-dist
+ }
}
next prev parent reply other threads:[~2021-03-26 21:41 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Logarithmus [this message]
2021-03-27 13:28 ` [PR PATCH] [Updated] rust-sccache: update to 0.2.15, enable dist-server feature 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210326214134.PSJmjLeoQCxaHHpjUiIP3fhVQU4oIg-NkuGiOcTBMj0@z \
--to=logarithmus@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).