Skip to content

GH-48395: [C++][Dev] Update fuzzing CMake preset#48396

Merged
kou merged 2 commits intoapache:mainfrom
pitrou:gh48395-cmake-fuzzing-preset
Dec 9, 2025
Merged

GH-48395: [C++][Dev] Update fuzzing CMake preset#48396
kou merged 2 commits intoapache:mainfrom
pitrou:gh48395-cmake-fuzzing-preset

Conversation

@pitrou
Copy link
Member

@pitrou pitrou commented Dec 8, 2025

Rationale for this change

We have more features enabled on our fuzzing setup but we haven't updated the corresponding CMake preset.

Are these changes tested?

Manually.

Are there any user-facing changes?

No.

@pitrou
Copy link
Member Author

pitrou commented Dec 8, 2025

@kou Does this look ok?

Copy link
Contributor

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

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

small comment but lgtm

"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"ARROW_DEPENDENCY_SOURCE": "BUNDLED",
Copy link
Contributor

Choose a reason for hiding this comment

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

Any particular reason we have to use the BUNDLED approach for this?

Copy link
Member

Choose a reason for hiding this comment

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

I want to know it too. Is it for generating more information in backtrace?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's so that dependencies are properly instrumented by ASan/UBSan. Otherwise we might miss some bugs.

Copy link
Member Author

Choose a reason for hiding this comment

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

(if only JSON allowed comments, I could add one here...)

Copy link
Member

Choose a reason for hiding this comment

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

We can use "$comment" key in CMakePresets.json: https://cmake.org/cmake/help/latest/manual/cmake-presets.7.html#format

Copy link
Member Author

Choose a reason for hiding this comment

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

Only with CMake 3.31 and higher apparently, is that ok for us?

Copy link
Member

Choose a reason for hiding this comment

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

Oh... We can't use it for now...

@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Dec 8, 2025
Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

Comment on lines 443 to 456
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"ARROW_DEPENDENCY_SOURCE": "BUNDLED",
"ARROW_CSV": "ON",
"ARROW_IPC": "ON",
"ARROW_PARQUET": "ON",
"PARQUET_REQUIRE_ENCRYPTION": "ON",
"ARROW_FUZZING": "ON",
"ARROW_WITH_SNAPPY": "ON"
"ARROW_WITH_BROTLI": "ON",
"ARROW_WITH_LZ4": "ON",
"ARROW_WITH_SNAPPY": "ON",
"ARROW_WITH_ZLIB": "ON",
"ARROW_WITH_ZSTD": "ON"
Copy link
Member

Choose a reason for hiding this comment

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

Could you sort them like other presets do?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, will do.

"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"ARROW_DEPENDENCY_SOURCE": "BUNDLED",
Copy link
Member

Choose a reason for hiding this comment

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

I want to know it too. Is it for generating more information in backtrace?

@github-actions github-actions bot added awaiting review Awaiting review awaiting merge Awaiting merge awaiting committer review Awaiting committer review and removed awaiting committer review Awaiting committer review awaiting review Awaiting review awaiting merge Awaiting merge labels Dec 9, 2025
We have more features enabled on our fuzzing setup but we haven't updated the corresponding CMake preset.
@pitrou pitrou force-pushed the gh48395-cmake-fuzzing-preset branch from 885d7c7 to b737876 Compare December 9, 2025 08:13
@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Dec 9, 2025
@kou kou merged commit f65ee2c into apache:main Dec 9, 2025
43 checks passed
@kou kou removed the awaiting changes Awaiting changes label Dec 9, 2025
@github-actions github-actions bot added the awaiting changes Awaiting changes label Dec 9, 2025
@pitrou pitrou deleted the gh48395-cmake-fuzzing-preset branch December 10, 2025 09:37
@conbench-apache-arrow
Copy link

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

There were no benchmark performance regressions. 🎉

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants