Repository: bigtop Updated Branches: refs/heads/master c149934cd -> 57984b6a9
BIGTOP-2721. libsnappy reference path is not correct for hadoop/ubuntu16 build Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/57984b6a Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/57984b6a Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/57984b6a Branch: refs/heads/master Commit: 57984b6a9b8511d031ac6258d17d2aba2efb7a69 Parents: c149934 Author: Jun He <[email protected]> Authored: Mon Mar 27 09:49:43 2017 -0700 Committer: Roman Shaposhnik <[email protected]> Committed: Mon Mar 27 09:49:43 2017 -0700 ---------------------------------------------------------------------- bigtop-packages/src/common/hadoop/do-component-build | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/57984b6a/bigtop-packages/src/common/hadoop/do-component-build ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/common/hadoop/do-component-build b/bigtop-packages/src/common/hadoop/do-component-build index f7b6308..32429c2 100644 --- a/bigtop-packages/src/common/hadoop/do-component-build +++ b/bigtop-packages/src/common/hadoop/do-component-build @@ -47,6 +47,7 @@ fi if [ -z "$BUNDLE_SNAPPY" ] ; then [ -f /usr/lib/libsnappy.so ] && BUNDLE_SNAPPY="-Dsnappy.prefix=x -Dbundle.snappy=true -Dsnappy.lib=/usr/lib" [ -f /usr/lib64/libsnappy.so ] && BUNDLE_SNAPPY="-Dsnappy.prefix=x -Dbundle.snappy=true -Dsnappy.lib=/usr/lib64" + [ -f /usr/lib/${HOSTTYPE}-linux-gnu/libsnappy.so ] && BUNDLE_SNAPPY="-Dsnappy.prefix=x -Dbundle.snappy=true -Dsnappy.lib=/usr/lib/${HOSTTYPE}-linux-gnu" fi mkdir build
