Repository: bigtop Updated Branches: refs/heads/branch-1.3 846432138 -> 12d5a48ec
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 <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/12d5a48e Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/12d5a48e Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/12d5a48e Branch: refs/heads/branch-1.3 Commit: 12d5a48ec9dd5d3ea6cfc9784278b098c8b77354 Parents: 8464321 Author: Jun He <[email protected]> Authored: Mon Sep 10 11:12:29 2018 +0800 Committer: Jun He <[email protected]> Committed: Mon Sep 10 08:58:02 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/12d5a48e/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/12d5a48e/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}
