@@ -452,7 +452,7 @@ def extract_llvm_pip_version(llvm_ver):
452452 def extract_fn (_rc , stdout , _stderr ):
453453 for line in stdout .splitlines ():
454454 if f"ci-llvm-{ llvm_ver } " in line :
455- m = re .search (r' halide-llvm==([\w.+]+)' , line )
455+ m = re .search (r" halide-llvm==([\w.+]+)" , line )
456456 if m :
457457 return {"HALIDE_LLVM_PIP_VERSION" : m .group (1 )}
458458 return {}
@@ -598,11 +598,7 @@ def add_create_venv_step(factory, builder_type):
598598 name = "Create virtual environment" ,
599599 locks = [performance_lock .access ("counting" )],
600600 workdir = get_source_path (),
601- command = (
602- f"uv sync --group { group } --no-install-project && "
603- f"{ activate } && "
604- f"{ env_cmd } "
605- ),
601+ command = f"uv sync --group { group } --no-install-project && { activate } && { env_cmd } " ,
606602 env = Property ("env" , {}),
607603 extract_fn = save_environment ("venv" , ["VIRTUAL_ENV" , "PATH" ]),
608604 )
@@ -696,9 +692,9 @@ def add_install_llvm_step(factory, builder_type):
696692 command = Interpolate ("python -m pip install --pre --target " )
697693 + target_dir
698694 + Interpolate (
699- f' --platform { platform_tag } --only-binary=:all: '
695+ f" --platform { platform_tag } --only-binary=:all: "
700696 '"halide-llvm==%(prop:HALIDE_LLVM_PIP_VERSION)s" '
701- f' --extra-index-url { extra_index } '
697+ f" --extra-index-url { extra_index } "
702698 ),
703699 )
704700 )
0 commit comments