Commit d0c72f02 authored by Jérome Perrin's avatar Jérome Perrin

shared cmmi TODO: apache apr and slapos.recipe.build:download-unpacked

Because apr / apr-util are using slapos.recipe.build:download-unpacked
(which does not use shared cache), they cannot be cached.

We workaround this by using slapos.recipe.ccmi without actually
compiling, but just copying the files to the expected location.
parent 9c98c25f
......@@ -17,18 +17,26 @@ extends =
../sqlite3/buildout.cfg
../zlib/buildout.cfg
[apr-download-only]
recipe = slapos.recipe.cmmi
shared = true
# XXX download-only, but benefit from cache of cmmi
# XXX we probably need a recipe for that
configure-command = :
make-binary = cp -ra $(pwd) @@LOCATION@@
make-targets =
[apr]
recipe = slapos.recipe.build:download-unpacked
strip-top-level-dir = false
<= apr-download-only
url = https://archive.apache.org/dist/apr/apr-${:version}.tar.bz2
version = 1.5.2
md5sum = 4e9769f3349fe11fc0a5e1b224c236aa
url = https://archive.apache.org/dist/apr/apr-${:version}.tar.bz2
[apr-util]
recipe = slapos.recipe.build:download-unpacked
strip-top-level-dir = false
version = 1.5.4
<= apr-download-only
url = https://archive.apache.org/dist/apr/apr-util-${:version}.tar.bz2
version = 1.5.4
md5sum = 2202b18f269ad606d70e1864857ed93c
[apache]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment