Lines Matching +full:cmake +full:- +full:ext

3 # SPDX-License-Identifier: Apache-2.0
42 See 'west sdk list --help' for details.
48 See 'west sdk install --help' for details.
82 Set --version option to install a specific version of the SDK.
86 You can specify the installation directory with --install-dir or --install-base.
89 --install-dir and --install-base.
91 Typically, Zephyr SDK archives contain only one directory named zephyr-sdk-<version>
93 … The SDK archive is extracted to the home directory if both --install-dir and --install-base
95 In this case, SDK will install into ${HOME}/zephyr-sdk-<version>.
96 … If --install-base is specified, the archive will be extracted under the specified path.
97 In this case, SDK will install into <BASE>/zephyr-sdk-<version> .
98 … If --install-dir is specified, the directory contained in the archive will be renamed
101 --interactive, --toolchains, --no-toolchains and --no-hosttools options
104 --personal-access-token specifies the GitHub personal access token.
107 --api-url specifies the REST API endpoint for GitHub releases information
114 "--version",
123 "-b",
124 "--install-base",
129 "For example, -b /foo/bar will install the SDK in `/foo/bar/zephyr-sdk-<version>'."
132 "-d",
133 "--install-dir",
139 …"For example, if you specify -b /foo/bar/baz, The archive's zephyr-sdk-<version> directory will be…
140 "If this option is specified, the --install-base option is ignored. "
143 "-i",
144 "--interactive",
147 … "--toolchains, --no-toolchains and --no-hosttools will be ignored if this option is enabled.",
150 "-t",
151 "--toolchains",
154 help="toolchain(s) to install (e.g. 'arm-zephyr-eabi'). "
158 "-T",
159 "--no-toolchains",
162 "--toolchains will be ignored if this option is enabled.",
165 "-H",
166 "--no-hosttools",
168 help="do not install host-tools.",
171 "--personal-access-token", help="GitHub personal access token."
174 "--api-url",
175 default="https://api.github.com/repos/zephyrproject-rtos/sdk-ng/releases",
260 ext = ".zip"
262 ext = ".tar.gz"
265 ext = ".7z"
267 ext = ".tar.xz"
269 return f"zephyr-sdk-{version}_{osname}-{arch}_minimal{ext}"
298 sha256 = self.minimal_sdk_sha256(resp.content.decode("UTF-8"), target_release)
313 total_length = int(resp.headers["Content-Length"])
334 # We expect that only the zephyr-sdk-x.y.z directory will be present in the archive.
360 optsep = "-"
429 prefix = f"toolchain_{osname}-{arch}_"
472 "-P",
473 str(Path(__file__).parent / "sdk" / "listsdk.cmake"),
478 # remove '-- Zephyr-sdk,' leader
479 sdk_lines = [l[15:] for l in output if l.startswith("-- Zephyr-sdk,")]
520 # Identify toolchain directory by the existence of <toolchain>/bin/<toolchain>-gcc
522 gcc_postfix = "-gcc.exe"
524 gcc_postfix = "-gcc"
552 self.inf(" installed-toolchains:")
554 self.inf(f" - {tc}")
562 self.inf(" available-toolchains:")
565 self.inf(f" - {tc}")