You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by ju...@apache.org on 2018/09/10 08:57:11 UTC

bigtop git commit: BIGTOP-3078: ignite-shmem failed to build on ppc64le

Repository: bigtop
Updated Branches:
  refs/heads/master 096d85842 -> 158e7e789


BIGTOP-3078: ignite-shmem failed to build on ppc64le

Ignite-shmem build failed on ppc64le. This is caused by ppc64le is
not supported by its config.guess.

This closes #391

Change-Id: Ife8b1afe185e086034c1fd25fbb20906c0dc15be
Signed-off-by: Jun He <ju...@apache.org>


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

Branch: refs/heads/master
Commit: 158e7e789dd9e9e35a02e37832f4a9682a111492
Parents: 096d858
Author: Jun He <ju...@linaro.org>
Authored: Mon Sep 10 11:12:29 2018 +0800
Committer: Jun He <ju...@apache.org>
Committed: Mon Sep 10 08:55:59 2018 +0000

----------------------------------------------------------------------
 .../src/common/ignite-hadoop/patch0-shmem-config.diff | 14 ++++++++++++++
 .../src/rpm/ignite-hadoop/SPECS/ignite-hadoop.spec    |  3 +++
 2 files changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/158e7e78/bigtop-packages/src/common/ignite-hadoop/patch0-shmem-config.diff
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/ignite-hadoop/patch0-shmem-config.diff b/bigtop-packages/src/common/ignite-hadoop/patch0-shmem-config.diff
new file mode 100644
index 0000000..3fd4931
--- /dev/null
+++ b/bigtop-packages/src/common/ignite-hadoop/patch0-shmem-config.diff
@@ -0,0 +1,14 @@
+diff --git a/ipc/shmem/config.guess b/ipc/shmem/config.guess
+index 499bfa7..b274825 100755
+--- a/ipc/shmem/config.guess
++++ b/ipc/shmem/config.guess
+@@ -979,6 +979,9 @@ EOF
+     ppc:Linux:*:*)
+ 	echo powerpc-unknown-linux-gnu
+ 	exit ;;
++    ppc64le:Linux:*:*)
++	echo powerpc64le-unknown-linux-gnu
++	exit ;;
+     s390:Linux:*:* | s390x:Linux:*:*)
+ 	echo ${UNAME_MACHINE}-ibm-linux
+ 	exit ;;

http://git-wip-us.apache.org/repos/asf/bigtop/blob/158e7e78/bigtop-packages/src/rpm/ignite-hadoop/SPECS/ignite-hadoop.spec
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/rpm/ignite-hadoop/SPECS/ignite-hadoop.spec b/bigtop-packages/src/rpm/ignite-hadoop/SPECS/ignite-hadoop.spec
index b360b0a..00e8409 100644
--- a/bigtop-packages/src/rpm/ignite-hadoop/SPECS/ignite-hadoop.spec
+++ b/bigtop-packages/src/rpm/ignite-hadoop/SPECS/ignite-hadoop.spec
@@ -86,6 +86,7 @@ Source2: install_ignite.sh
 Source3: ignite-hadoop.svc
 Source4: init.d.tmpl
 Source5: ignite-hadoop.default
+#BIGTOP_PATCH_FILES
 BuildArch: noarch
 ## This package _explicitly_ turns off the auto-discovery of required dependencies
 ## to work around OSGI corner case, added to RPM lately. See BIGTOP-2421 for more info.
@@ -141,6 +142,8 @@ Documentation for Ignite platform
 %prep
 %setup -n ignite-hadoop-%{vcs_tag}
 
+#BIGTOP_PATCH_COMMANDS
+
 %build
 bash %{SOURCE1}