-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
GH-43688: [C++] Prevent Snappy from disabling RTTI when bundled #43689
Conversation
|
endif() | ||
# See comments in snappy.diff. | ||
find_program(PATCH patch REQUIRED) | ||
set(SNAPPY_PATCH_COMMAND ${PATCH} -p1 -i ${CMAKE_CURRENT_LIST_DIR}/snappy.diff) |
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.
@kou Do we require patch
to be present on all platforms, especially Windows? Or should I make this more specific?
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.
Well, to answer myself: our emscripten builds don't have access to a patch
executable...
https://github.com/ursacomputing/crossbow/actions/runs/10388720694/job/28764995095#step:7:826
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.
And even some Linux builds such as test-r-rocker-r-ver-latest
don't seem to have patch
either. I'll try to make it optional.
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.
Ok, unfortunately the patch is required. We either have to make sure that patch
is available on all images, or do things differently :-/
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.
Yes. patch
is required as you noticed.
I think that another approach is better. See also: #43688 (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.
OTOH, patch
is useful and could be needed for other bundled builds.
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.
I think that we should fix in upstream instead of using patch as much as possible :-)
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.
I agree with this, but as you know Snappy rarely takes outside contributions...
@github-actions crossbow submit -g cpp |
@github-actions crossbow submit -g python |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@github-actions crossbow submit -g r |
This comment was marked as outdated.
This comment was marked as outdated.
@github-actions crossbow submit emscripten |
@github-actions crossbow submit test-r-rocker-r-ver-latest test-r-rstudio-r-base-4.2-focal test-r-versions r-binary-packages |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@github-actions crossbow submit emscripten |
@github-actions crossbow submit -g r |
This comment was marked as outdated.
This comment was marked as outdated.
Revision: 58adcdb Submitted crossbow builds: ursacomputing/crossbow @ actions-62889c8077 |
@github-actions crossbow submit emscripten |
Revision: ae1e24b Submitted crossbow builds: ursacomputing/crossbow @ actions-9f77ba6cb3
|
@github-actions crossbow submit r-binary-packages |
Revision: e545bc3 Submitted crossbow builds: ursacomputing/crossbow @ actions-74e3a4cd44
|
@github-actions crossbow submit -g python -g cpp |
Revision: 19228c5 Submitted crossbow builds: ursacomputing/crossbow @ actions-df81c467d5 |
Closing as outdated, see the alternative and merged PR #43706 |
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?