lukester1975 commented on issue #15139:
URL: https://github.com/apache/arrow/issues/15139#issuecomment-1370784344
- Yes, pkgconfig via Choco, though I see exactly the same behaviour with
vcpkg's.
-
`PKG_CONFIG_PATH=/path/to/arrow/cpp/vcpkg_installed/<triplet>/[debug]/lib/pkgconfig`
works in that `Requires: libbrotlidec libbrotlienc zlib liblz4 libzstd` gets
generated. I assume the intention is not to have to do that, though? Pretty
unpleasant (especially given the debug/release specific location)!
- R.e. Linux - I was wrong, it is behaving the same, as it looks like
`PKG_CONFIG_PATH="" cmake ...` isn't sufficient to ignore the system paths. So
it was generating a sensible pc file by accident when arrow's deps are
available system wide.
- Patch won't configure, looks like a missing `>` - I assume it needs to be
`string(APPEND ARROW_PC_LIBS_PRIVATE "
debug[$<$<CONFIG:DEBUG>:${BZIP2_LIBRARY_DEBUG}>]")`
- With that it generates: `Libs: -L${libdir} -larrow
D:/dev/checkouts/external/arrow.git/cpp/vcpkg_installed/x64-windows-static-md/lib/snappy.lib
release[]
debug[D:/dev/checkouts/external/arrow.git/cpp/vcpkg_installed/x64-windows-static-md/debug/lib/bz2d.lib]
other[]`
- Not sure if that's what's intended, but cursorily it doesn't look like
https://github.com/microsoft/vcpkg/pull/23898/ would fixup that syntax, though
maybe vcpkg is a different case altgother given
`-DARROW_DEPENDENCY_SOURCE=SYSTEM -DARROW_PACKAGE_KIND=vcpkg`...
Thanks
--
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]