user/gitlab-foss: attempt parallel bundle fix #390

Closed
ayakael wants to merge 1 commit from gitlab-foss/attempt-parallel-bundle into edge
Showing only changes of commit c7e617705f - Show all commits

View file

@ -87,8 +87,7 @@ _prefix="usr/lib/bundles/$_pkgname"
export BUNDLE_DEPLOYMENT=true
export BUNDLE_FORCE_RUBY_PLATFORM=true
export BUNDLE_FROZEN=true
# Should be tied to $JOBS, but rust native code fails to build
export BUNDLE_JOBS=1
export BUNDLE_JOBS=${JOBS:-2}
prepare() {
local sysgemdir=$(ruby -e 'puts Gem.default_dir')
@ -141,6 +140,8 @@ build() {
bundle config --local build.ruby-magic --enable-system-libraries
bundle config --local build.google-protobuf '-- --with-cflags=-D__va_copy=va_copy'
bundle config --local path "vendor/bundle"
bundle config --local build.prometheus-client-mmap -j 16
bundle config --local build.gitlab-glfm-markdown -j 16
bundle install --no-cache