You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
467 B
Ruby
20 lines
467 B
Ruby
require 'etc'
|
|
|
|
step before: :builtin_default_values do
|
|
env.ARFLAGS = []
|
|
env.ASFLAGS = []
|
|
env.CFLAGS = []
|
|
env.CXXFLAGS = []
|
|
env.LINKFLAGS = []
|
|
env.WINRCFLAGS = []
|
|
|
|
opt.compile_flags = [] # will be copied into CFLAGS, CXXFLAGS
|
|
|
|
opt.inside_ci = !!ENV['BUILD_ID']
|
|
opt.jobs = opt.inside_ci ? 2 : Etc.nprocessors
|
|
opt.config_opts = []
|
|
opt.build_opts = %W(-j#{opt.jobs} -k)
|
|
|
|
opt.test_args = %w(--log-ansi-colors --log-force-flush --test -fc -gfl)
|
|
end
|