bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ofle...@apache.org
Subject [09/51] [abbrv] bigtop git commit: BIGTOP-2427. jsvc build not recognizing ARM as valid platform
Date Fri, 29 Jul 2016 17:02:50 GMT
BIGTOP-2427. jsvc build not recognizing ARM as valid platform


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

Branch: refs/heads/BIGTOP-2253
Commit: 7d7c4b6d1d6ac4a6f48f16574384c1ec0c31d45a
Parents: 5e4bf8e
Author: Roman Shaposhnik <rvs@apache.org>
Authored: Mon May 23 14:11:23 2016 -0700
Committer: Roman Shaposhnik <rvs@apache.org>
Committed: Mon May 23 14:11:23 2016 -0700

----------------------------------------------------------------------
 ...679f88e690f65a81e4590e172061f0f6be5a4d.patch | 83 ++++++++++++++++++++
 .../src/common/bigtop-jsvc/do-component-build   |  1 +
 2 files changed, 84 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/7d7c4b6d/bigtop-packages/src/common/bigtop-jsvc/9e679f88e690f65a81e4590e172061f0f6be5a4d.patch
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/bigtop-jsvc/9e679f88e690f65a81e4590e172061f0f6be5a4d.patch
b/bigtop-packages/src/common/bigtop-jsvc/9e679f88e690f65a81e4590e172061f0f6be5a4d.patch
new file mode 100644
index 0000000..1b7c4c5
--- /dev/null
+++ b/bigtop-packages/src/common/bigtop-jsvc/9e679f88e690f65a81e4590e172061f0f6be5a4d.patch
@@ -0,0 +1,83 @@
+From 9e679f88e690f65a81e4590e172061f0f6be5a4d Mon Sep 17 00:00:00 2001
+From: "Gary D. Gregory" <ggregory@apache.org>
+Date: Mon, 23 May 2016 17:11:03 +0000
+Subject: [PATCH] [DAEMON-347] Add AArch64 support to
+ src/native/unix/support/apsupport.m4.
+
+git-svn-id: https://svn.apache.org/repos/asf/commons/proper/daemon/trunk@1745237 13f79535-47bb-0310-9956-ffa450edef68
+---
+ src/changes/changes.xml              | 45 ++++++++++++++++++++++++++++++++++++
+ src/native/unix/support/apsupport.m4 |  8 ++++++-
+ 2 files changed, 52 insertions(+), 1 deletion(-)
+ create mode 100644 src/changes/changes.xml
+
+diff --git a/src/changes/changes.xml b/src/changes/changes.xml
+new file mode 100644
+index 0000000..80fe85a
+--- /dev/null
++++ b/src/changes/changes.xml
+@@ -0,0 +1,45 @@
++<?xml version="1.0"?>
++<!--
++  Licensed to the Apache Software Foundation (ASF) under one or more
++  contributor license agreements. See the NOTICE file distributed with
++  this work for additional information regarding copyright ownership.
++  The ASF licenses this file to You under the Apache License, Version 2.0
++  (the "License"); you may not use this file except in compliance with
++  the License. You may obtain a copy of the License at
++
++  http://www.apache.org/licenses/LICENSE-2.0
++
++  Unless required by applicable law or agreed to in writing, software
++  distributed under the License is distributed on an "AS IS" BASIS,
++  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++  See the License for the specific language governing permissions and
++  limitations under the License.
++-->
++
++<!--
++  This file is used by the maven-changes-plugin to generate the release notes.
++  Useful ways of finding items to add to this file are:
++
++  1. Add items when you fix a bug or add a feature (this makes the
++  release process easy :-).
++
++  2. Do a JIRA search for tickets closed since the previous release.
++
++  3. Use the report generated by the maven-changelog-plugin to see all
++  SVN commits. Set the project.properties' maven.changelog.range
++  property to the number of days since the last release.
++
++
++  The <action> type attribute can be add,update,fix,remove.
++-->
++
++<document>
++  <properties>
++    <title>Release Notes</title>
++  </properties>
++  <body>
++    <release version="1.1.0" date="2016-MM-DD" description="Feature and bug fix release">
++      <action issue="DAEMON-347" type="update" dev="ggregory" due-to="Ganesh Raju">Add
AArch64 support to src/native/unix/support/apsupport.m4</action>
++    </release>
++  </body>
++</document>
+diff --git a/src/native/unix/support/apsupport.m4 b/src/native/unix/support/apsupport.m4
+index db91e32..e03969a 100644
+--- a/src/native/unix/support/apsupport.m4
++++ b/src/native/unix/support/apsupport.m4
+@@ -156,7 +156,13 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
+   arm*)
+     CFLAGS="$CFLAGS -DCPU=\\\"arm\\\""
+     supported_os="arm"
+-    HOST_CPU=arm;;
++    HOST_CPU=arm  
++    ;;
++  aarch64*)
++    CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\""
++    supported_os="linux"
++    HOST_CPU=aarch64
++    ;;  
+   *)
+     AC_MSG_RESULT([failed])
+     AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;

http://git-wip-us.apache.org/repos/asf/bigtop/blob/7d7c4b6d/bigtop-packages/src/common/bigtop-jsvc/do-component-build
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/bigtop-jsvc/do-component-build b/bigtop-packages/src/common/bigtop-jsvc/do-component-build
index d07efba..464bebd 100644
--- a/bigtop-packages/src/common/bigtop-jsvc/do-component-build
+++ b/bigtop-packages/src/common/bigtop-jsvc/do-component-build
@@ -19,6 +19,7 @@ set -ex
 rm -f jsvc
 
 pushd unix
+  autoreconf
   ./configure --prefix=/usr
   make
   cp -f jsvc ../jsvc


Mime
View raw message