You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/06/01 08:06:00 UTC
[jira] [Commented] (ARROW-16687) [C++] Can not find conda-installed Google Benchmark library
[ https://issues.apache.org/jira/browse/ARROW-16687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17544758#comment-17544758 ]
Antoine Pitrou commented on ARROW-16687:
----------------------------------------
Here is the output:
https://gist.github.com/pitrou/33e00e5bb637e4155a88a66269dd3938
Weirdly, this doesn't match the package contents:
{code}
$ ls -la ~/miniconda3/pkgs/benchmark-1.6.1-h9c3ff4c_0/lib/cmake/benchmark/
total 24
drwxrwsr-x 2 antoine antoine 4096 févr. 22 15:12 .
drwxrwsr-x 3 antoine antoine 4096 févr. 22 15:12 ..
-rw-rw-r-- 1 antoine antoine 541 janv. 10 22:53 benchmarkConfig.cmake
-rw-rw-r-- 1 antoine antoine 2878 janv. 10 22:53 benchmarkConfigVersion.cmake
-rw-rw-r-- 1 antoine antoine 3723 janv. 10 22:53 benchmarkTargets.cmake
-rw-rw-r-- 2 antoine antoine 1416 janv. 10 22:53 benchmarkTargets-release.cmake
{code}
> [C++] Can not find conda-installed Google Benchmark library
> -----------------------------------------------------------
>
> Key: ARROW-16687
> URL: https://issues.apache.org/jira/browse/ARROW-16687
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Antoine Pitrou
> Priority: Major
>
> I have {{benchmark 1.6.1}} installed from conda-forge, yet when trying to build Arrow C++ with benchmarks enabled I get the following error:
> {code}
> CMake Error at cmake_modules/ThirdpartyToolchain.cmake:253 (find_package):
> By not providing "Findbenchmark.cmake" in CMAKE_MODULE_PATH this project
> has asked CMake to find a package configuration file provided by
> "benchmark", but CMake did not find one.
> Could not find a package configuration file provided by "benchmark"
> (requested version 1.6.0) with any of the following names:
> benchmarkConfig.cmake
> benchmark-config.cmake
> Add the installation prefix of "benchmark" to CMAKE_PREFIX_PATH or set
> "benchmark_DIR" to a directory containing one of the above files. If
> "benchmark" provides a separate development package or SDK, be sure it has
> been installed.
> Call Stack (most recent call first):
> cmake_modules/ThirdpartyToolchain.cmake:2141 (resolve_dependency)
> CMakeLists.txt:567 (include)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)