Lines Matching refs:target
20 'target',
53 def _get_compilation_environment(api, target, cipd_dir):
54 if target.is_linux:
55 triple = '--target=%s' % target.triple
56 if target.triple == 'riscv64-linux-gnu':
67 elif target.is_mac:
68 triple = '--target=%s' % target.triple
145 api.target('linux-amd64'),
146 api.target('linux-arm64'),
147 api.target('linux-riscv64')
150 return [api.target('mac-amd64'), api.target('mac-arm64')]
152 return [api.target.host]
159 'targets': [api.target.host],
175 # Maps a target.platform string to the location of the corresponding
179 # Get the list of all target platforms that are listed in `configs`
184 # but doing this properly requires having a valid target instance to
206 # Convert target architecture and os to jemalloc format.
209 target = all_config_platforms[platform]
210 host_target = api.target.host
211 env = _get_compilation_environment(api, target, cipd_dir)
218 # CXXFLAGS: Required to pass the right --target=<target> argument
238 '--host=' + target.triple,
251 for target in config['targets']:
252 env = _get_compilation_environment(api, target, cipd_dir)
253 with api.step.nest(target.platform), api.context(
258 '--link-lib=%s' % jemalloc_static_libs[target.platform]
269 if target.is_host:
276 gn = 'gn' + ('.exe' if target.is_win else '')
284 cipd_pkg_name = 'gn/gn/%s' % target.platform