GH-43688: [C++] Prevent Snappy from disabling RTTI when bundled#43689
GH-43688: [C++] Prevent Snappy from disabling RTTI when bundled#43689pitrou wants to merge 7 commits intoapache:mainfrom
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.
@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.
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.
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.
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.
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.
OTOH, patch is useful and could be needed for other bundled builds.
There was a problem hiding this comment.
I think that we should fix in upstream instead of using patch as much as possible :-)
There was a problem hiding this comment.
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?