Lines Matching refs:bench
60 def set_flags(bench, cflags, ldflags): argument
73 add_flags = config.bench_flags_dict[bench]
128 def set_compiler_env(bench, compiler, build_os, llvm_prebuilts_version, cflags, argument
141 set_flags(bench, cflags, ldflags)
159 def restore_makefile(bench): argument
160 pwd = os.path.join(config.android_home, config.bench_dict[bench])
168 def build_bench(bench, source_dir): argument
181 log_head = 'Log for building benchmark: %s\n' % (bench)
189 restore_makefile(bench)
192 logging.info('Logs for building benchmark %s are written to %s.', bench,
200 bench = arguments.bench
208 source_dir = config.bench_dict[bench]
214 set_compiler_env(bench, compiler, build_os, llvm_version, cflags, ldflags)
216 build_bench(bench, source_dir)
220 restore_makefile(bench)