diff --git a/lib/Dialect/ESI/runtime/cosim_dpi_server/CMakeLists.txt b/lib/Dialect/ESI/runtime/cosim_dpi_server/CMakeLists.txt index d39b7757f6e4..95d32415fd21 100644 --- a/lib/Dialect/ESI/runtime/cosim_dpi_server/CMakeLists.txt +++ b/lib/Dialect/ESI/runtime/cosim_dpi_server/CMakeLists.txt @@ -5,11 +5,18 @@ ##===----------------------------------------------------------------------===// # Dummy library for a library which should be included by the RTL simulator. -# Dummy is necessary for linking purposes. NOT to be distributed. +# Dummy is necessary for linking purposes. add_library(MtiPli SHARED DummySvDpi.cpp ) set_target_properties(MtiPli PROPERTIES CXX_VISIBILITY_PRESET "default") +# Technically, we shouldn't have to install this as is _should_ be provided by +# the simulator, but without it we get runtime link errors. TODO: figure out how +# to do this properly such that we avoid packaging a dummy library. +install(TARGETS MtiPli + DESTINATION lib + COMPONENT ESIRuntime +) # DPI calls. add_library(EsiCosimDpiServer SHARED diff --git a/lib/Dialect/ESI/runtime/pyproject.toml b/lib/Dialect/ESI/runtime/pyproject.toml index 5dff28f9eedf..ea4717bc8060 100644 --- a/lib/Dialect/ESI/runtime/pyproject.toml +++ b/lib/Dialect/ESI/runtime/pyproject.toml @@ -18,9 +18,6 @@ git_describe_command = "git describe --dirty --tags --long --match ESIRuntime*" [tool.cibuildwheel] build-frontend = "build" -[tool.cibuildwheel.linux] -repair-wheel-command = "auditwheel repair --exclude libMtiPli.so -w {dest_dir} {wheel}" - [project] name = "esiaccel" dynamic = ["version"]