You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/10/11 09:13:00 UTC

[jira] [Updated] (ARROW-6852) [C++] memory-benchmark build failed on Arm64

     [ https://issues.apache.org/jira/browse/ARROW-6852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-6852:
----------------------------------
    Labels: pull-request-available  (was: )

> [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
>
> 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)