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 May 12, 2022
1 parent c1f89eb commit 077b3bf
Show file tree
Hide file tree
Showing 2 changed files with 13 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 @@ -15,7 +15,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",
# TODO(github.com/facebookresearch/CompilerGym/pull/633):
Expand Down
14 changes: 12 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
::service_cache
compiler_gym::errors::errors
compiler_gym::service::proto::proto
Expand Down Expand Up @@ -79,6 +80,15 @@ cg_py_library(
PUBLIC
)

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

cg_py_library(
NAME
service_cache
Expand Down

0 comments on commit 077b3bf

Please sign in to comment.