Skip to content

Commit

Permalink
[ESI] Fix cosim packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
teqdruid committed Jul 22, 2024
1 parent 6aa8f9e commit e05045f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 8 additions & 1 deletion lib/Dialect/ESI/runtime/cosim_dpi_server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions lib/Dialect/ESI/runtime/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit e05045f

Please sign in to comment.