File tree Expand file tree Collapse file tree 3 files changed +13
-16
lines changed Expand file tree Collapse file tree 3 files changed +13
-16
lines changed Original file line number Diff line number Diff line change 47
47
brew install automake pkg-config ninja llvm
48
48
49
49
- name : Build wheels
50
- uses : pypa/cibuildwheel@v2.19.0
50
+ uses : pypa/cibuildwheel@v2.23.3
51
51
env :
52
52
CIBW_BUILD_VERBOSITY : 3
53
53
CIBW_ENVIRONMENT_PASS_LINUX : SETUPTOOLS_SCM_PRETEND_VERSION_FOR_TILEDB S3_BUCKET TILEDB_TOKEN TILEDB_NAMESPACE
67
67
CIBW_REPAIR_WHEEL_COMMAND_LINUX : auditwheel repair {wheel} -w {dest_dir}
68
68
# Pin auditwheel version to ensure consistent behavior
69
69
CIBW_BEFORE_BUILD_LINUX : pip install auditwheel==6.0.0
70
+ CIBW_ENVIRONMENT : TILEDB_DOWNLOADED=ON
70
71
with :
71
72
output-dir : wheelhouse
72
73
77
78
78
79
- name : Test isolation
79
80
run : |
80
- auditwheel show ./wheelhouse/*.whl
81
- unzip ./wheelhouse/*.whl
82
-
81
+ echo "=== Wheel audit information ==="
82
+ auditwheel show ./wheelhouse/*.whl || true
83
+ echo "=== Wheel contents ==="
84
+ python -m zipfile -l ./wheelhouse/*.whl | grep -E "(\.so|\.dylib|\.dll|tiledb\.libs)" || echo "No shared libraries found in wheel"
85
+ echo "=== Unzip wheel for detailed inspection ==="
86
+ unzip -l ./wheelhouse/*.whl
83
87
84
88
85
89
build_sdist :
Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ TILEDB_VERSION = {env="TILEDB_VERSION"}
79
79
TILEDB_HASH = {env =" TILEDB_HASH" }
80
80
TILEDB_REMOVE_DEPRECATIONS = " OFF"
81
81
TILEDB_SERIALIZATION = " OFF"
82
+ TILEDB_DOWNLOADED = " ON"
82
83
83
84
[tool .pytest .ini_options ]
84
85
python_classes = " *Test*"
Original file line number Diff line number Diff line change @@ -39,23 +39,15 @@ endif()
39
39
install (TARGETS main DESTINATION tiledb )
40
40
41
41
if (TILEDB_DOWNLOADED )
42
- if (BUILD_WHEEL )
43
- message (STATUS "Wheel build: skipping install of libtiledb.so (auditwheel will vendor it)" )
44
- else ()
45
- message (STATUS "System install: installing libtiledb.so into package" )
46
- install (IMPORTED_RUNTIME_ARTIFACTS TileDB::tiledb_shared DESTINATION tiledb )
47
- endif ()
42
+ message (STATUS "System install: installing libtiledb.so into hidden folder" )
43
+ install (IMPORTED_RUNTIME_ARTIFACTS TileDB::tiledb_shared DESTINATION tiledb.libs/ )
48
44
49
45
if (APPLE )
50
- set_target_properties (main PROPERTIES INSTALL_RPATH "@loader_path" )
46
+ set_target_properties (main PROPERTIES INSTALL_RPATH "@loader_path/../tiledb.libs " )
51
47
elseif (UNIX )
52
- set_target_properties (main PROPERTIES INSTALL_RPATH "\$ ORIGIN" )
48
+ set_target_properties (main PROPERTIES INSTALL_RPATH "\$ ORIGIN/../tiledb.libs " )
53
49
endif ()
54
50
55
- get_property (TILEDB_LOCATION TARGET TileDB::tiledb_shared PROPERTY LOCATION )
56
- get_filename_component (TILEDB_LOCATION ${TILEDB_LOCATION} DIRECTORY )
57
- message (STATUS "Setting RPATH for targets \" main\" and \" libtiledb\" to ${TILEDB_LOCATION} " )
58
- set_target_properties (main PROPERTIES INSTALL_RPATH ${TILEDB_LOCATION} )
59
51
else ()
60
52
# If using external TileDB core library force it to be linked at runtime using RPATH
61
53
get_property (TILEDB_LOCATION TARGET TileDB::tiledb_shared PROPERTY LOCATION )
You can’t perform that action at this time.
0 commit comments