This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 06c80dc chore(dev/release): add support for customizing build related
env vars (#300)
06c80dc is described below
commit 06c80dc3c570d75bc95b4ee91e3331987d7b3d3c
Author: Sutou Kouhei <[email protected]>
AuthorDate: Thu Dec 29 22:17:57 2022 +0900
chore(dev/release): add support for customizing build related env vars
(#300)
If we can customize `PKG_CONFIG_PATH`, `LD_LIBRARY_PATH` and so on, we
can use Apache Arrow C GLib installed in custom directory such as
`/tmp/local/`.
Fixes #299.
---
ci/scripts/glib_test.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ci/scripts/glib_test.sh b/ci/scripts/glib_test.sh
index 92c696a..31022d6 100755
--- a/ci/scripts/glib_test.sh
+++ b/ci/scripts/glib_test.sh
@@ -26,10 +26,10 @@ test_subproject() {
local -r build_dir="${2}"
local -r install_dir="${3}"
- export DYLD_LIBRARY_PATH="${install_dir}/lib"
- export GI_TYPELIB_PATH="${build_dir}/glib/adbc-glib"
- export LD_LIBRARY_PATH="${install_dir}/lib"
- export PKG_CONFIG_PATH="${install_dir}/lib/pkgconfig"
+ export
DYLD_LIBRARY_PATH="${install_dir}/lib${DYLD_LIBRARY_PATH:+:${DYLD_LIBRARY_PATH}}"
+ export
GI_TYPELIB_PATH="${build_dir}/glib/adbc-glib${GI_TYPELIB_PATH:+:${GI_TYPELIB_PATH}}"
+ export
LD_LIBRARY_PATH="${install_dir}/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
+ export
PKG_CONFIG_PATH="${install_dir}/lib/pkgconfig${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}}"
if [[ -n "${CONDA_PREFIX}" ]]; then
export
GI_TYPELIB_PATH="${GI_TYPELIB_PATH}:${CONDA_PREFIX}/lib/girepository-1.0"
export
PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${CONDA_PREFIX}/lib/pkgconfig"