hiroyuki-sato commented on PR #51091:
URL: https://github.com/apache/arrow/pull/51091#issuecomment-5487657967
@kou
It looks like `generate_corpuses.sh` is called when `"${ARROW_FUZZING}" ==
"ON"`, but I don't know how to enable `ARROW_FUZZING`.
```bash
if [ "${ARROW_FUZZING}" == "ON" ]; then
# .. snip
# 1. Generate seed corpuses
# For IPC fuzz targets, these will include the golden IPC integration
files.
"${source_dir}/build-support/fuzzing/generate_corpuses.sh"
"${binary_output_dir}"
```
```
`ARROW_FUZZING` is enabled in the following parts.
cpp/CMakePresets.json
```json
{
"name": "fuzzing",
"inherits": [
"sanitizer-asan",
"sanitizer-ubsan",
"base"
],
"displayName": "Debug build with IPC and Parquet fuzzing targets",
"cacheVariables": {
"ARROW_CSV": "ON",
"ARROW_DEPENDENCY_SOURCE": "BUNDLED",
"ARROW_FUZZING": "ON",
```
ubuntu-cpp-sanitizer
```
ubuntu-cpp-sanitizer:
#..snip
environment:
<<: [*common, *ccache, *sccache, *cpp]
# snip...
ARROW_FLIGHT_SQL: "OFF"
ARROW_FUZZING: "ON" # Check fuzz regressions
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]