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