Skip to content

Commit d618fed

Browse files
committed
build: auditwheel repair and readded libpoco
1 parent 4a1510a commit d618fed

6 files changed

Lines changed: 44 additions & 2 deletions

File tree

‎extensions/rcs_fr3/CMakeLists.txt‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,23 @@ FetchContent_Declare(
8888
OVERRIDE_FIND_PACKAGE
8989
)
9090

91-
FetchContent_MakeAvailable(pybind11 Eigen3 tinyxml2 console_bridge)
91+
# --- POCO C++ Libraries ---
92+
set(ENABLE_TESTS OFF CACHE BOOL "Disable POCO tests" FORCE)
93+
set(ENABLE_DATA_MYSQL OFF CACHE BOOL "Disable POCO MySQL" FORCE)
94+
set(ENABLE_DATA_ODBC OFF CACHE BOOL "Disable POCO ODBC" FORCE)
95+
set(ENABLE_PAGECOMPILER OFF CACHE BOOL "Disable POCO PageCompiler" FORCE)
96+
set(ENABLE_PAGECOMPILER_FILE2PAGE OFF CACHE BOOL "" FORCE)
97+
98+
FetchContent_Declare(
99+
Poco
100+
GIT_REPOSITORY https://github.com/pocoproject/poco.git
101+
GIT_TAG poco-1.13.3-release
102+
GIT_PROGRESS TRUE
103+
EXCLUDE_FROM_ALL
104+
OVERRIDE_FIND_PACKAGE
105+
)
106+
107+
FetchContent_MakeAvailable(pybind11 Eigen3 tinyxml2 console_bridge Poco)
92108
if(NOT TARGET Eigen3::Eigen3)
93109
add_library(Eigen3::Eigen3 ALIAS eigen)
94110
endif()

‎extensions/rcs_fr3/pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ install.components = ["python_package"]
3434

3535
[tool.cibuildwheel]
3636
skip = ["cp314*", "*-musllinux*"]
37+
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel} --exclude librcs.so --exclude libpinocchio_default.so.3.7.0 --exclude libpinocchio_parsers.so.3.7.0"
3738

3839
[tool.black]
3940
line-length = 120

‎extensions/rcs_panda/CMakeLists.txt‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,23 @@ FetchContent_Declare(
7575
OVERRIDE_FIND_PACKAGE
7676
)
7777

78-
FetchContent_MakeAvailable(pybind11 Eigen3 console_bridge)
78+
# --- POCO C++ Libraries ---
79+
set(ENABLE_TESTS OFF CACHE BOOL "Disable POCO tests" FORCE)
80+
set(ENABLE_DATA_MYSQL OFF CACHE BOOL "Disable POCO MySQL" FORCE)
81+
set(ENABLE_DATA_ODBC OFF CACHE BOOL "Disable POCO ODBC" FORCE)
82+
set(ENABLE_PAGECOMPILER OFF CACHE BOOL "Disable POCO PageCompiler" FORCE)
83+
set(ENABLE_PAGECOMPILER_FILE2PAGE OFF CACHE BOOL "" FORCE)
84+
85+
FetchContent_Declare(
86+
Poco
87+
GIT_REPOSITORY https://github.com/pocoproject/poco.git
88+
GIT_TAG poco-1.13.3-release
89+
GIT_PROGRESS TRUE
90+
EXCLUDE_FROM_ALL
91+
OVERRIDE_FIND_PACKAGE
92+
)
93+
94+
FetchContent_MakeAvailable(pybind11 Eigen3 console_bridge Poco)
7995
if(NOT TARGET Eigen3::Eigen3)
8096
add_library(Eigen3::Eigen3 ALIAS eigen)
8197
endif()

‎extensions/rcs_panda/pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ install.components = ["python_package"]
3333

3434
[tool.cibuildwheel]
3535
skip = ["cp314*", "*-musllinux*"]
36+
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel} --exclude librcs.so --exclude libpinocchio_default.so.3.7.0 --exclude libpinocchio_parsers.so.3.7.0"
3637

3738
[tool.black]
3839
line-length = 120

‎extensions/rcs_robotics_library/pyproject.toml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ build-dir = "build"
3434
wheel.packages = ["src/rcs_robotics_library"]
3535
install.components = ["python_package"]
3636

37+
[tool.cibuildwheel]
38+
skip = ["cp314*", "*-musllinux*"]
39+
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel} --exclude librcs.so --exclude libpinocchio_default.so.3.7.0 --exclude libpinocchio_parsers.so.3.7.0"
40+
3741
[tool.black]
3842
line-length = 120
3943
target-version = ["py310"]

‎extensions/rcs_so101/pyproject.toml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ build-dir = "build"
3030
wheel.packages = ["src/rcs_so101"]
3131
install.components = ["python_package"]
3232

33+
[tool.cibuildwheel]
34+
skip = ["cp314*", "*-musllinux*"]
35+
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel} --exclude librcs.so --exclude libpinocchio_default.so.3.7.0 --exclude libpinocchio_parsers.so.3.7.0"
36+
3337
[tool.black]
3438
line-length = 120
3539
target-version = ["py310"]

0 commit comments

Comments
 (0)