diff --git a/component/gcc/buildout.cfg b/component/gcc/buildout.cfg index 25da7b7b72b86a5b7a43d54514ffed13de836b8f..65262028e4df4caf5343131cc18cb1823ebe5505 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