You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2022/06/30 20:25:00 UTC

[jira] [Commented] (ARROW-16942) Error building JNI Libraries on MacOS: Could not find a package configuration file provided by "xsimd"

    [ https://issues.apache.org/jira/browse/ARROW-16942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17561172#comment-17561172 ] 

Kouhei Sutou commented on ARROW-16942:
--------------------------------------

Oh, sorry. I didn't notice it.

Adding {{brew "xsimd"}} to {{cpp/Brewfile}} will resolve this without document update:

{noformat}
diff --git a/cpp/Brewfile b/cpp/Brewfile
index 9cffd8e3a8..40843db9b9 100644
--- a/cpp/Brewfile
+++ b/cpp/Brewfile
@@ -39,4 +39,5 @@ brew "rapidjson"
 brew "snappy"
 brew "thrift"
 brew "wget"
+brew "xsimd"
 brew "zstd"
{noformat}

> Error building JNI Libraries on MacOS: Could not find a package configuration file provided by "xsimd"
> ------------------------------------------------------------------------------------------------------
>
>                 Key: ARROW-16942
>                 URL: https://issues.apache.org/jira/browse/ARROW-16942
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Java
>            Reporter: David Dali Susanibar Arce
>            Assignee: David Dali Susanibar Arce
>            Priority: Minor
>
> Current guide to build Arrow Java JNI [https://arrow.apache.org/docs/developers/java/building.html#building-jni-libraries-on-macos] needs update for error message:
>  
> {code:java}
> CMake Error at cmake_modules/ThirdpartyToolchain.cmake:261 (find_package):
>   By not providing "Findxsimd.cmake" in CMAKE_MODULE_PATH this project has
>   asked CMake to find a package configuration file provided by "xsimd", but
>   CMake did not find one.  Could not find a package configuration file provided by "xsimd" (requested
>   version 8.1.0) with any of the following names:    xsimdConfig.cmake
>     xsimd-config.cmake  Add the installation prefix of "xsimd" to CMAKE_PREFIX_PATH or set
>   "xsimd_DIR" to a directory containing one of the above files.  If "xsimd"
>   provides a separate development package or SDK, be sure it has been
>   installed.
> Call Stack (most recent call first):
>   cmake_modules/ThirdpartyToolchain.cmake:2220 (resolve_dependency)
>   CMakeLists.txt:567 (include) {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)