Home
last modified time | relevance | path

Searched refs:target_cpu (Results 1 - 16 of 16) sorted by relevance

/build/
H A Dprebuilts_config.sh22 target_cpu=$(uname -m | tr '[:upper:]' '[:lower:]')
25 python3 "${script_path}/prebuilts_config.py" --code_path $code_dir --home_path $home_path --config_file $config_file --repo_https https://repo.huaweicloud.com --target_os $target_os --target_cpu $target_cpu
H A Dprebuilts_config.py258 cpu_type = args.target_cpu
308 one_type.get('target_cpu') == cpu_type or one_type.get('target_cpu') == ""):
331 parser.add_argument('--target_cpu', type=str, default='any', help='type of cpu')
/build/templates/bpf/
H A Dgen_bpf_uapi.py35 'ARCH={}'.format(options.target_cpu)]
38 'ARCH={}'.format(options.target_cpu)]
/build/hb/util/loader/
H A Dplatforms_loader.py75 target_cpu = _info.get('target_cpu')
76 if target_os is None or target_cpu is None:
78 "target_os or target_cpu is None."
80 arch = "{}_{}".format(target_os, target_cpu)
90 target_cpu = _info.get('target_cpu')
91 if target_os is None or target_cpu is None:
93 "target_os or target_cpu is None."
95 arch = "{}_{}".format(target_os, target_cpu)
[all...]
/build/ohos/images/
H A Dbuild_image.py36 def _prepare_root(system_path: str, target_cpu: str):
51 if target_cpu == 'arm64' or target_cpu == 'riscv64':
56 def _prepare_updater(updater_path: str, target_cpu: str):
69 if target_cpu == 'arm64':
129 _prepare_root(args.input_path, args.target_cpu)
131 _prepare_updater(args.input_path, args.target_cpu)
133 _prepare_updater(args.input_path, args.target_cpu)
/build/ohos/sa_profile/
H A Dsa_profile_merge.py65 merge_out_dir: str, merged_zipfile: str, target_cpu: str):
75 is_64bit_arch = target_cpu not in ["arm", "x86"]
122 args.target_cpu)
/build/scripts/
H A Dentry.py51 if args.target_cpu is not None:
52 cmd.extend(['--target-cpu', ''.join(args.target_cpu)])
/build/indep_configs/scripts/
H A Dgenerate_components.py112 target_cpu = utils.get_json(config_path).get("target_cpu")
113 if target_cpu == "arm":
115 elif target_cpu == "arm64":
120 def _link_kernel_binarys(variants, hpm_cache_path, dependences_json, target_cpu):
121 target_path = target_cpu + "-linux-ohos"
/build/hb/resources/
H A Dconfig.py87 def target_cpu(self): member in Config
90 @target_cpu.setter
91 def target_cpu(self, value: str): member in Config
93 self.config_update('target_cpu', self._target_cpu)
389 self.target_cpu = config_content.get('target_cpu', None)
/build/ohos/notice/
H A Dmerge_notice_files.py62 if options.target_cpu == "arm64" or options.target_cpu == "x64":
64 elif options.target_cpu == "arm":
328 input_strings=args.notice_title + args.target_cpu,
/build/config/components/init/seccomp/scripts/
H A Dgenerate_code_from_policy.py855 def update_arch(self, target_cpu):
856 if target_cpu == "arm":
857 self.arches.add(target_cpu)
858 elif target_cpu == "arm64":
860 self.arches.add(target_cpu)
861 elif target_cpu == "riscv64":
862 self.arches.add(target_cpu)
1004 if args.target_cpu not in supported_architecture:
1022 self.update_arch(args.target_cpu)
/build/hb/services/
H A Dloader.py42 self.target_cpu = ""
67 self.target_cpu = self.config.target_cpu if self.config.target_cpu else "arm"
73 self.target_arch = '{}_{}'.format(self.target_os, self.target_cpu)
711 .format(self.target_os, self.target_cpu, real_name))
782 self.target_os, self.target_cpu)
858 args.append('target_cpu={}'.format(self.target_cpu))
H A Dmenu.py53 if arg.arg_name != 'target_cpu':
68 elif config.target_cpu is not None:
71 'name': config.target_cpu,
78 'name': all_build_args.get('target_cpu').arg_value,
/build/hb/resolver/
H A Dbuild_args_resolver.py79 target_generator.regist_arg('target_cpu', config.target_cpu)
109 build_module.args_dict['target_cpu'].arg_value = 'arm64'
130 if config.target_cpu == "":
131 config.target_cpu = target_arg.arg_value
132 elif target_arg.arg_value != default_build_args.get("target_cpu").get("argDefault"):
133 config.target_cpu = target_arg.arg_value
890 deps_guard(config.out_path, config.target_cpu)
H A Dset_args_resolver.py64 config.target_cpu = device_info.get('target_cpu')
/build/hb/util/preloader/
H A Dpreloader_process_data.py145 if self._ohos_config.target_cpu:
146 self._device_info["target_cpu"] = self._ohos_config.target_cpu
279 self._device_info.get('target_os'), self._device_info.get('target_cpu'))
317 if config.get('target_cpu'):
318 device_info['target_cpu'] = config['target_cpu']
322 "The target_cpu needs to be specified, default target_cpu=arm")
323 device_info['target_cpu']
[all...]

Completed in 11 milliseconds