WillAyd commented on PR #46906:
URL: https://github.com/apache/arrow/pull/46906#issuecomment-3292702789
Hmm I'm not sure - that file is not distributed with the conda install, so
it may not have an effect?
I'm not sure of all the rules CMake uses, but from Meson I tried to do:
```python
orc_dep = dependency('orc', cmake_args: ['-DORC_PACKAGE_KIND=conan'])
```
I can confirm in the logs that argument is getting forwarded to cmake:
```
Calling CMake (['/home/will/miniforge3/envs/arrow-dev/bin/cmake']) in
/home/will/clones/arrow/cpp/foo/meson-private/cmake_orc with:
- "-DNAME=orc"
- "-DARCHS=i386-linux-gnu;x86_64-linux-gnu"
- "-DVERSION="
- "-DCOMPS="
- "-DSTATIC=OFF"
- "-DORC_PACKAGE_KIND=conan"
- "--trace-expand"
- "--trace-format=json-v1"
- "--no-warn-unused-cli"
- "--trace-redirect=cmake_trace.txt"
-
"-DCMAKE_TOOLCHAIN_FILE=/home/will/clones/arrow/cpp/foo/meson-private/cmake_orc/CMakeMesonToolchainFile.cmake"
- "."
- "-DCMAKE_PREFIX_PATH=/home/will/miniforge3/envs/arrow-dev"
NOTICE: CMake reported that the package orc was not found with the following
reason:
orc could not be found because dependency Snappy could not be found.
Dependency lookup for orc with method 'cmake' failed: Dependency orc not
found: PACKAGE_FOUND is false
Run-time dependency orc found: NO (tried pkgconfig)
```
But it appears to make no difference
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]