From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] ccache: add clang symlinks.
Date: Fri, 07 Jun 2019 17:59:39 +0200 [thread overview]
Message-ID: <20190607155939.wO5FcoEVdWHXroffXrfhvXw7sPRqhQYbdlPT45MXbMY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12217@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 422 bytes --]
There is an updated pull request by xtraeme against master on the void-packages repository
https://github.com/xtraeme/void-packages ccache-clang-symlinks
https://github.com/void-linux/void-packages/pull/12217
ccache: add clang symlinks.
This way we can build chromium with ccache...
Signed-off-by: Juan RP <xtraeme@gmail.com>
A patch file from https://github.com/void-linux/void-packages/pull/12217.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ccache-clang-symlinks-12217.patch --]
[-- Type: application/text/x-diff, Size: 1149 bytes --]
From 69b7fc5055ed70e67f5c47327c68098c5b786c95 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Fri, 7 Jun 2019 17:59:07 +0200
Subject: [PATCH] ccache: add clang symlinks.
This way we could build chromium with ccache.
Signed-off-by: Juan RP <xtraeme@gmail.com>
---
srcpkgs/ccache/template | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/ccache/template b/srcpkgs/ccache/template
index f16145fd54b..5447ae18f37 100644
--- a/srcpkgs/ccache/template
+++ b/srcpkgs/ccache/template
@@ -1,7 +1,7 @@
# Template file for 'ccache'
pkgname=ccache
version=3.7.1
-revision=1
+revision=2
bootstrap=yes
build_style=gnu-configure
make_check_args="CC=gcc"
@@ -16,6 +16,11 @@ distfiles="https://github.com/ccache/ccache/releases/download/v${version}/${pkgn
checksum=66fc121a2a33968f9ec428e02f48ff4b8896fbabb759e9c09352267014dcbe65
post_install() {
+ # clang
+ for f in clang clang++; do
+ ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${f}
+ done
+ # gcc
vmkdir usr/lib/ccache/bin
for f in gcc cc c++ g++; do
ln -sfr ${DESTDIR}/usr/bin/ccache ${DESTDIR}/usr/lib/ccache/bin/${f}
next prev parent reply other threads:[~2019-06-07 15:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-06 18:53 [PR PATCH] " voidlinux-github
2019-06-07 15:59 ` voidlinux-github [this message]
2019-06-07 15:59 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-07 16:03 ` voidlinux-github
2019-06-07 16:03 ` voidlinux-github
2019-06-07 17:54 ` [PR PATCH] [Merged]: " voidlinux-github
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=20190607155939.wO5FcoEVdWHXroffXrfhvXw7sPRqhQYbdlPT45MXbMY@z \
--to=voidlinux-github@inbox.vuxu.org \
--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).