Repository: bigtop Updated Branches: refs/heads/master 702b02951 -> 4425d0f8e
BIGTOP-2563: Enable Zeppelin build on ppc64le Signed-off-by: Amir Sanjar <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/4425d0f8 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/4425d0f8 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/4425d0f8 Branch: refs/heads/master Commit: 4425d0f8e4a010eb3042cdbfa8ca63c529b7f8c9 Parents: 702b029 Author: Amir Sanjar <[email protected]> Authored: Tue Nov 1 09:17:47 2016 -0500 Committer: Amir Sanjar <[email protected]> Committed: Tue Nov 1 09:31:11 2016 -0500 ---------------------------------------------------------------------- bigtop-packages/src/common/zeppelin/do-component-build | 12 ++++++++++++ 1 file changed, 12 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/4425d0f8/bigtop-packages/src/common/zeppelin/do-component-build ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/common/zeppelin/do-component-build b/bigtop-packages/src/common/zeppelin/do-component-build index 4eb6242..f013e01 100644 --- a/bigtop-packages/src/common/zeppelin/do-component-build +++ b/bigtop-packages/src/common/zeppelin/do-component-build @@ -18,6 +18,18 @@ set -ex . `dirname $0`/bigtop.bom +if [ $HOSTTYPE = "powerpc64le" ] ; then + git clone https://github.com/ibmsoe/phantomjs-1 + cd phantomjs-1 + export PHANTOMJS_CDNURL=https://github.com/ibmsoe/phantomjs/releases/download/2.1.1 + npm install -g + cd .. + rm -rf phantomjs-1 + sed -i "s|<nodeVersion>.*</nodeVersion>|<nodeVersion>v4.4.7</nodeVersion>|" zeppelin-web/pom.xml + sed -i 's|"karma-phantomjs-launcher": "~0.1.4"|"karma-phantomjs-launcher": "~1.0.0"|' zeppelin-web/package.json + sed -i "s|<version>0.0.23</version>|<version>1.1</version>|" zeppelin-web/pom.xml +fi + BUILD_OPTS="-Divy.home=${HOME}/.ivy2 -Dsbt.ivy.home=${HOME}/.ivy2 -Duser.home=${HOME} \ -Drepo.maven.org=$IVY_MIRROR_PROP \ -Dreactor.repo=file://${HOME}/.m2/repository \
