[
https://issues.apache.org/jira/browse/ARROW-17598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17599671#comment-17599671
]
Aldrin Montana commented on ARROW-17598:
----------------------------------------
sounds good [~yibocai]. I wasn't sure if it would need any more discussion
(which is why I made a JIRA instead of submitted a MINOR pr).
I opened a PR, but I don't think the CI will exercise it, so not sure what to
do about that. Let me know if you'd like any other follow up!
> [C++] Arrow io memory_benchmark does not compile if SIMD level is NEON
> ----------------------------------------------------------------------
>
> Key: ARROW-17598
> URL: https://issues.apache.org/jira/browse/ARROW-17598
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Aldrin Montana
> Assignee: Aldrin Montana
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> When compiling Arrow with the following parameter:
> {code:bash}
> -DARROW_BUILD_BENCHMARKS_REFERENCE="ON"
> {code}
> I get this error and other similar ones:
> {code:bash}
> cpp/src/arrow/io/memory_benchmark.cc:244:26: error: use of undeclared
> identifier 'Read'; did you mean 'read'?
> using ApplyFn = decltype(Read);
> {code}
>
> The reason is that `memory_benchmark.cc` does not define the Read function,
> and others, if the SIMD level is NEON (`ARROW_HAVE_NEON` is true).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)