16
16
from util import build_commit
17
17
18
18
MERCURIAL_VERSION = "6.9.1"
19
- GIT_VERSION = "2.49.0 "
19
+ GIT_VERSION = "2.50.1 "
20
20
21
21
ALL_MERCURIAL_VERSIONS = (
22
22
"1.9.3" ,
@@ -110,7 +110,7 @@ def __init__(self, os_and_version):
110
110
self ,
111
111
task_env = build_image ,
112
112
description = description ,
113
- index = "{}. git.v{}" .format (h .hexdigest (), version ),
113
+ index = "git.v{}.{} " .format (version , h .hexdigest ()),
114
114
command = Task .checkout (
115
115
"git://git.kernel.org/pub/scm/git/git.git" ,
116
116
"v{}" .format (version ),
@@ -150,7 +150,7 @@ def __init__(self, os_and_version):
150
150
self ,
151
151
task_env = build_image ,
152
152
description = "git v{} {} {}" .format (version , env .os , env .cpu ),
153
- index = "{}. git.v{}" .format (h .hexdigest (), raw_version ),
153
+ index = "git.v{}.{} " .format (raw_version , h .hexdigest ()),
154
154
command = [
155
155
"curl -L https://github.com/git-for-windows/git/releases/"
156
156
"download/v{}/MinGit-{}-{}-bit.zip"
@@ -315,7 +315,7 @@ def __init__(self, os_and_version):
315
315
self ,
316
316
task_env = env ,
317
317
description = desc ,
318
- index = "{}.hg. {}" .format (h .hexdigest (), pretty_version ),
318
+ index = "hg. {}.{}" .format (pretty_version , h .hexdigest ()),
319
319
command = pre_command
320
320
+ [f"{ python } -m pip wheel -v -w $ARTIFACTS ./mercurial-{ version } " ],
321
321
artifact = artifact .format (artifact_version ),
@@ -334,7 +334,7 @@ def install(self):
334
334
return ["{} -m pip install --force-reinstall {}" .format (python , filename )]
335
335
336
336
337
- def install_rust (version = "1.85.1 " , target = "x86_64-unknown-linux-gnu" ):
337
+ def install_rust (version = "1.88.0 " , target = "x86_64-unknown-linux-gnu" ):
338
338
rustup_opts = "-y --default-toolchain none"
339
339
cargo_dir = "$HOME/.cargo/bin/"
340
340
rustup = cargo_dir + "rustup"
@@ -424,7 +424,7 @@ def prefix(p, s):
424
424
elif variant :
425
425
raise Exception ("Unknown variant: {}" .format (variant ))
426
426
427
- environ ["CC" ] = "clang-19 "
427
+ environ ["CC" ] = "clang-20 "
428
428
429
429
if os .startswith ("mingw" ):
430
430
cpu = msys .msys_cpu (env .cpu )
@@ -458,7 +458,7 @@ def prefix(p, s):
458
458
environ [f"CARGO_TARGET_{ TARGET } _RUSTFLAGS" ] = " " .join (
459
459
f"-C link-arg={ arg } " for arg in link_args
460
460
)
461
- environ ["AR" ] = "llvm-ar-19 "
461
+ environ ["AR" ] = "llvm-ar-20 "
462
462
rustflags = environ .pop ("RUSTFLAGS" , None )
463
463
if rustflags :
464
464
environ [f"CARGO_TARGET_{ TARGET } _RUSTFLAGS" ] += f" { rustflags } "
@@ -510,7 +510,7 @@ def prefix(p, s):
510
510
self ,
511
511
task_env = build_env ,
512
512
description = "build {} {}{}" .format (env .os , cpu , prefix (" " , desc_variant )),
513
- index = "build.{}.{}.{} {}" .format (hash , env .os , cpu , prefix ("." , variant )),
513
+ index = "build.{}.{}{}. {}" .format (env .os , cpu , prefix ("." , variant ), hash ),
514
514
command = Task .checkout (commit = head )
515
515
+ sdk_install
516
516
+ rust_install
0 commit comments