Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement build.sh #185

Merged
merged 3 commits into from
Mar 28, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed re-build of legate
  • Loading branch information
madsbk committed Mar 28, 2023
commit 80e0dc594e2238b4d1e2a247403aea5042500a5e
7 changes: 4 additions & 3 deletions legate/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ endif()
set(BUILD_SHARED_LIBS ON)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

# Look for an existing C++ editable build Not required. We will build it if not found.
find_package(legate_kvikio QUIET)
# We always want to build our bindings, so we trick the legate wrappers to never search for an
# installed version which is currently deduced by seeing if it is invoked via scikit-build See
# <https://github.com/nv-legate/legate.core/pull/645>
find_package(legate_core REQUIRED)

set(SKBUILD OFF)
legate_add_cpp_subdirectory(cpp TARGET legate_kvikio EXPORT legate_kvikio-export)
legate_default_python_install(legate_kvikio EXPORT legate_kvikio-export)

Expand Down