Skip to content

Commit

Permalink
repo-sync-2024-11-11T17:27:35+0800
Browse files Browse the repository at this point in the history
  • Loading branch information
huocun-ant committed Nov 11, 2024
1 parent bd71e96 commit f9ce44a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions docker/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ set -ex
cp -r src src_copied
cd src_copied

conda install -y perl=5.20.3.1

bazel build psi:main -c opt --config=linux-release --repository_cache=/tmp/bazel_repo_cache
chmod 777 bazel-bin/psi/main
mkdir -p ../src/docker/linux/amd64
Expand Down
9 changes: 6 additions & 3 deletions psi/kwpir/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,20 @@ package(default_visibility = ["//visibility:public"])
psi_cc_library(
name = "kw_pir",
srcs = ["kw_pir.cc"],
hdrs = ["kw_pir.h","index_pir.h"],
hdrs = [
"index_pir.h",
"kw_pir.h",
],
linkopts = [
"-ldl",
"-lm",
],
deps = [
"//psi/utils:cuckoo_index",
"@yacl//yacl/base:byte_container_view",
"@yacl//yacl/base:exception",
"@yacl//yacl/base:int128",
"@yacl//yacl/crypto/rand",
"//psi/utils:cuckoo_index",
],
)

Expand All @@ -40,4 +43,4 @@ psi_cc_test(
":kw_pir",
"//psi/sealpir:seal_pir",
],
)
)
4 changes: 2 additions & 2 deletions psi/sealpir/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ psi_cc_library(
],
deps = [
":seal_pir_utils",
"//psi/sealpir:serializable_cc_proto",
"//psi/kwpir:kw_pir",
"//psi/sealpir:serializable_cc_proto",
"@com_github_microsoft_seal//:seal",
"@com_github_openssl_openssl//:openssl",
"@yacl//yacl/base:byte_container_view",
Expand All @@ -68,4 +68,4 @@ psi_cc_test(
":seal_pir",
"@com_github_microsoft_seal//:seal",
],
)
)

0 comments on commit f9ce44a

Please sign in to comment.