bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject bigtop git commit: BIGTOP-2321. libyarn is now created on the fly. Still need to make a package out of it
Date Fri, 12 Feb 2016 11:52:57 GMT
Repository: bigtop
Updated Branches:
  refs/heads/BIGTOP-2320 ef1e8837f -> 70d7c3091


BIGTOP-2321.    libyarn is now created on the fly. Still need to make a package out of it


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/70d7c309
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/70d7c309
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/70d7c309

Branch: refs/heads/BIGTOP-2320
Commit: 70d7c3091c402102f5f08f2d84cd461941669f24
Parents: ef1e883
Author: Konstantin Boudnik <cos@apache.org>
Authored: Fri Feb 12 14:37:25 2016 +0300
Committer: Konstantin Boudnik <cos@apache.org>
Committed: Fri Feb 12 14:52:46 2016 +0300

----------------------------------------------------------------------
 bigtop-packages/src/common/hawq/do-component-build | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/70d7c309/bigtop-packages/src/common/hawq/do-component-build
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hawq/do-component-build b/bigtop-packages/src/common/hawq/do-component-build
index bb708ac..a4469a0 100755
--- a/bigtop-packages/src/common/hawq/do-component-build
+++ b/bigtop-packages/src/common/hawq/do-component-build
@@ -17,12 +17,25 @@
 set -ex
 
 . `dirname $0`/bigtop.bom
+CWD=`pwd`
 
 #docker run --rm=true -v `pwd`:/data -u root rlei/mydocker:latest /bin/sh -c "
+## build libyarn first
+cd depends/libyarn
+mkdir -p build
+cd build
+../bootstrap --prefix=${CWD}/libyarn
+make -j8
+make install
+cd ${CWD}
+ldconfig $CWD/libyarn/lib
+## libyarn should be available in the system at this point
 
 echo "Running the native build"
 date;
-./configure --prefix=`pwd`/hawq
+./configure --prefix=${CWD}/hawq \
+    --with-libs=$CWD/libyarn/lib \
+    --with-includes=$CWD/libyarn/include
 if [ $? != 0 ]; then
     echo HAWQ configure failed.
     exit 1


Mime
View raw message