Re: [opensuse-buildservice] "have choice for" in Arch
On Wed, Oct 17, 2012 at 02:06:46PM +0200, Nico Kruber wrote:
On Tuesday 16 Oct 2012 17:12:06 you wrote:
On Tue, Oct 16, 2012 at 02:53:12PM +0200, Nico Kruber wrote:
How do I add these to my project configuration (what is the correct way to check for arch?)
You need to add a
Prefer: libgl jdk7-openjdk
line to the project config.
normally, I'm adding these only for specific distros, e.g.
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} Prefer: java-1.6.0-openjdk-devel java-1.6.0-openjdk %endif
-> so what is the correct check for arch? I couldn't find one in http://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto
We don't have a macro yet. How about %arch_linux ? I don't think there's an arch "version". Or should we can set the "arch_version" to 1? Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 10/17/2012 05:39 PM, Michael Schroeder wrote:
On Tuesday 16 Oct 2012 17:12:06 you wrote:
On Tue, Oct 16, 2012 at 02:53:12PM +0200, Nico Kruber wrote:
How do I add these to my project configuration (what is the correct way to check for arch?) You need to add a
Prefer: libgl jdk7-openjdk
line to the project config. normally, I'm adding these only for specific distros, e.g.
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} Prefer: java-1.6.0-openjdk-devel java-1.6.0-openjdk %endif
-> so what is the correct check for arch? I couldn't find one in http://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto We don't have a macro yet. How about %arch_linux ? I don't think
On Wed, Oct 17, 2012 at 02:06:46PM +0200, Nico Kruber wrote: there's an arch "version". Or should we can set the "arch_version" to 1?
Cheers, Michael.
I think we have one: %ifarch armv7el or %ifarch %arm We do all kind of things with it already. Martin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 10/17/2012 05:57 PM, Martin Mohring wrote:
On 10/17/2012 05:39 PM, Michael Schroeder wrote:
On Tuesday 16 Oct 2012 17:12:06 you wrote:
On Tue, Oct 16, 2012 at 02:53:12PM +0200, Nico Kruber wrote:
How do I add these to my project configuration (what is the correct way to check for arch?) You need to add a
Prefer: libgl jdk7-openjdk
line to the project config. normally, I'm adding these only for specific distros, e.g.
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} Prefer: java-1.6.0-openjdk-devel java-1.6.0-openjdk %endif
-> so what is the correct check for arch? I couldn't find one in http://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto We don't have a macro yet. How about %arch_linux ? I don't think
On Wed, Oct 17, 2012 at 02:06:46PM +0200, Nico Kruber wrote: there's an arch "version". Or should we can set the "arch_version" to 1?
Cheers, Michael.
I think we have one:
%ifarch armv7el
or
%ifarch %arm
We do all kind of things with it already.
Martin
Forgot to mention that the parameter is the scheduler name e.g. i586, x86_64, ppc, ppc64, armv7l and others. There are also macros for multiple archs, like: %arm or %ix86. Usefulness of list depends on the configured schedulers. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wednesday 17 Oct 2012 18:04:16 Martin Mohring wrote:
On 10/17/2012 05:57 PM, Martin Mohring wrote:
On 10/17/2012 05:39 PM, Michael Schroeder wrote:
On Wed, Oct 17, 2012 at 02:06:46PM +0200, Nico Kruber wrote:
On Tuesday 16 Oct 2012 17:12:06 you wrote:
On Tue, Oct 16, 2012 at 02:53:12PM +0200, Nico Kruber wrote:
How do I add these to my project configuration (what is the correct way to check for arch?)
You need to add a
Prefer: libgl jdk7-openjdk
line to the project config.
normally, I'm adding these only for specific distros, e.g.
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} Prefer: java-1.6.0-openjdk-devel java-1.6.0-openjdk %endif
-> so what is the correct check for arch? I couldn't find one in http://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto
We don't have a macro yet. How about %arch_linux ? I don't think there's an arch "version". Or should we can set the "arch_version" to 1?
Cheers,
Michael.
I think we have one:
%ifarch armv7el
or
%ifarch %arm
We do all kind of things with it already.
Martin
Forgot to mention that the parameter is the scheduler name
e.g. i586, x86_64, ppc, ppc64, armv7l and others. There are also macros for multiple archs, like: %arm or %ix86. Usefulness of list depends on the configured schedulers.
the Arch we are discussion about is the Linux distribution, not the architecture :) %arch_linux sounds fine to me and makes clear that we mean the linux distribution Nico -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thursday 18 Oct 2012 12:50:37 Nico Kruber wrote:
On Wednesday 17 Oct 2012 18:04:16 Martin Mohring wrote:
On 10/17/2012 05:57 PM, Martin Mohring wrote:
On 10/17/2012 05:39 PM, Michael Schroeder wrote:
On Wed, Oct 17, 2012 at 02:06:46PM +0200, Nico Kruber wrote:
On Tuesday 16 Oct 2012 17:12:06 you wrote:
On Tue, Oct 16, 2012 at 02:53:12PM +0200, Nico Kruber wrote: > How do I add these to my project configuration (what is the correct > way to > check for arch?)
You need to add a
Prefer: libgl jdk7-openjdk
line to the project config.
normally, I'm adding these only for specific distros, e.g.
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} Prefer: java-1.6.0-openjdk-devel java-1.6.0-openjdk %endif
-> so what is the correct check for arch? I couldn't find one in http://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto
We don't have a macro yet. How about %arch_linux ? I don't think there's an arch "version". Or should we can set the "arch_version" to 1?
Cheers,
Michael.
I think we have one:
%ifarch armv7el
or
%ifarch %arm
We do all kind of things with it already.
Martin
Forgot to mention that the parameter is the scheduler name
e.g. i586, x86_64, ppc, ppc64, armv7l and others. There are also macros for multiple archs, like: %arm or %ix86. Usefulness of list depends on the configured schedulers.
the Arch we are discussion about is the Linux distribution, not the architecture :)
%arch_linux sounds fine to me and makes clear that we mean the linux distribution
Nico
regarding the version - I'm not an arch expert, but it sounds to me that there is no version (rolling release) and therefore we can omit a macro for that, I think -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thu, Oct 18, 2012 at 12:50:37PM +0200, Nico Kruber wrote:
%arch_linux sounds fine to me and makes clear that we mean the linux distribution
Ok, added to project config. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Martin Mohring
-
Michael Schroeder
-
Nico Kruber