Commit f2260c2e authored by James T. Lee's avatar James T. Lee
Browse files

Cache builds on /nest

parent 59caf3e3
Pipeline #664 passed with stage
in 1379 minutes and 13 seconds
......@@ -9,9 +9,9 @@ variables:
script:
- 'export EMERGE_DEFAULT_OPTS="$CI_HOST_EMERGE_DEFAULT_OPTS"
MAKEOPTS="$CI_HOST_MAKEOPTS"
PORTAGE_TMPDIR=/cache'
PORTAGE_TMPDIR="/nest/portage/builds/${CPU}"'
- 'emerge --sync'
- '[ -d /cache/portage/.distcc ] || emerge -v1 -j1 -k n app-arch/snappy'
- '[ -d "${PORTAGE_TMPDIR}/portage/.distcc" ] || (mkdir -p "$PORTAGE_TMPDIR" && emerge -v1 -j1 -k n app-arch/snappy)'
- 'emerge -v --onlydeps --usepkg "=www-client/chromium-${VERSION}"'
- 'ebuild "/var/db/repos/gentoo/www-client/chromium/chromium-${VERSION}.ebuild" package'
......@@ -20,7 +20,7 @@ variables:
variables:
CPU: 'haswell'
.'Build cortex-a72-a53-crypto':
'Build cortex-a72-a53-crypto':
<<: *template
variables:
CPU: 'cortex-a72-a53-crypto'
......
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