Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Björn Michaelsen has uploaded a new patch set (#2).

Change subject: introduce gb_Package_PRESTAGEDIR
......................................................................

introduce gb_Package_PRESTAGEDIR

this introduces a "prestage dir" -- if a file can be found in that
directory, it will be copied over instead of build. Usecases for this
include:

- split builds:
  e.g. a part of the LibreOffice gets build by a core package and
  "writer" or "calc" package then only builds the additional missing
  pieces (while copying existing files from the earlier package build)
  please not this does not intend to produce separately installable
  instances, only to generate the build in multiple steps, to:
  - reduce filesystem usage of one build
  - paralellisation: e.g. "writer" and "calc" could build at the same
    time on two builders
  - restart capability: e.g. if a build breaks in "writer", no need to
    rebuild everything (relevant for slow and somewhat more flaky
    platforms like arm)
- staged single build:
  on a filesystem restrained builder, keeping all the objects around for
  the build can be a burden. With this, such builders can do a partial
  build (lets say: "make svx"), put the instdir aside, make clean and
  continue -- but without needing to keep space for the object files of
  the build up to svx.

It need gb_RUNNABLE_INSTDIR -- we are going there anyway, no need to
support other scenarios.

This needs more dependency breaking for most scenarios but a:

export gb_RUNNABLE_INSTDIR=T
make
cp -a instdir instdir_prestage
make clean
make sw.all
make sw.clean
export gb_Package_PRESTAGEDIR=`readlink -f instdir_prestage/unxlngx6.pro`
cd sw && make build # this does no compiles, it just copies

Change-Id: I22d4208b2fad0d8fc59426ba4c8c52122876f646
---
M solenv/gbuild/Library.mk
M solenv/gbuild/Package.mk
2 files changed, 25 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/91/5591/2
-- 
To view, visit https://gerrit.libreoffice.org/5591
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I22d4208b2fad0d8fc59426ba4c8c52122876f646
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Gerrit-Reviewer: LibreOffice gerrit bot <gerrit@libreoffice.org>
Gerrit-Reviewer: Matúš Kukan <matus.kukan@gmail.com>
Gerrit-Reviewer: Michael Stahl <mstahl@redhat.com>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.