[ https://issues.apache.org/jira/browse/ARROW-6852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou resolved ARROW-6852. ----------------------------------- Resolution: Fixed Issue resolved by pull request 5624 [https://github.com/apache/arrow/pull/5624] > [C++] memory-benchmark build failed on Arm64 > -------------------------------------------- > > Key: ARROW-6852 > URL: https://issues.apache.org/jira/browse/ARROW-6852 > Project: Apache Arrow > Issue Type: Improvement > Components: C++ > Reporter: Yuqi Gu > Assignee: Yuqi Gu > Priority: Major > Labels: pull-request-available > Fix For: 1.0.0 > > Time Spent: 40m > Remaining Estimate: 0h > > After the new commit: ARROW-6381 was merged in master, > build would fail on Arm64 when DARROW_BUILD_BENCHMARKS is enabled: > > > {code:java} > /home/builder/arrow/cpp/src/arrow/io/memory_benchmark.cc:205:31: error: > 'kMemoryPerCore' was not declared in this scope > const int64_t buffer_size = kMemoryPerCore; > ^~~~~~~~~~~~~~ > /home/builder/arrow/cpp/src/arrow/io/memory_benchmark.cc:207:19: error: > 'Buffer' was not declared in this scope > std::shared_ptr<Buffer> src, dst; > ^~~~~~ > /home/builder/arrow/cpp/src/arrow/io/memory_benchmark.cc:207:19: note: > suggested alternative: > In file included from /home/builder/arrow/cpp/src/arrow/array.h:28:0, > from /home/builder/arrow/cpp/src/arrow/api.h:23, > from /home/builder/arrow/cpp/src/arrow/io/memory_benchmark.cc:20: > /home/builder/arrow/cpp/src/arrow/buffer.h:50:20: note: 'arrow::Buffer' > class ARROW_EXPORT Buffer { > ^~~~~~ > /home/builder/arrow/cpp/src/arrow/io/memory_benchmark.cc:207:25: error: > template argument 1 is invalid > std::shared_ptr<Buffer> src, dst; > ........... > ......... > ..... > > {code} > > > > -- This message was sent by Atlassian Jira (v8.3.4#803005)