Browse Source

cache: define variables for cache paths

tags/0.2
Cory Fields 6 years ago
parent
commit
66015b9f14
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      bin/gbuild

+ 2
- 0
bin/gbuild View File

@@ -109,6 +109,8 @@ def build_one_configuration(suite, arch, build_desc, reference_datetime)
script.puts "umask 002"
script.puts "export OUTDIR=$HOME/out"
script.puts "GBUILD_BITS=#{bits}"
script.puts "GBUILD_PACKAGE_CACHE=$HOME/cache/#{build_desc["name"]}"
script.puts "GBUILD_COMMON_CACHE=$HOME/cache/common"
script.puts "MAKEOPTS=(-j#{@options[:num_procs]})"
(ref_date, ref_time) = reference_datetime.split
script.puts "REFERENCE_DATETIME='#{reference_datetime}'"

Loading…
Cancel
Save