[Libreoffice] [Proof-of-concept] Drastically speedup the offapi (and oovbaapi) build

Norbert Thiebaud nthiebaud at gmail.com
Thu Sep 1 21:43:10 PDT 2011


On Thu, Sep 1, 2011 at 4:35 AM, Jan Holesovsky <kendy at suse.cz> wrote:
> Hi Bjoern,
>
> On 2011-09-01 at 11:21 +0200, Bjoern Michaelsen wrote:
>
>> Just a word of warning after a short skimming of the patch: It seems
>> like you are using $? with huge amounts of files to create a
>> commandline. This is quite risky on Linux, where you easily hit the
>> command length limits of the shell on certain installs (depending on
>> ulimits). There is solenv/gbuild/Tempfile.mk to work around that (to
>> create response files). Tempfile.mk btw is the easiest way to trigger
>> that good old make 3.81 bug.
>
> Ah right, I just copied the way the response file was created in the old
> implementation; Tempfile.mk sounds better.

wouldn't it be nicer and more efficient to adapt iclc to have a mode
where stdin is the list of file to compile(1) ?
the ouput follow usually a pattern based on the input file....
that way you avoid the whole tempfile dance...

Norbert

(1) IIRC idlc has a stdin mode, but it is to compile 1 file from stdin


More information about the LibreOffice mailing list