Skip to content

Commit

Permalink
Add missing cmake dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCummins committed Apr 28, 2022
1 parent 5900470 commit 58cb318
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compiler_gym/service/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ py_library(
":compilation_session",
":connection",
# TODO(github.com/facebookresearch/CompilerGym/pull/633):
# add this after circular dependencies are resolved
# add this after circular dependencies are resolved:
# ":client_service_compiler_env",
":connection_pool",
"//compiler_gym/service/proto",
Expand Down
15 changes: 13 additions & 2 deletions compiler_gym/service/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ cg_py_library(
::compilation_session
::connection
# TODO(github.com/facebookresearch/CompilerGym/pull/633):
# add this after circular dependencies are resolved
#::client_service_compiler_env
# add this after circular dependencies are resolved:
# ::client_service_compiler_env
::connection_pool
compiler_gym::service::proto::proto
PUBLIC
)
Expand Down Expand Up @@ -73,3 +74,13 @@ cg_py_library(
compiler_gym::views::views
PUBLIC
)

cg_py_library(
NAME
connection_pool
SRCS
"connection_pool.py"
DEPS
::connection
PUBLIC
)

0 comments on commit 58cb318

Please sign in to comment.