New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
hdf5: refactor to reduce downstream closure size #277224
Conversation
Running nixpkgs-review now ... |
I needs to build 5000 packages now. I'll wait until more packages are built by Hydra. |
I just learned that there is no binary cache available for |
Hmm, well this branch was based on the merge-base of staging and master so that shouldn't be an issue if you're testing the branch head. AFAIR nixpkgs-review uses a merge commit so maybe that's why you're noticing caching issues with that tool, idk if that's configurable. It should be feasible to build all the changed derivations vs. |
Oh, I remembered how I've sometimes tested staging PRs in the past. You can check out a PR locally and run I'm running that now, will report back. Some of these leaf packages are pretty hefty so might take a day or so. Current status:
|
Thank you for suggestion. I tried similar approach. I ran nixpkgs-review against
in hope to reduce number of required builds, but it was still trying to build few thousands of packages. |
Result of 47 packages marked as broken and skipped:
48 packages failed to build:
1174 packages built:
|
Thank you very much for running this big nixpkgs-review. I don't see a problem with this PR from geospatial packages side. Packages like bsuite, plotnine and rlax are always failing (should be marked as broken). |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/week-in-geospatial-team/37035/2 |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/week-in-geospatial-team/37035/3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The names of the tools in the bin output are appended with -shared
: e.g. h5ls-shared
.
This was already broken before, but no one noticed because there was the corresponding static binary without shared next to it.
Can we please fix the names of the tools?
Looks good otherwise.
@r-burns , do you want to fix those remaining issues so we can merge this PR ? |
Ah whoops, missed that review suggestion. I'm really busy with personal stuff the next few days but I should be able to make that change next week. |
21424f2
to
afe4a52
Compare
* Only build static libs by default when stdenv.hostPlatform.isStatic * Add separate -bin output * Move h5hlcc/c++ dev binaries to -dev output * Default to building with C++ support to cut down on duplicated hdf5/hdf5-cpp in downstream closures
3f90a0e
to
9046690
Compare
Fails on staging-next, because of missing https://hydra.nixos.org/build/253019375
|
cc @NixOS/geospatial - this is motivated by geospatial packages, e.g. gdal
Description of changes
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 馃憤 reaction to pull requests you find important.