(host_platform: str, target_triple: str)
| 312 | |
| 313 | |
| 314 | def materialize_clang(host_platform: str, target_triple: str): |
| 315 | entry = clang_toolchain(host_platform, target_triple) |
| 316 | tar_zst = download_entry(entry, DOWNLOADS_PATH) |
| 317 | local_filename = "%s-%s-%s.tar" % ( |
| 318 | entry, |
| 319 | DOWNLOADS[entry]["version"], |
| 320 | host_platform, |
| 321 | ) |
| 322 | |
| 323 | dctx = zstandard.ZstdDecompressor() |
| 324 | |
| 325 | with open(tar_zst, "rb") as ifh: |
| 326 | with open(BUILD / local_filename, "wb") as ofh: |
| 327 | dctx.copy_stream(ifh, ofh) |
| 328 | |
| 329 | |
| 330 | def build_musl(client, image, host_platform: str, target_triple: str, build_options): |
no test coverage detected