Feature changed by: Jan Engelhardt (jengelh) Feature #308840, revision 3 Title: performance: concurrent builds ... Buildservice: Evaluation Priority Requester: Mandatory Projectmanager: Desirable Requested by: Michael Meeks (michael_meeks) Developer: Marcus Hüwe (marcus_h) Description: A local osc build should be safe wrt. concurrency, and preferably encourage it. Currently - before I run 'osc build' I have to have a mental check to see "is there a long-running ISO build happening" (eg). because if there is - as I run 'osc build' I will destroy that jail [ with no prompting ], and corrupt my long-running task. Worse - if I am building an ISO, I can't build a simple package to test it: I have to wait until it is finished [ sure there are environment variables you can set - but how lame is that ! ]. Of course - we really need the FUSE optimisation fate#308837# to make this efficient (given similar packages etc.). However - even some safety-features to avoid trashing an existing build would be rather helpful. It should not be necessary to "just have another machine" to run ISO builds. Discussion: #1: Adrian Schröter (adriansuse) (2010-01-21 12:04:58) too many requests for one fate ... however, marcus, do you want to look at some of them ? + #2: Jan Engelhardt (jengelh) (2010-01-22 00:17:04) (reply to #1) + For a start, specifying a unique --root that does not clash with other + currently-running instances should be enough. I have been using a trick + whereby I encode the output of `tty` into BUILD_ROOT + b32 () + { + local x; + x=$(tty); + x=${x#/dev/}; + x=${x//\//-}; + BUILD_ROOT="/var/tmp/x32-$x" sudo -E lbuild --bdv=11.2-sparcv9 -- + target=sparcv9 "$@" 2>&1 | tee log32 + } + This naive call does work—except it goes against Michael Meek's + preference that build uses even less disk space ;-) -- openSUSE Feature: https://features.opensuse.org/308840