You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2019/04/05 00:11:49 UTC

[arrow] branch master updated: ARROW-5064: [Release] Pass PKG_CONFIG_PATH to glib in the verification script

This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 4495305  ARROW-5064: [Release] Pass PKG_CONFIG_PATH to glib in the verification script
4495305 is described below

commit 4495305092411e8551c60341e273c8aa3c14b282
Author: Krisztián Szűcs <sz...@gmail.com>
AuthorDate: Fri Apr 5 09:10:43 2019 +0900

    ARROW-5064: [Release] Pass PKG_CONFIG_PATH to glib in the verification script
    
    Author: Krisztián Szűcs <sz...@gmail.com>
    
    Closes #4073 from kszucs/osx-glib-pkg-config and squashes the following commits:
    
    9b0f4c5b <Krisztián Szűcs> check for brew in the condition
    851a8d56 <Krisztián Szűcs> pass pkg config path
---
 dev/release/verify-release-candidate.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh
index edd8f10..40dee92 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -289,7 +289,13 @@ test_python() {
 test_glib() {
   pushd c_glib
 
-  ./configure --prefix=$ARROW_HOME
+  if brew --prefix libffi > /dev/null 2>&1; then
+    ./configure --prefix=$ARROW_HOME \
+      PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig:$PKG_CONFIG_PATH
+  else
+    ./configure --prefix=$ARROW_HOME
+  fi
+
   make -j$NPROC
   make install