Skip to content

Commit

Permalink
[ESI Runtime] Fix python build
Browse files Browse the repository at this point in the history
  • Loading branch information
teqdruid committed Jun 24, 2024
1 parent 34c73c3 commit 91dd18e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Dialect/ESI/runtime/cosim/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protobuf_generate(

include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include")

add_library(CosimRpcServer
add_library(CosimRpcServer SHARED
lib/RpcServer.cpp
)
target_link_libraries(CosimRpcServer
Expand Down
4 changes: 2 additions & 2 deletions lib/Dialect/ESI/runtime/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# It is recommended to build with Ninja and ccache. To do so, set environment
# variables by prefixing to above invocations:
# CMAKE_GENERATOR=Ninja CMAKE_CXX_COMPILER=clang++
# CC=clang CXX=clang++
#
# On CIs, it is often advantageous to re-use/control the CMake build directory.
# This can be set with the PYCDE_CMAKE_BUILD_DIR env var.
Expand Down Expand Up @@ -67,9 +67,9 @@ def run(self):
cfg = "Release"
cmake_args = [
"-DCMAKE_BUILD_TYPE={}".format(cfg), # not used on MSVC, but no harm
"-DCAPNP_PATH={}".format(os.getenv("CAPNP_PATH")),
"-DPython3_EXECUTABLE={}".format(sys.executable.replace("\\", "/")),
"-DWHEEL_BUILD=ON",
"-GNinja",
]
cxx = os.getenv("CXX")
if cxx is not None:
Expand Down

0 comments on commit 91dd18e

Please sign in to comment.