Return-Path: X-Original-To: apmail-bigtop-commits-archive@www.apache.org Delivered-To: apmail-bigtop-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5B81318E4C for ; Fri, 12 Feb 2016 11:52:57 +0000 (UTC) Received: (qmail 85644 invoked by uid 500); 12 Feb 2016 11:52:57 -0000 Delivered-To: apmail-bigtop-commits-archive@bigtop.apache.org Received: (qmail 85600 invoked by uid 500); 12 Feb 2016 11:52:57 -0000 Mailing-List: contact commits-help@bigtop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bigtop-dev@bigtop.apache.org Delivered-To: mailing list commits@bigtop.apache.org Received: (qmail 85591 invoked by uid 99); 12 Feb 2016 11:52:57 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2016 11:52:57 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 241EEE08CD; Fri, 12 Feb 2016 11:52:57 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: cos@apache.org To: commits@bigtop.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer 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 +0000 (UTC) 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 Authored: Fri Feb 12 14:37:25 2016 +0300 Committer: Konstantin Boudnik 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