cross: drop gfortran from fftw in cross-compilation overlay#1850
Merged
brianmcgillion merged 1 commit intotiiuae:mainfrom Mar 23, 2026
Merged
cross: drop gfortran from fftw in cross-compilation overlay#1850brianmcgillion merged 1 commit intotiiuae:mainfrom
brianmcgillion merged 1 commit intotiiuae:mainfrom
Conversation
PipeWire depends on fftwFloat (fftw-single), which unconditionally includes gfortran in nativeBuildInputs. This forces cross-compilation of the entire Fortran toolchain (gfortran + binutils) for aarch64, none of which is available in the binary cache. Ghaf does not use FFTW Fortran bindings. The Fortran wrapper generation in FFTW is only triggered when docs are enabled, and --disable-doc is already set when withDoc is false (which it is for cross builds where stdenv.cc.isGNU may differ). Remove gfortran from fftwFloat.nativeBuildInputs in the cross overlay to eliminate the unnecessary Fortran toolchain build. Signed-off-by: vadik likholetov <vadikas@gmail.com>
8cc34a9 to
795d826
Compare
avnik
approved these changes
Mar 23, 2026
Contributor
avnik
left a comment
There was a problem hiding this comment.
Looks good. But maybe also add
.overlay { withDocs = false; }? to strip doc generation entriely?
brianmcgillion
approved these changes
Mar 23, 2026
brianmcgillion
approved these changes
Mar 23, 2026
Collaborator
|
Jenkins failing appears unrelated |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fftwFloat.nativeBuildInputsin the cross-compilation overlay--disable-docis already set for cross builds)Test plan
nix build --dry-run .#packages.x86_64-linux.nvidia-jetson-orin-agx-debug-from-x86_64no longer includesaarch64-unknown-linux-gnu-gfortranin derivations to build