Skip to content

Commit 8a129e7

Browse files
authored
repo-sync-2024-11-11T16:11:45+0800 (#203)
* repo-sync-2024-11-11T16:11:45+0800 * repo-sync-2024-11-11T16:20:38+0800 * repo-sync-2024-11-11T17:27:35+0800 * repo-sync-2024-11-11T17:31:43+0800 * repo-sync-2024-11-11T19:13:09+0800 * repo-sync-2024-11-11T20:00:35+0800 * repo-sync-2024-11-11T20:22:10+0800 * repo-sync-2024-11-11T20:54:06+0800 * repo-sync-2024-11-11T21:54:52+0800
1 parent c4ab1e3 commit 8a129e7

File tree

189 files changed

+7278
-6156
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+7278
-6156
lines changed

BUILD.bazel

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright 2024 Ant Group Co., Ltd.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ chmod +x traceconv
205205
```
206206
4. Open chrome://tracing in your chrome and load JSON file.
207207

208-
209208
## PSI V2 Benchamrk
209+
210210
Please refer to [PSI V2 Benchmark](docs/user_guide/psi_v2_benchmark.md)
211211

212212
## APSI Benchmark

RELEASE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
> - `[API]` prefix for API changes.
66
> - `[Improvement]` prefix for implementation improvement.
77
8+
## v0.5.0.dev241107
9+
- `[API]` delete legacy ub psi function.
10+
- `[API]` output csv null_rep can be specified.
11+
- `[Feature]` join can be done with one receiver.
12+
- `[Feature]` join can be done with ub psi protocol.
13+
814
## v0.4.0.dev240801
915
- [Bugfix] Fix MacOS and arm build.
1016

bazel/cppzmq.BUILD

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
load("@psi//bazel:psi.bzl", "psi_cmake_external")
15+
load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake")
1616

1717
package(default_visibility = ["//visibility:public"])
1818

@@ -21,11 +21,12 @@ filegroup(
2121
srcs = glob(["**"]),
2222
)
2323

24-
psi_cmake_external(
24+
cmake(
2525
name = "cppzmq",
2626
cache_entries = {
2727
"CPPZMQ_BUILD_TESTS": "OFF",
2828
},
29+
generate_args = ["-GNinja"],
2930
lib_source = "@com_github_zeromq_cppzmq//:all",
3031
out_headers_only = True,
3132
deps = [

bazel/eigen.BUILD

Lines changed: 0 additions & 73 deletions
This file was deleted.

bazel/emp-ot.BUILD

Lines changed: 0 additions & 39 deletions
This file was deleted.

bazel/emp-zk.BUILD

Lines changed: 0 additions & 42 deletions
This file was deleted.

bazel/flatbuffers.BUILD

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
load("@psi//bazel:psi.bzl", "psi_cmake_external")
15+
load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake")
1616

1717
package(default_visibility = ["//visibility:public"])
1818

@@ -21,13 +21,14 @@ filegroup(
2121
srcs = glob(["**"]),
2222
)
2323

24-
psi_cmake_external(
24+
cmake(
2525
name = "FlatBuffers",
2626
cache_entries = {
2727
"FLATBUFFERS_BUILD_TESTS": "OFF",
2828
"CMAKE_EXE_LINKER_FLAGS": "-lm",
2929
"CMAKE_INSTALL_LIBDIR": "lib",
3030
},
31+
generate_args = ["-GNinja"],
3132
lib_source = ":all_srcs",
3233
out_binaries = ["flatc"],
3334
out_static_libs = ["libflatbuffers.a"],

bazel/gperftools.BUILD

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make")
2+
load("@rules_cc//cc:defs.bzl", "cc_library")
3+
4+
package(default_visibility = ["//visibility:public"])
5+
6+
filegroup(
7+
name = "all_srcs",
8+
srcs = glob(["**"]),
9+
)
10+
11+
configure_make(
12+
name = "gperftools_build",
13+
configure_options = [
14+
"--enable-shared=no",
15+
"--enable-frame-pointers",
16+
"--disable-libunwind",
17+
"--disable-dependency-tracking",
18+
],
19+
env = {
20+
"AR": "",
21+
},
22+
lib_source = ":all_srcs",
23+
linkopts = ["-lpthread"],
24+
out_static_libs = ["libtcmalloc.a"],
25+
targets = ["-s -j4 install-libLTLIBRARIES install-perftoolsincludeHEADERS"],
26+
)

bazel/hexl.BUILD

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
load("@psi//bazel:psi.bzl", "psi_cmake_external")
15+
load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake")
1616

1717
package(default_visibility = ["//visibility:public"])
1818

@@ -21,7 +21,7 @@ filegroup(
2121
srcs = glob(["**"]),
2222
)
2323

24-
psi_cmake_external(
24+
cmake(
2525
name = "hexl",
2626
cache_entries = {
2727
"CMAKE_BUILD_TYPE": "Release",
@@ -30,6 +30,7 @@ psi_cmake_external(
3030
"HEXL_TESTING": "OFF",
3131
"CMAKE_INSTALL_LIBDIR": "lib",
3232
},
33+
generate_args = ["-GNinja"],
3334
lib_source = ":all_srcs",
3435
out_data_dirs = ["lib/cmake"],
3536
out_static_libs = ["libhexl.a"],

0 commit comments

Comments
 (0)