Skip to content

Commit

Permalink
[python] Fix broken wheel build. (#1908)
Browse files Browse the repository at this point in the history
  • Loading branch information
KerstinKeller authored Jan 16, 2025
1 parent 90d9daa commit ca3de96
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = { "file" = "LICENSE.txt" }
authors = [
{ "name" = "Kerstin Keller", "email" = "[email protected]" },
]
keywords = ["DDS", "Middlware"]
keywords = ["IPC", "Middleware"]
classifiers = ["Topic :: Scientific/Engineering"]
dependencies = ["protobuf >= 3.8, == 3.*"]
# setuptools-scm will grab the version from the latest git tag
Expand Down Expand Up @@ -55,6 +55,9 @@ sdist.only-include = [
"lang/c/",
"lang/python/",

"serialization/protobuf",
"serialization/string",

"thirdparty/cmakefunctions/",
"thirdparty/ecaludp/",
"thirdparty/protobuf/",
Expand All @@ -75,7 +78,6 @@ sdist.only-include = [
"!/thirdparty/hdf5/hdf5/doxygen/",
"!/thirdparty/hdf5/hdf5/java/",
"!/thirdparty/hdf5/hdf5/fortran/",

]

[tool.scikit-build]
Expand Down
20 changes: 11 additions & 9 deletions thirdparty/hdf5/build-hdf5.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,17 @@ include_guard(GLOBAL)
#we will need threads
find_package(Threads REQUIRED)

set(HDF5_GENERATE_HEADERS OFF CACHE BOOL "Do not re-generate auto-generated files" FORCE)
set(ONLY_SHARED_LIBS ON CACHE BOOL "Only Build Shared Libraries" FORCE)
set(HDF5_ENABLE_THREADSAFE ON CACHE BOOL "Enable thread-safety" FORCE)
set(BUILD_TESTING OFF CACHE BOOL "Do not build HDF5 Unit Testing" FORCE)
set(HDF5_BUILD_UTILS OFF CACHE BOOL "Do not build HDF5 Utils" FORCE)
set(HDF5_BUILD_TOOLS OFF CACHE BOOL "Do not build HDF5 Tools" FORCE)
set(HDF5_BUILD_EXAMPLES OFF CACHE BOOL "Do not build HDF5 Library Examples" FORCE)
set(HDF5_BUILD_CPP_LIB OFF CACHE BOOL "Do not build C++ lib" FORCE)
set(HDF5_BUILD_HL_LIB OFF CACHE BOOL "Do not build hdf5-hl" FORCE)
set(HDF5_GENERATE_HEADERS OFF CACHE BOOL "Do not re-generate auto-generated files" FORCE)
set(ONLY_SHARED_LIBS ON CACHE BOOL "Only Build Shared Libraries" FORCE)
set(HDF5_ENABLE_THREADSAFE ON CACHE BOOL "Enable thread-safety" FORCE)
set(HDF5_ENABLE_SZIP_SUPPORT OFF CACHE BOOL "Disable szip support" FORCE)
set(HDF5_ENABLE_Z_LIB_SUPPORT OFF CACHE BOOL "Disable zlib support" FORCE)
set(BUILD_TESTING OFF CACHE BOOL "Do not build HDF5 Unit Testing" FORCE)
set(HDF5_BUILD_UTILS OFF CACHE BOOL "Do not build HDF5 Utils" FORCE)
set(HDF5_BUILD_TOOLS OFF CACHE BOOL "Do not build HDF5 Tools" FORCE)
set(HDF5_BUILD_EXAMPLES OFF CACHE BOOL "Do not build HDF5 Library Examples" FORCE)
set(HDF5_BUILD_CPP_LIB OFF CACHE BOOL "Do not build C++ lib" FORCE)
set(HDF5_BUILD_HL_LIB OFF CACHE BOOL "Do not build hdf5-hl" FORCE)

# TODO: Let HDF5 use its own targets.
# Adding the HDF5 targets to the eCALCoreTargets is a hack that we have had
Expand Down

0 comments on commit ca3de96

Please sign in to comment.