From 9aff9e6e208e9427e740d8e1a202c2b952c6670d Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Nowak?= Date: Fri, 20 Jan 2012 15:34:51 +0100 Subject: [PATCH] Workaround part interconnection problem. --- component/gcc/buildout.cfg | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/component/gcc/buildout.cfg b/component/gcc/buildout.cfg index 25da7b7..6526202 100644 --- a/component/gcc/buildout.cfg +++ b/component/gcc/buildout.cfg @@ -63,6 +63,7 @@ md5sum = d7cd6a27c8801e66cbaa964a039ecfdb filename = ecj.jar [gcc-download] +hack-revision = ${gcc-interconnection-workaround:hack-revision} recipe = hexagonit.recipe.download url = http://www.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.5.3/gcc-4.5.3.tar.bz2 md5sum = 8e0b5c12212e185f3e4383106bfa9cc6 @@ -70,6 +71,7 @@ strip-top-level-dir = True destination = ${gcc-source:location} [gcc-java-download] +hack-revision = ${gcc-interconnection-workaround:hack-revision} recipe = hexagonit.recipe.download url = http://www.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.5.3/gcc-java-4.5.3.tar.bz2 md5sum = 08e045fdbdc22ac9af3aec3b8d16dbab @@ -78,6 +80,7 @@ destination = ${gcc-source:location} ignore-existing = true [gcc-source] +hack-revision = ${gcc-interconnection-workaround:hack-revision} location = ${buildout:parts-directory}/${:_buildout_section_name_} [gcc-multiarch.patch] @@ -95,6 +98,7 @@ filename = ${:_buildout_section_name_} download-only = true [gcc-java-minimal] +hack-revision = ${gcc-interconnection-workaround:hack-revision} depends = ${gcc-download:location} ${gcc-java-download:location} @@ -129,6 +133,7 @@ environment = make-targets = install -j1 [gcc] +hack-revision = ${gcc-interconnection-workaround:hack-revision} depends = ${gcc-download:location} ${gcc-java-download:location} @@ -159,3 +164,10 @@ environment = PATH=${zip:location}/bin:%(PATH)s # make install does not work when several core are used make-targets = install -j1 + +[gcc-interconnection-workaround] +# gcc parts are interconnected, so buildout is not capable to clean them up +# until gcc will be simplified by using more robust build recipe (like +# slapos.recipe.build) each time any of parts which reuses this one gets updated +# the hack-revision have to be increased +hack-revision = 1 -- 2.1.4