unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: Thiago Jung Bauermann <bauermann@kolabnow.com>
Cc: help-guix@gnu.org
Subject: Re: Build Mesa with a different toolchain version
Date: Wed, 02 Jun 2021 11:44:50 +0200	[thread overview]
Message-ID: <87v96wzjl9.fsf@nckx> (raw)
In-Reply-To: <2671285.bifoVCM42e@popigai>

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

Thiago Jung Bauermann 写道:
> (define gcc->gcc-10
>   (package-input-rewriting `((,gcc-7 . ,gcc-10)
>                              (,(make-libstdc++ gcc-7) 
>                              . ,(make-libstdc++ gcc-10)))))
>
> (define-public mesa-10
>   (package
>     (inherit (gcc->gcc-10 mesa))
>     (name "mesa-10")))
> ```
>
> i.e., the only change relative to the previous try was to look 
> for ‘gcc-7’
> rather than ‘gcc’ to make the substitution.

This might be because GCC & friends are implicit inputs brought in 
through the build system, not listed by the package itself.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

  reply	other threads:[~2021-06-02  9:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-02  0:46 Build Mesa with a different toolchain version Thiago Jung Bauermann
2021-06-02  1:53 ` Thiago Jung Bauermann
2021-06-02  9:44   ` Tobias Geerinckx-Rice [this message]
2021-06-02  9:22 ` Efraim Flashner
2021-06-03  5:14   ` Thiago Jung Bauermann
2021-06-02  9:42 ` Tobias Geerinckx-Rice
2021-06-02 11:13   ` Tobias Geerinckx-Rice
2021-06-03  5:35     ` Thiago Jung Bauermann
2021-06-03  5:17   ` Thiago Jung Bauermann

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v96wzjl9.fsf@nckx \
    --to=me@tobias.gr \
    --cc=bauermann@kolabnow.com \
    --cc=help-guix@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).