Merge branch 'arm64' of https://github.com/zooba/cibuildwheel into arm64
This commit is contained in:
@@ -373,7 +373,9 @@ def setup_python(
|
|||||||
|
|
||||||
if python_libs_base:
|
if python_libs_base:
|
||||||
# Set up the environment for various backends to enable cross-compilation
|
# Set up the environment for various backends to enable cross-compilation
|
||||||
setup_setuptools_cross_compile(python_configuration, python_libs_base, env, cleanup_command_list)
|
setup_setuptools_cross_compile(
|
||||||
|
python_configuration, python_libs_base, env, cleanup_command_list
|
||||||
|
)
|
||||||
setup_rust_cross_compile(python_configuration, python_libs_base, env, cleanup_command_list)
|
setup_rust_cross_compile(python_configuration, python_libs_base, env, cleanup_command_list)
|
||||||
|
|
||||||
return env
|
return env
|
||||||
@@ -443,7 +445,9 @@ def build(options: Options, tmp_path: Path) -> None:
|
|||||||
if build_options.before_build:
|
if build_options.before_build:
|
||||||
log.step("Running before_build...")
|
log.step("Running before_build...")
|
||||||
before_build_prepared = prepare_command(
|
before_build_prepared = prepare_command(
|
||||||
build_options.before_build, project=".", package=options.globals.package_dir
|
build_options.before_build,
|
||||||
|
project=".",
|
||||||
|
package=options.globals.package_dir,
|
||||||
)
|
)
|
||||||
shell(before_build_prepared, env=env)
|
shell(before_build_prepared, env=env)
|
||||||
|
|
||||||
@@ -511,7 +515,9 @@ def build(options: Options, tmp_path: Path) -> None:
|
|||||||
if build_options.repair_command:
|
if build_options.repair_command:
|
||||||
log.step("Repairing wheel...")
|
log.step("Repairing wheel...")
|
||||||
repair_command_prepared = prepare_command(
|
repair_command_prepared = prepare_command(
|
||||||
build_options.repair_command, wheel=built_wheel, dest_dir=repaired_wheel_dir
|
build_options.repair_command,
|
||||||
|
wheel=built_wheel,
|
||||||
|
dest_dir=repaired_wheel_dir,
|
||||||
)
|
)
|
||||||
shell(repair_command_prepared, env=env)
|
shell(repair_command_prepared, env=env)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user