Skip to content

Conversation

@assignUser
Copy link
Member

@assignUser assignUser commented Apr 1, 2025

Rationale for this change

Enable building with CMake 4.0 and bundled dependencies that still set cmake_minimum_required(VERSION 3.5) or less.

What changes are included in this PR?

Set https://cmake.org/cmake/help/latest/variable/CMAKE_POLICY_VERSION_MINIMUM.html

Are these changes tested?

CI

Are there any user-facing changes?

No

@assignUser
Copy link
Member Author

assignUser commented Apr 1, 2025

@github-actions crossbow submit -g cpp r-binary-packages

@github-actions
Copy link

github-actions bot commented Apr 1, 2025

Unable to match any tasks for `r-binary-package`
The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/14193066421

@github-actions
Copy link

github-actions bot commented Apr 1, 2025

Revision: f60ef50

Submitted crossbow builds: ursacomputing/crossbow @ actions-aaffa77392

Task Status
example-cpp-minimal-build-static GitHub Actions
example-cpp-minimal-build-static-system-dependency GitHub Actions
example-cpp-tutorial GitHub Actions
r-binary-packages GitHub Actions
test-alpine-linux-cpp GitHub Actions
test-build-cpp-fuzz GitHub Actions
test-conda-cpp GitHub Actions
test-conda-cpp-meson GitHub Actions
test-conda-cpp-valgrind GitHub Actions
test-cuda-cpp-ubuntu-22.04-cuda-11.7.1 GitHub Actions
test-debian-12-cpp-amd64 GitHub Actions
test-debian-12-cpp-i386 GitHub Actions
test-fedora-39-cpp GitHub Actions
test-ubuntu-22.04-cpp GitHub Actions
test-ubuntu-22.04-cpp-20 GitHub Actions
test-ubuntu-22.04-cpp-bundled GitHub Actions
test-ubuntu-22.04-cpp-emscripten GitHub Actions
test-ubuntu-22.04-cpp-no-threading GitHub Actions
test-ubuntu-24.04-cpp GitHub Actions
test-ubuntu-24.04-cpp-bundled-offline GitHub Actions
test-ubuntu-24.04-cpp-gcc-13-bundled GitHub Actions
test-ubuntu-24.04-cpp-gcc-14 GitHub Actions
test-ubuntu-24.04-cpp-minimal-with-formats GitHub Actions
test-ubuntu-24.04-cpp-thread-sanitizer GitHub Actions

@assignUser assignUser requested review from Copilot, kou and raulcd April 1, 2025 11:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • cpp/cmake_modules/ThirdpartyToolchain.cmake: Language not supported

-DCMAKE_OSX_SYSROOT=${CMAKE_OSX_SYSROOT}
-DCMAKE_VERBOSE_MAKEFILE=${CMAKE_VERBOSE_MAKEFILE})
-DCMAKE_VERBOSE_MAKEFILE=${CMAKE_VERBOSE_MAKEFILE}
-DCMAKE_POLICY_VERSION_MINIMUM=3.5)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only concern of adding this globally instead of adding this specifically as CMake args for the individual dependencies that have issues is that we might forget this flag (which should be temporary).
Should we add at least a note saying: # Remove once all dependencies for https://github.com/apache/arrow/issues/45985 have been updated ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, good idea!

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting review Awaiting review labels Apr 1, 2025
@raulcd
Copy link
Member

raulcd commented Apr 1, 2025

@github-actions crossbow submit -g verify-rc-source

@assignUser
Copy link
Member Author

@ursabot please benchmark

@ursabot
Copy link

ursabot commented Apr 1, 2025

Benchmark runs are scheduled for commit f60ef50. Watch https://buildkite.com/apache-arrow and https://conbench.ursa.dev for updates. A comment will be posted here when the runs are complete.

@assignUser
Copy link
Member Author

it should also fix the benchmark builds

@github-actions
Copy link

github-actions bot commented Apr 1, 2025

Revision: f60ef50

Submitted crossbow builds: ursacomputing/crossbow @ actions-78a44adc1b

Task Status
verify-rc-source-cpp-linux-almalinux-8-amd64 GitHub Actions
verify-rc-source-cpp-linux-conda-latest-amd64 GitHub Actions
verify-rc-source-cpp-linux-ubuntu-22.04-amd64 GitHub Actions
verify-rc-source-cpp-linux-ubuntu-24.04-amd64 GitHub Actions
verify-rc-source-cpp-macos-amd64 GitHub Actions
verify-rc-source-cpp-macos-arm64 GitHub Actions
verify-rc-source-cpp-macos-conda-amd64 GitHub Actions
verify-rc-source-csharp-linux-almalinux-8-amd64 GitHub Actions
verify-rc-source-csharp-linux-conda-latest-amd64 GitHub Actions
verify-rc-source-csharp-linux-ubuntu-22.04-amd64 GitHub Actions
verify-rc-source-csharp-linux-ubuntu-24.04-amd64 GitHub Actions
verify-rc-source-csharp-macos-amd64 GitHub Actions
verify-rc-source-csharp-macos-arm64 GitHub Actions
verify-rc-source-integration-linux-almalinux-8-amd64 GitHub Actions
verify-rc-source-integration-linux-conda-latest-amd64 GitHub Actions
verify-rc-source-integration-linux-ubuntu-22.04-amd64 GitHub Actions
verify-rc-source-integration-linux-ubuntu-24.04-amd64 GitHub Actions
verify-rc-source-integration-macos-amd64 GitHub Actions
verify-rc-source-integration-macos-arm64 GitHub Actions
verify-rc-source-integration-macos-conda-amd64 GitHub Actions
verify-rc-source-js-linux-almalinux-8-amd64 GitHub Actions
verify-rc-source-js-linux-conda-latest-amd64 GitHub Actions
verify-rc-source-js-linux-ubuntu-22.04-amd64 GitHub Actions
verify-rc-source-js-linux-ubuntu-24.04-amd64 GitHub Actions
verify-rc-source-js-macos-amd64 GitHub Actions
verify-rc-source-js-macos-arm64 GitHub Actions
verify-rc-source-python-linux-almalinux-8-amd64 GitHub Actions
verify-rc-source-python-linux-conda-latest-amd64 GitHub Actions
verify-rc-source-python-linux-ubuntu-22.04-amd64 GitHub Actions
verify-rc-source-python-linux-ubuntu-24.04-amd64 GitHub Actions
verify-rc-source-python-macos-amd64 GitHub Actions
verify-rc-source-python-macos-arm64 GitHub Actions
verify-rc-source-python-macos-conda-amd64 GitHub Actions
verify-rc-source-ruby-linux-almalinux-8-amd64 GitHub Actions
verify-rc-source-ruby-linux-conda-latest-amd64 GitHub Actions
verify-rc-source-ruby-linux-ubuntu-22.04-amd64 GitHub Actions
verify-rc-source-ruby-linux-ubuntu-24.04-amd64 GitHub Actions
verify-rc-source-ruby-macos-amd64 GitHub Actions
verify-rc-source-ruby-macos-arm64 GitHub Actions
verify-rc-source-windows GitHub Actions

Copy link
Member

@pitrou pitrou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The remaining failures don't look related, can we merge this quickly? @assignUser

@assignUser assignUser merged commit 48c0bbb into apache:main Apr 1, 2025
35 of 36 checks passed
@assignUser assignUser removed the awaiting changes Awaiting changes label Apr 1, 2025
@assignUser assignUser deleted the workaround-cmake4 branch April 1, 2025 12:45
@conbench-apache-arrow
Copy link

Thanks for your patience. Conbench analyzed the 4 benchmarking runs that have been run so far on PR commit f60ef50.

There were 27 benchmark results indicating a performance regression:

The full Conbench report has more details.

@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 48c0bbb.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 8 possible false positives for unstable benchmarks that are known to sometimes produce them.

amoeba pushed a commit that referenced this pull request Apr 6, 2025
…ndencies (#45997)

### Rationale for this change
Enable building with CMake 4.0 and bundled dependencies that still set `cmake_minimum_required(VERSION 3.5)` or less.

### What changes are included in this PR?
Set https://cmake.org/cmake/help/latest/variable/CMAKE_POLICY_VERSION_MINIMUM.html
### Are these changes tested?
CI
### Are there any user-facing changes?
No
* GitHub Issue: #45987

Authored-by: Jacob Wujciak-Jens <jacob@wujciak.de>
Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
lriggs pushed a commit to lriggs/arrow that referenced this pull request Apr 15, 2025
…d dependencies (apache#45997)

### Rationale for this change
Enable building with CMake 4.0 and bundled dependencies that still set `cmake_minimum_required(VERSION 3.5)` or less.

### What changes are included in this PR?
Set https://cmake.org/cmake/help/latest/variable/CMAKE_POLICY_VERSION_MINIMUM.html
### Are these changes tested?
CI
### Are there any user-facing changes?
No
* GitHub Issue: apache#45987

Authored-by: Jacob Wujciak-Jens <jacob@wujciak.de>
Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this pull request Apr 15, 2025
…d dependencies (apache#45997)

### Rationale for this change
Enable building with CMake 4.0 and bundled dependencies that still set `cmake_minimum_required(VERSION 3.5)` or less.

### What changes are included in this PR?
Set https://cmake.org/cmake/help/latest/variable/CMAKE_POLICY_VERSION_MINIMUM.html
### Are these changes tested?
CI
### Are there any user-facing changes?
No
* GitHub Issue: apache#45987

Authored-by: Jacob Wujciak-Jens <jacob@wujciak.de>
Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants