@@ -249,7 +249,7 @@ def simple_build(
249
249
):
250
250
archive = download_entry (entry , DOWNLOADS_PATH )
251
251
252
- with build_environment (client , image ) as build_env :
252
+ with build_environment (client , image , entry ) as build_env :
253
253
if settings .get ("needs_toolchain" ):
254
254
build_env .install_toolchain (
255
255
BUILD ,
@@ -291,7 +291,7 @@ def build_binutils(client, image, host_platform):
291
291
"""Build binutils in the Docker image."""
292
292
archive = download_entry ("binutils" , DOWNLOADS_PATH )
293
293
294
- with build_environment (client , image ) as build_env :
294
+ with build_environment (client , image , "binutils" ) as build_env :
295
295
install_sccache (build_env )
296
296
297
297
build_env .copy_file (archive )
@@ -332,7 +332,7 @@ def build_musl(client, image, host_platform: str, target_triple: str, build_opti
332
332
musl = "musl-static" if static else "musl"
333
333
musl_archive = download_entry (musl , DOWNLOADS_PATH )
334
334
335
- with build_environment (client , image ) as build_env :
335
+ with build_environment (client , image , "musl" ) as build_env :
336
336
build_env .install_toolchain (
337
337
BUILD ,
338
338
host_platform ,
@@ -362,7 +362,7 @@ def build_libedit(
362
362
):
363
363
libedit_archive = download_entry ("libedit" , DOWNLOADS_PATH )
364
364
365
- with build_environment (client , image ) as build_env :
365
+ with build_environment (client , image , "libedit" ) as build_env :
366
366
if settings .get ("needs_toolchain" ):
367
367
build_env .install_toolchain (
368
368
BUILD ,
@@ -397,7 +397,7 @@ def build_tix(
397
397
tk_archive = download_entry ("tk" , DOWNLOADS_PATH )
398
398
tix_archive = download_entry ("tix" , DOWNLOADS_PATH )
399
399
400
- with build_environment (client , image ) as build_env :
400
+ with build_environment (client , image , "tix" ) as build_env :
401
401
if settings .get ("needs_toolchain" ):
402
402
build_env .install_toolchain (
403
403
BUILD ,
@@ -444,7 +444,7 @@ def build_cpython_host(
444
444
"""Build binutils in the Docker image."""
445
445
archive = download_entry (entry , DOWNLOADS_PATH )
446
446
447
- with build_environment (client , image ) as build_env :
447
+ with build_environment (client , image , "cpython-host" ) as build_env :
448
448
python_version = DOWNLOADS [entry ]["version" ]
449
449
450
450
build_env .install_toolchain (
@@ -760,7 +760,7 @@ def build_cpython(
760
760
setup_local_content = setup ["setup_local" ]
761
761
extra_make_content = setup ["make_data" ]
762
762
763
- with build_environment (client , image ) as build_env :
763
+ with build_environment (client , image , "cpython" ) as build_env :
764
764
if settings .get ("needs_toolchain" ):
765
765
build_env .install_toolchain (
766
766
BUILD ,
0 commit comments