Skip to content

[C++][R] #include <ranges> in vector_select_k.cc breaks macOS CRAN and wasm builds #50295

Description

@thisisnic

vector_select_k.cc:20 includes <ranges>, which is not available on the macOS CRAN toolchain or emscripten:

https://github.com/apache/arrow/blob/d0919579cb/cpp/src/arrow/compute/kernels/vector_select_k.cc#L20

/Users/runner/work/crossbow/crossbow/arrow/cpp/src/arrow/compute/kernels/vector_select_k.cc:20:10: fatal error: 'ranges' file not found
20 | #include <ranges>
| ^~~~~~~~
1 error generated.

From test-r-macos-as-cran nightly run: https://github.com/ursacomputing/crossbow/actions/runs/28413608596

Also failing on test-r-wasm: https://github.com/ursacomputing/crossbow/actions/runs/28413609309

Introduced in PR #46926 (merged Jun 22). Breaking test-r-macos-as-cran and test-r-wasm nightlies since June 23.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions