-
Notifications
You must be signed in to change notification settings - Fork 3.9k
GH-46067: [CI][C++] Remove system Flatbuffers from macOS #46105
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
Conversation
|
@github-actions crossbow submit verify-rc-source-cpp-macos-amd64 |
|
Revision: b27bf7e Submitted crossbow builds: ursacomputing/crossbow @ actions-4ebe73daec
|
|
@kou maybe this is viable? Or we should pin the version of flatbuffers used in the Brewfile? |
|
@github-actions crossbow submit verify-rc-source-ruby-macos-amd64 |
|
@github-actions crossbow submit verify-rc-source-*-macos-arm64 |
|
Revision: b27bf7e Submitted crossbow builds: ursacomputing/crossbow @ actions-febc5892d7
|
kou
left a comment
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.
+1
Yes. We can use this for 20.0.0. But I feel that this is a workaround... I think that our build should work with system Flatbuffers (that isn't 24). In the case, we should use bundled Flatbuffers not system Flatbuffers.
|
Revision: b27bf7e Submitted crossbow builds: ursacomputing/crossbow @ actions-4c932a1672 |
|
I believe flatbuffers requires that the version used to generate the code must be exactly the same version used to compile the code. So from that perspective the Arrow build system dependency should either be vendored, or you would have to ensure your system has the exact same version |
|
Right. We're using the vendored approach. So I think that we should use the vendored Flatbuffers even when there is a system Flatbuffers. (I think that it's a real fix.) |
|
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 32641ec. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 20 possible false positives for unstable benchmarks that are known to sometimes produce them. |
|
@github-actions crossbow submit verify-rc-source-*-macos-amd64 |
|
Revision: b27bf7e Submitted crossbow builds: ursacomputing/crossbow @ actions-34dfae5216 |
### Rationale for this change Flatbuffers statically requires that the version used to generate the prototypes within the code base is the same version used to compile it. A system install of Flatbuffers is therefore highly unlikely to be usable ### What changes are included in this PR? Removed the system install of Flatbuffers on macOS ### Are these changes tested? In CI ### Are there any user-facing changes? No * GitHub Issue: #46067 Authored-by: Will Ayd <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
…e#46105) ### Rationale for this change Flatbuffers statically requires that the version used to generate the prototypes within the code base is the same version used to compile it. A system install of Flatbuffers is therefore highly unlikely to be usable ### What changes are included in this PR? Removed the system install of Flatbuffers on macOS ### Are these changes tested? In CI ### Are there any user-facing changes? No * GitHub Issue: apache#46067 Authored-by: Will Ayd <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
…e#46105) ### Rationale for this change Flatbuffers statically requires that the version used to generate the prototypes within the code base is the same version used to compile it. A system install of Flatbuffers is therefore highly unlikely to be usable ### What changes are included in this PR? Removed the system install of Flatbuffers on macOS ### Are these changes tested? In CI ### Are there any user-facing changes? No * GitHub Issue: apache#46067 Authored-by: Will Ayd <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
Rationale for this change
Flatbuffers statically requires that the version used to generate the prototypes within the code base is the same version used to compile it. A system install of Flatbuffers is therefore highly unlikely to be usable
What changes are included in this PR?
Removed the system install of Flatbuffers on macOS
Are these changes tested?
In CI
Are there any user-facing changes?
No