Skip to content

Commit a72754d

Browse files
test
1 parent d03763d commit a72754d

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ before-all = [
2828
"chmod +x scripts/build-env/manylinux.sh",
2929
"scripts/build-env/manylinux.sh"
3030
]
31-
repair-wheel-command = "auditwheel repair --exclude libcu*.so.* -w {dest_dir} {wheel}"
31+
repair-wheel-command = [
32+
"auditwheel repair -L tensor-array-repo/Tensor-Array/lib --exclude libcu*.so.* -w {dest_dir} {wheel}"
33+
]
3234

3335
[tool.cibuildwheel.linux.environment]
3436
cuda = "12.9"
3537
temp = "/tmp/cuda-temp"
3638
CUDA_PATH = "/usr/local/cuda-${cuda}"
3739
PATH = "${PATH}:${CUDA_PATH}/bin"
38-
LD_LIBRARY_PATH = "${LD_LIBRARY_PATH}:${CUDA_PATH}/lib:${CUDA_PATH}/lib64:/project/tensor-array-repo/Tensor-Array/lib"
40+
LD_LIBRARY_PATH = "${LD_LIBRARY_PATH}:${CUDA_PATH}/lib:${CUDA_PATH}/lib64"

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def main():
2020
sources = glob.glob(os.path.join("cpp", "*.cc")),
2121
include_dirs=["tensor-array-repo/Tensor-Array/include"],
2222
library_dirs=["tensor-array-repo/Tensor-Array/lib"],
23-
libraries=["tensorarray_core"],
23+
libraries=["tensorarray_core", "tensorarray_layers"],
2424
define_macros=[("VERSION_INFO", __version__)],
2525
),
2626
]
@@ -52,9 +52,6 @@ def main():
5252
package_dir = {
5353
"": "src",
5454
},
55-
package_data = {
56-
"": ["*.so"]
57-
},
5855
ext_modules = ext_modules,
5956
cmdclass = {
6057
"build_ext": build_ext,

0 commit comments

Comments
 (0)