Skip to content

rav1e: fix cross#225358

Closed
ghost wants to merge 677 commits intomasterfrom
unknown repository
Closed

rav1e: fix cross#225358
ghost wants to merge 677 commits intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Apr 9, 2023

Description of changes

cargo cbuild needs to have the C{C,XX}_FOR_{${platform}} variables set just like cargo since it is basically a wrapper around cargo. Without these variables, it will try to use the hostPlatform C compiler to compile build.rs scripts, and will pass flags to that compiler which only make sense on the buildPlatform. So it's just doomed without the environment variables.

Right now it looks like rav1e is the only package we have that is using cargo-c, but if that changes in the future we should factor this out as its own hook, like maturinBuildHook and the others.

Closes #225356

Things done
  • Built on platform(s)
    • aarch64-linux (cross from x86_64-linux)
  • Fits CONTRIBUTING.md.

jtojnar and others added 30 commits April 6, 2023 01:35
https://gitlab.gnome.org/GNOME/gnome-builder/-/compare/43.6...44.beta

Co-authored-by: Bobby Rong <rjl931189261@126.com>

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
https://gitlab.gnome.org/GNOME/gtk-frdp/-/compare/d7f408fb23adc01db14c708b35b74a317418de4b...f506b8a3e55a1bb4cab39c68c7c0c34629c78633

API version is bumped to 0.2, this is now needed by gnome-connections.

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
GTK 4 API version is bumped to 6.0.
i.e. we now only have webkitgtk-6.0, and no more webkit2gtk-5.0.
https://gitlab.gnome.org/GNOME/gtk/-/compare/3.24.36...3.24.37

- Removes legacy Wayland text input module.

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
@ghost ghost requested a review from Ericson2314 as a code owner April 9, 2023 00:53
@ofborg ofborg bot added the 6.topic: cross-compilation Building packages on a different platform than they will be used on label Apr 9, 2023
@github-actions github-actions bot added 6.topic: emacs Text editor 6.topic: GNOME GNOME desktop environment and its underlying platform 6.topic: golang Go is a high-level general purpose programming language that is statically typed and compiled. 6.topic: lua Lua is a powerful, efficient, lightweight, embeddable scripting language. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: pantheon The Pantheon desktop environment 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: qt/kde Object-oriented framework for GUI creation 6.topic: ruby A dynamic, open source programming language with a focus on simplicity and productivity. 6.topic: rust General-purpose programming language emphasizing performance, type safety, and concurrency. 6.topic: stdenv Standard environment 6.topic: systemd Software suite that provides an array of system components for Linux operating systems. 6.topic: TeX Issues regarding texlive and TeX in general 6.topic: vim Advanced text editor 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` labels Apr 9, 2023
@ghost ghost closed this Apr 9, 2023
@ghost ghost locked as spam and limited conversation to collaborators Apr 9, 2023
@ghost ghost deleted the pr/fixcross/rav1e branch April 9, 2023 00:57
@ofborg ofborg bot added 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Apr 9, 2023
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

6.topic: cross-compilation Building packages on a different platform than they will be used on 6.topic: emacs Text editor 6.topic: GNOME GNOME desktop environment and its underlying platform 6.topic: golang Go is a high-level general purpose programming language that is statically typed and compiled. 6.topic: lua Lua is a powerful, efficient, lightweight, embeddable scripting language. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: pantheon The Pantheon desktop environment 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: qt/kde Object-oriented framework for GUI creation 6.topic: ruby A dynamic, open source programming language with a focus on simplicity and productivity. 6.topic: rust General-purpose programming language emphasizing performance, type safety, and concurrency. 6.topic: stdenv Standard environment 6.topic: systemd Software suite that provides an array of system components for Linux operating systems. 6.topic: TeX Issues regarding texlive and TeX in general 6.topic: vim Advanced text editor 8.has: changelog This PR adds or changes release notes 8.has: clean-up This PR removes packages or removes other cruft 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch.

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

pkgsCross.*.rav1e is broken