Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-6852

[C++] memory-benchmark build failed on Arm64

    XMLWordPrintableJSON

Details

    Description

      After the new commit: ARROW-6381 was merged in master,
      build would fail on Arm64 when DARROW_BUILD_BENCHMARKS is enabled:

       

       

      /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;
      ...........
      .........
      .....
       
      

       

       

       

       

      Attachments

        Issue Links

          Activity

            People

              yqGu Yuqi Gu
              yqGu Yuqi Gu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m