Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tiledb: fix libcxx builds #367289

Merged
merged 1 commit into from
Dec 23, 2024
Merged

tiledb: fix libcxx builds #367289

merged 1 commit into from
Dec 23, 2024

Conversation

paparodeo
Copy link
Contributor

@paparodeo paparodeo commented Dec 22, 2024

libcxx (as of llvm-19) does not yet support stop_token and jthread without the -fexperimental-library flag. Tiledb adds its own implementations in the std namespace which conflict with libcxx. This test can be re-enabled once libcxx supports stop_token and jthread.

https://hydra.nixos.org/build/281874632
https://cache.nixos.org/log/60fzb06ivb7cf4bx4f3varzib1wdyy5z-tiledb-2.18.2.drv

with this and the superlu #367110 fix gdal will again build on darwin.

TileDB-Inc/TileDB#5411

cc: @NixOS/geospatial due to gdal

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 10.rebuild-darwin: 11-100 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux labels Dec 22, 2024
@paparodeo paparodeo changed the title [staging-next] tidedb: fix libcxx builds [staging-next] tiledb: fix libcxx builds Dec 22, 2024
libcxx (as of llvm-19) does not yet support `stop_token` and `jthread`
without the -fexperimental-library flag. Tiledb adds its own
implementations in the std namespace which conflict with libcxx.  This
test can be re-enabled once libcxx supports stop_token and jthread.

https://hydra.nixos.org/build/281874632
https://cache.nixos.org/log/60fzb06ivb7cf4bx4f3varzib1wdyy5z-tiledb-2.18.2.drv
@ofborg ofborg bot requested a review from Rakesh4G December 22, 2024 18:36
@vcunat vcunat changed the base branch from staging-next to master December 23, 2024 14:01
@paparodeo paparodeo changed the title [staging-next] tiledb: fix libcxx builds tiledb: fix libcxx builds Dec 23, 2024
@vcunat vcunat merged commit a710670 into NixOS:master Dec 23, 2024
65 of 66 checks passed
@vcunat
Copy link
Member

vcunat commented Dec 23, 2024

I don't think we need to wait with dropping this test for now.

@paparodeo paparodeo deleted the tidedb-libcxx-fix branch December 23, 2024 14:45
@vcunat
Copy link
Member

vcunat commented Dec 23, 2024

Though for me gdal failed with

FAILED gcore/vsicurl_streaming.py::test_vsicurl_streaming_real_resource - Failed

@paparodeo
Copy link
Contributor Author

Though for me gdal failed with

FAILED gcore/vsicurl_streaming.py::test_vsicurl_streaming_real_resource - Failed

flaky tests? I had wcs.py::test_wcs_6 fail then passed when I built again on x64 darwin. gdal seems like it built on hydra
https://hydra.nixos.org/job/nixpkgs/trunk/gdal.x86_64-darwin
and is available via cache on aarch64 darwin but isn't listed on hydra for some reason.

copying path '/nix/store/az1svk4h3qs3mc21x8g7ai355hjd3166-gdal-3.10.0' from 'https://cache.nixos.org'...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 1-10 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants