@@ -249,7 +249,7 @@ def simple_build(
249249):
250250 archive = download_entry (entry , DOWNLOADS_PATH )
251251
252- with build_environment (client , image ) as build_env :
252+ with build_environment (client , image , entry ) as build_env :
253253 if settings .get ("needs_toolchain" ):
254254 build_env .install_toolchain (
255255 BUILD ,
@@ -291,7 +291,7 @@ def build_binutils(client, image, host_platform):
291291 """Build binutils in the Docker image."""
292292 archive = download_entry ("binutils" , DOWNLOADS_PATH )
293293
294- with build_environment (client , image ) as build_env :
294+ with build_environment (client , image , "binutils" ) as build_env :
295295 install_sccache (build_env )
296296
297297 build_env .copy_file (archive )
@@ -332,7 +332,7 @@ def build_musl(client, image, host_platform: str, target_triple: str, build_opti
332332 musl = "musl-static" if static else "musl"
333333 musl_archive = download_entry (musl , DOWNLOADS_PATH )
334334
335- with build_environment (client , image ) as build_env :
335+ with build_environment (client , image , "musl" ) as build_env :
336336 build_env .install_toolchain (
337337 BUILD ,
338338 host_platform ,
@@ -362,7 +362,7 @@ def build_libedit(
362362):
363363 libedit_archive = download_entry ("libedit" , DOWNLOADS_PATH )
364364
365- with build_environment (client , image ) as build_env :
365+ with build_environment (client , image , "libedit" ) as build_env :
366366 if settings .get ("needs_toolchain" ):
367367 build_env .install_toolchain (
368368 BUILD ,
@@ -397,7 +397,7 @@ def build_tix(
397397 tk_archive = download_entry ("tk" , DOWNLOADS_PATH )
398398 tix_archive = download_entry ("tix" , DOWNLOADS_PATH )
399399
400- with build_environment (client , image ) as build_env :
400+ with build_environment (client , image , "tix" ) as build_env :
401401 if settings .get ("needs_toolchain" ):
402402 build_env .install_toolchain (
403403 BUILD ,
@@ -444,7 +444,7 @@ def build_cpython_host(
444444 """Build binutils in the Docker image."""
445445 archive = download_entry (entry , DOWNLOADS_PATH )
446446
447- with build_environment (client , image ) as build_env :
447+ with build_environment (client , image , "cpython-host" ) as build_env :
448448 python_version = DOWNLOADS [entry ]["version" ]
449449
450450 build_env .install_toolchain (
@@ -760,7 +760,7 @@ def build_cpython(
760760 setup_local_content = setup ["setup_local" ]
761761 extra_make_content = setup ["make_data" ]
762762
763- with build_environment (client , image ) as build_env :
763+ with build_environment (client , image , "cpython" ) as build_env :
764764 if settings .get ("needs_toolchain" ):
765765 build_env .install_toolchain (
766766 BUILD ,
0 commit comments