-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
another way to cibuildwheel with specific python version
- Loading branch information
Showing
11 changed files
with
505 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
[tool.cibuildwheel] | ||
build = "*" | ||
skip = "" | ||
test-skip = "" | ||
|
||
archs = ["auto"] | ||
build-frontend = "pip" | ||
config-settings = {} | ||
dependency-versions = "pinned" | ||
environment = {} | ||
environment-pass = [] | ||
build-verbosity = 1 | ||
|
||
before-all = "" | ||
repair-wheel-command = "" | ||
|
||
test-command = "" | ||
before-test = "" | ||
test-requires = [] | ||
test-extras = [] | ||
|
||
container-engine = "docker" | ||
|
||
manylinux-x86_64-image = "manylinux2014" | ||
|
||
[build-system] | ||
requires = [ | ||
"setuptools==68.2.0", | ||
"wheel", | ||
"Cython", | ||
"pybind11", | ||
"setuptools_scm[toml]>=3.4", | ||
"cmake", | ||
"taichi", | ||
] | ||
|
||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
requires-python = "==3.11" | ||
name = "braintaichi" | ||
version = "0.0.1" | ||
|
||
[tool.cibuildwheel.linux] | ||
before-all = "sh prepare_build_wheel_on_cuda.sh" | ||
before-build = "sh copy_so_linux.sh" | ||
#before-build = "pip install -r requirements-test.txt" | ||
archs = ["x86_64"] | ||
skip = ["pp*", "*-musllinux_x86_64"] | ||
repair-wheel-command = """ | ||
export LD_LIBRARY_PATH=/project/braintaichi:$LD_LIBRARY_PATH && | ||
auditwheel repair -w {dest_dir} {wheel} | ||
""" | ||
|
||
[tool.cibuildwheel.macos] | ||
before-build = "sh copy_so_macOS.sh" | ||
archs = ["arm64"] | ||
skip = ["pp*"] | ||
repair-wheel-command = """ | ||
export LD_LIBRARY_PATH=/project/braintaichi:$LD_LIBRARY_PATH && | ||
delocate-wheel -w {dest_dir} -v {wheel} | ||
""" | ||
|
||
[tool.cibuildwheel.windows] | ||
before-build = "copy_dll_windows.bat" | ||
archs = ["AMD64", "x86"] | ||
repair-wheel-command = """ | ||
set PATH=braintaichi;%PATH% && delvewheel repair -w {dest_dir} {wheel} | ||
""" | ||
skip = ["pp*", "*-win32"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
[tool.cibuildwheel] | ||
build = "*" | ||
skip = "" | ||
test-skip = "" | ||
|
||
archs = ["auto"] | ||
build-frontend = "pip" | ||
config-settings = {} | ||
dependency-versions = "pinned" | ||
environment = {} | ||
environment-pass = [] | ||
build-verbosity = 1 | ||
|
||
before-all = "" | ||
repair-wheel-command = "" | ||
|
||
test-command = "" | ||
before-test = "" | ||
test-requires = [] | ||
test-extras = [] | ||
|
||
container-engine = "docker" | ||
|
||
manylinux-x86_64-image = "manylinux2014" | ||
|
||
[build-system] | ||
requires = [ | ||
"setuptools==68.2.0", | ||
"wheel", | ||
"Cython", | ||
"pybind11", | ||
"setuptools_scm[toml]>=3.4", | ||
"cmake", | ||
"taichi", | ||
] | ||
|
||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
requires-python = "==3.12" | ||
name = "braintaichi" | ||
version = "0.0.1" | ||
|
||
[tool.cibuildwheel.linux] | ||
before-all = "sh prepare_build_wheel_on_cuda.sh" | ||
before-build = "sh copy_so_linux.sh" | ||
#before-build = "pip install -r requirements-test.txt" | ||
archs = ["x86_64"] | ||
skip = ["pp*", "*-musllinux_x86_64"] | ||
repair-wheel-command = """ | ||
export LD_LIBRARY_PATH=/project/braintaichi:$LD_LIBRARY_PATH && | ||
auditwheel repair -w {dest_dir} {wheel} | ||
""" | ||
|
||
[tool.cibuildwheel.macos] | ||
before-build = "sh copy_so_macOS.sh" | ||
archs = ["arm64"] | ||
skip = ["pp*"] | ||
repair-wheel-command = """ | ||
export LD_LIBRARY_PATH=/project/braintaichi:$LD_LIBRARY_PATH && | ||
delocate-wheel -w {dest_dir} -v {wheel} | ||
""" | ||
|
||
[tool.cibuildwheel.windows] | ||
before-build = "copy_dll_windows.bat" | ||
archs = ["AMD64", "x86"] | ||
repair-wheel-command = """ | ||
set PATH=braintaichi;%PATH% && delvewheel repair -w {dest_dir} {wheel} | ||
""" | ||
skip = ["pp*", "*-win32"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
[tool.cibuildwheel] | ||
build = "*" | ||
skip = "" | ||
test-skip = "" | ||
|
||
archs = ["auto"] | ||
build-frontend = "pip" | ||
config-settings = {} | ||
dependency-versions = "pinned" | ||
environment = {} | ||
environment-pass = [] | ||
build-verbosity = 1 | ||
|
||
before-all = "" | ||
repair-wheel-command = "" | ||
|
||
test-command = "" | ||
before-test = "" | ||
test-requires = [] | ||
test-extras = [] | ||
|
||
container-engine = "docker" | ||
|
||
manylinux-x86_64-image = "manylinux2014" | ||
|
||
[build-system] | ||
requires = [ | ||
"setuptools==68.2.0", | ||
"wheel", | ||
"Cython", | ||
"pybind11", | ||
"setuptools_scm[toml]>=3.4", | ||
"cmake", | ||
"taichi", | ||
] | ||
|
||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
requires-python = "==3.9" | ||
name = "braintaichi" | ||
version = "0.0.1" | ||
|
||
[tool.cibuildwheel.linux] | ||
before-all = "sh prepare_build_wheel_on_cuda.sh" | ||
before-build = "sh copy_so_linux.sh" | ||
#before-build = "pip install -r requirements-test.txt" | ||
archs = ["x86_64"] | ||
skip = ["pp*", "*-musllinux_x86_64"] | ||
repair-wheel-command = """ | ||
export LD_LIBRARY_PATH=/project/braintaichi:$LD_LIBRARY_PATH && | ||
auditwheel repair -w {dest_dir} {wheel} | ||
""" | ||
|
||
[tool.cibuildwheel.macos] | ||
before-build = "sh copy_so_macOS.sh" | ||
archs = ["arm64"] | ||
skip = ["pp*"] | ||
repair-wheel-command = """ | ||
export LD_LIBRARY_PATH=/project/braintaichi:$LD_LIBRARY_PATH && | ||
delocate-wheel -w {dest_dir} -v {wheel} | ||
""" | ||
|
||
[tool.cibuildwheel.windows] | ||
before-build = "copy_dll_windows.bat" | ||
archs = ["AMD64", "x86"] | ||
repair-wheel-command = """ | ||
set PATH=braintaichi;%PATH% && delvewheel repair -w {dest_dir} {wheel} | ||
""" | ||
skip = ["pp*", "*-win32"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
[tool.cibuildwheel] | ||
build = "*" | ||
skip = "" | ||
test-skip = "" | ||
|
||
archs = ["auto"] | ||
build-frontend = "pip" | ||
config-settings = {} | ||
dependency-versions = "pinned" | ||
environment = {} | ||
environment-pass = [] | ||
build-verbosity = 1 | ||
|
||
before-all = "" | ||
repair-wheel-command = "" | ||
|
||
test-command = "" | ||
before-test = "" | ||
test-requires = [] | ||
test-extras = [] | ||
|
||
container-engine = "docker" | ||
|
||
manylinux-x86_64-image = "manylinux2014" | ||
|
||
[build-system] | ||
requires = [ | ||
"setuptools==68.2.0", | ||
"wheel", | ||
"Cython", | ||
"pybind11", | ||
"setuptools_scm[toml]>=3.4", | ||
"cmake", | ||
"taichi", | ||
] | ||
|
||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
requires-python = "==3.10" | ||
name = "braintaichi" | ||
version = "0.0.1" | ||
|
||
[tool.cibuildwheel.linux] | ||
before-all = "sh prepare_build_wheel_on_cuda.sh" | ||
before-build = "sh copy_so_linux.sh" | ||
#before-build = "pip install -r requirements-test.txt" | ||
archs = ["x86_64"] | ||
skip = ["pp*", "*-musllinux_x86_64"] | ||
repair-wheel-command = """ | ||
export LD_LIBRARY_PATH=/project/braintaichi:$LD_LIBRARY_PATH && | ||
auditwheel repair -w {dest_dir} {wheel} | ||
""" | ||
|
||
[tool.cibuildwheel.macos] | ||
before-build = "sh copy_so_macOS.sh" | ||
archs = ["x86_64"] | ||
skip = ["pp*"] | ||
repair-wheel-command = """ | ||
export LD_LIBRARY_PATH=/project/braintaichi:$LD_LIBRARY_PATH && | ||
delocate-wheel -w {dest_dir} -v {wheel} | ||
""" | ||
|
||
[tool.cibuildwheel.windows] | ||
before-build = "copy_dll_windows.bat" | ||
archs = ["AMD64", "x86"] | ||
repair-wheel-command = """ | ||
set PATH=braintaichi;%PATH% && delvewheel repair -w {dest_dir} {wheel} | ||
""" | ||
skip = ["pp*", "*-win32"] |
Oops, something went wrong.