GH-50631: [C++] Scope macOS SDK 11.3 simdjson workaround to bundled simdjson#50633
Conversation
|
|
|
@kou As suggested, I opened an upstream issue for this: simdjson/simdjson#2787 |
|
@github-actions crossbow submit -g r |
|
Revision: fa60e5d Submitted crossbow builds: ursacomputing/crossbow @ actions-343cdd513e |
fa60e5d to
4c4d64c
Compare
|
@github-actions crossbow submit test-r-macos-as-cran |
|
Revision: 4c4d64c Submitted crossbow builds: ursacomputing/crossbow @ actions-ec06c62a76
|
|
@Reranko05 the issue was likely caused by introduction of std::span in #50248, I opened an issue #50636. Otherwise I think the change here is good, but I defer to @kou :) |
|
@rok Thanks for the review :) |
|
@kou I reported this upstream as suggested. They closed the issue, since the macOS 11.3 SDK is considered an unsupported configuration in simdjson, so they don't plan to handle it there. We'll likely need to keep the workaround on the Arrow side. |
|
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit cc90e40. There was 1 benchmark result indicating a performance regression:
The full Conbench report has more details. It also includes information about 9 possible false positives for unstable benchmarks that are known to sometimes produce them. |
Rationale for this change
The workaround introduced for the macOS 11.3 SDK currently uses a global
add_compile_definitions(SIMDJSON_CONCEPT_DISABLED=1).Since this workaround is only needed when building the bundled simdjson dependency, scope it to the
simdjsontarget insidebuild_simdjson()instead of applying it globally.What changes are included in this PR?
build_simdjson().add_compile_definitions()withtarget_compile_definitions(simdjson PUBLIC SIMDJSON_CONCEPT_DISABLED=1).