Mailinglist Archive: opensuse-buildservice (348 mails)

< Previous Next >
Re: [opensuse-buildservice] [PATCH 4/6] obs-server, webui: update SPARC definitions
  • From: Ludwig Nussel <ludwig.nussel@xxxxxxx>
  • Date: Tue, 13 Apr 2010 13:47:04 +0200
  • Message-id: <201004131347.05310.ludwig.nussel@xxxxxxx>
Adrian Schröter wrote:
Am Montag, 12. April 2010 22:27:53 schrieb Jan Engelhardt:
...
diff --git a/src/backend/bs_worker b/src/backend/bs_worker
index 6feb6bd..f779e37 100755
--- a/src/backend/bs_worker
+++ b/src/backend/bs_worker
...
@@ -1393,6 +1394,8 @@ sub dobuild {
push @args, '--release', "$release" if defined $release;
push @args, '--debug' if $buildinfo->{'debuginfo'};
push @args, '--arch', $arch;
+ # target can be different from arch (e.g. target=sparcv9, arch=sparc64)
+ push @args, '--target', $target;
push @args, '--jobs', $jobs if $jobs;
push @args, '--reason', "Building $buildinfo->{'package'} for project
'$projid' repository '$repoid' arch '$arch' srcmd5
'$buildinfo->{'srcmd5'}'";
push @args, '--disturl', $disturl;


This can have been side effects. Michael mumbled something about buggy rpm
versions in some
distros.
You may want to make this for sparc only for now.

There's a hack for ARM in the build script, it looks at
'changetarget' in prjconf in order to define the target I think.
Maybe that feature could be used here too.

cu
Ludwig

--
(o_ Ludwig Nussel
//\
V_/_ http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups