Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
asfimport opened this issue Oct 11, 2019 · 1 comment
Closed

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

asfimport opened this issue Oct 11, 2019 · 1 comment

Comments

@asfimport
Copy link

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

 

 

 

 

Reporter: Yuqi Gu / @guyuqi
Assignee: Yuqi Gu / @guyuqi

PRs and other links:

Note: This issue was originally created as ARROW-6852. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Antoine Pitrou / @pitrou:
Issue resolved by pull request 5624
#5624

@asfimport asfimport added this to the 0.15.1 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant