[opensuse-buildservice] [patch] build: sparc support
Please consider for merge.
The following changes since commit 318c860c5c178c72988ccae149f4c7e6c2f557bf:
Michael Schroeder (1):
Merge branch 'master' of gitorious.org:opensuse/build
are available in the git repository at:
git://dev.medozas.de/suse-build master
Jan Engelhardt (1):
SPARC architecture support
Build.pm | 1 +
baselibs_global.conf | 6 ++++++
common_functions | 2 ++
3 files changed, 9 insertions(+), 0 deletions(-)
----------8<----------
parent 318c860c5c178c72988ccae149f4c7e6c2f557bf ()
commit 6dedaacf1dd51ed6512359814fbe7d7c5af86cff
Author: Jan Engelhardt
Jan Engelhardt wrote:
[...] diff --git a/common_functions b/common_functions index 8a67511..f27c1be 100644 --- a/common_functions +++ b/common_functions @@ -14,6 +14,8 @@ set_build_arch() i586) BUILD_ARCH="i586:i486:i386" ;; i486) BUILD_ARCH="i486:i386" ;; x86_64) BUILD_ARCH="x86_64:i686:i586:i486:i386" ;; + (sparc64*) BUILD_ARCH="sparc64v:sparc64:sparcv9v:sparcv9:sparcv8:sparc";; + (sparc*) BUILD_ARCH="sparcv9v:sparcv9:sparcv8:sparc";; ^ intentional?
cu Ludwig -- (o_ Ludwig Nussel //\ SUSE LINUX Products GmbH, Development V_/_ http://www.suse.de/ -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Saturday 2009-12-12 10:00, Ludwig Nussel wrote:
Jan Engelhardt wrote:
[...] diff --git a/common_functions b/common_functions index 8a67511..f27c1be 100644 --- a/common_functions +++ b/common_functions @@ -14,6 +14,8 @@ set_build_arch() i586) BUILD_ARCH="i586:i486:i386" ;; i486) BUILD_ARCH="i486:i386" ;; x86_64) BUILD_ARCH="x86_64:i686:i586:i486:i386" ;; + (sparc64*) BUILD_ARCH="sparc64v:sparc64:sparcv9v:sparcv9:sparcv8:sparc";; + (sparc*) BUILD_ARCH="sparcv9v:sparcv9:sparcv8:sparc";; ^ intentional?
Yes. Everything that's not 64 is 32. Though you could of course say that trying to build for sparcv8 (which nobody would do these days) must not use sparcv9s. Dunno if it really matters. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sat, Dec 12, 2009 at 11:46:24AM +0100, Jan Engelhardt wrote:
On Saturday 2009-12-12 10:00, Ludwig Nussel wrote:
Jan Engelhardt wrote:
[...] diff --git a/common_functions b/common_functions index 8a67511..f27c1be 100644 --- a/common_functions +++ b/common_functions @@ -14,6 +14,8 @@ set_build_arch() i586) BUILD_ARCH="i586:i486:i386" ;; i486) BUILD_ARCH="i486:i386" ;; x86_64) BUILD_ARCH="x86_64:i686:i586:i486:i386" ;; + (sparc64*) BUILD_ARCH="sparc64v:sparc64:sparcv9v:sparcv9:sparcv8:sparc";; + (sparc*) BUILD_ARCH="sparcv9v:sparcv9:sparcv8:sparc";; ^ intentional?
Yes. Everything that's not 64 is 32. Though you could of course say that trying to build for sparcv8 (which nobody would do these days) must not use sparcv9s. Dunno if it really matters.
I think Ludwig meant the leading '('... Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Monday 2009-12-14 12:03, Michael Schroeder wrote:
diff --git a/common_functions b/common_functions index 8a67511..f27c1be 100644 --- a/common_functions +++ b/common_functions @@ -14,6 +14,8 @@ set_build_arch() i586) BUILD_ARCH="i586:i486:i386" ;; i486) BUILD_ARCH="i486:i386" ;; x86_64) BUILD_ARCH="x86_64:i686:i586:i486:i386" ;; + (sparc64*) BUILD_ARCH="sparc64v:sparc64:sparcv9v:sparcv9:sparcv8:sparc";; + (sparc*) BUILD_ARCH="sparcv9v:sparcv9:sparcv8:sparc";; ^ intentional?
Yes. Everything that's not 64 is 32. Though you could of course say that trying to build for sparcv8 (which nobody would do these days) must not use sparcv9s. Dunno if it really matters.
I think Ludwig meant the leading '('...
That too is intended. bash, dash and ash supports this, and is good for balancing. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
But it does not match existing coding style. To me it is somewhat rude to ignore coding style of the surrounding code when submitting patches. Especially code on the immediately preceding line. :) -- Michael ________________________________________ From: Jan Engelhardt [jengelh@medozas.de] Sent: Monday, December 14, 2009 5:07 AM To: Michael Schroeder Cc: Ludwig Nussel; opensuse-buildservice@opensuse.org Subject: Re: [opensuse-buildservice] [patch] build: sparc support On Monday 2009-12-14 12:03, Michael Schroeder wrote:
diff --git a/common_functions b/common_functions index 8a67511..f27c1be 100644 --- a/common_functions +++ b/common_functions @@ -14,6 +14,8 @@ set_build_arch() i586) BUILD_ARCH="i586:i486:i386" ;; i486) BUILD_ARCH="i486:i386" ;; x86_64) BUILD_ARCH="x86_64:i686:i586:i486:i386" ;; + (sparc64*) BUILD_ARCH="sparc64v:sparc64:sparcv9v:sparcv9:sparcv8:sparc";; + (sparc*) BUILD_ARCH="sparcv9v:sparcv9:sparcv8:sparc";; ^ intentional?
Yes. Everything that's not 64 is 32. Though you could of course say that trying to build for sparcv8 (which nobody would do these days) must not use sparcv9s. Dunno if it really matters.
I think Ludwig meant the leading '('...
That too is intended. bash, dash and ash supports this, and is good for balancing. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Jan Engelhardt
-
Ludwig Nussel
-
Michael Schroeder
-
Michael_E_Brown@Dell.com