help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build Mesa with a different toolchain version


From: Tobias Geerinckx-Rice
Subject: Re: Build Mesa with a different toolchain version
Date: Wed, 02 Jun 2021 11:44:50 +0200

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: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]