all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thiago Jung Bauermann <bauermann@kolabnow.com>
To: help-guix@gnu.org
Subject: Re: Build Mesa with a different toolchain version
Date: Tue, 01 Jun 2021 22:53:54 -0300	[thread overview]
Message-ID: <2671285.bifoVCM42e@popigai> (raw)
In-Reply-To: <3126247.iAZJFXckTJ@popigai>

After sending the email, I thought of another thing to try, but it didn't
help. I thought I'd mention it here for completeness:

Try #3:

Using this definition in my local channel:

```
(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.

But unfortunately guix build didn't even try to rebuild the package.
It just returned the store items that were built in try #2:

$ guix build --system=i686-linux mesa-10
/gnu/store/8iiwn9cnjlfxfi7m1fmdavzgr7y38vv7-mesa-10-20.2.4-bin
/gnu/store/hjci6cqw76hvdawdl04kjmbajklsdwx2-mesa-10-20.2.4

I believe this shows that ‘gcc’ already points to ‘gcc-7’. I just can't
change it for some reason…

-- 
Thanks,
Thiago




  reply	other threads:[~2021-06-02  9:15 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 [this message]
2021-06-02  9:44   ` Tobias Geerinckx-Rice
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

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

  git send-email \
    --in-reply-to=2671285.bifoVCM42e@popigai \
    --to=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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.