Skip to content

Commit

Permalink
specify yacl commit id
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangwfjh committed Apr 19, 2024
1 parent 478d62a commit f045195
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@ psi_deps()
# Warning: psi relies on yacl to bring in common 3p libraries.
# Please make sure yacl_deps are called right after psi_deps.
#
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

SECRETFLOW_GIT = "https://github.com/secretflow"

YACL_COMMIT_ID = "866fbf8712368653904790f65774da0c1a1b3346"

git_repository(
name = "yacl",
commit = YACL_COMMIT_ID,
recursive_init_submodules = True,
remote = "{}/yacl.git".format(SECRETFLOW_GIT),
)

load("@yacl//bazel:repositories.bzl", "yacl_deps")

yacl_deps()
Expand Down
2 changes: 1 addition & 1 deletion bazel/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def psi_deps():
_com_github_ridiculousfish_libdivide()
_com_github_sparsehash_sparsehash()
_com_github_intel_ipp()
_yacl()
# _yacl()

def _yacl():
maybe(
Expand Down

0 comments on commit f045195

Please sign in to comment.