File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ generate_wheel(){
2525 uv_exec=$1
2626 project_root=$2
2727 python_version=$3
28+ if [[ $python_version != * t ]]; then
29+ python_version=" ${python_version} +gil"
30+ fi
2831
2932 # Get the processor type
3033 processor_type=$( uname -m)
@@ -52,6 +55,7 @@ generate_wheel(){
5255
5356 out_temp_wheels_dir=$( mktemp -d /tmp/python_wheels.XXXXXX)
5457 output_path=" ./dist"
58+ echo " Building wheel for Python $python_version on macOS $processor_type "
5559 trap " rm -rf $out_temp_wheels_dir " ERR SIGINT SIGTERM RETURN
5660 UV_INDEX_STRATEGY=unsafe-best-match _PYTHON_HOST_PLATFORM=$_PYTHON_HOST_PLATFORM MACOSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET ARCHFLAGS=$ARCHFLAGS $uv_exec build --wheel --out-dir=$out_temp_wheels_dir --python=$python_version $project_root
5761 pattern=" $out_temp_wheels_dir /*.whl"
You can’t perform that action at this time.
0 commit comments