Skip to content

Commit

Permalink
repo-sync-2024-11-11T16:11:45+0800 (#203)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
huocun-ant authored Nov 12, 2024
1 parent c4ab1e3 commit 8a129e7
Show file tree
Hide file tree
Showing 189 changed files with 7,278 additions and 6,156 deletions.
13 changes: 13 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2024 Ant Group Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ chmod +x traceconv
```
4. Open chrome://tracing in your chrome and load JSON file.


## PSI V2 Benchamrk

Please refer to [PSI V2 Benchmark](docs/user_guide/psi_v2_benchmark.md)

## APSI Benchmark
Expand Down
6 changes: 6 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
> - `[API]` prefix for API changes.
> - `[Improvement]` prefix for implementation improvement.
## v0.5.0.dev241107
- `[API]` delete legacy ub psi function.
- `[API]` output csv null_rep can be specified.
- `[Feature]` join can be done with one receiver.
- `[Feature]` join can be done with ub psi protocol.

## v0.4.0.dev240801
- [Bugfix] Fix MacOS and arm build.

Expand Down
5 changes: 3 additions & 2 deletions bazel/cppzmq.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

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

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

Expand All @@ -21,11 +21,12 @@ filegroup(
srcs = glob(["**"]),
)

psi_cmake_external(
cmake(
name = "cppzmq",
cache_entries = {
"CPPZMQ_BUILD_TESTS": "OFF",
},
generate_args = ["-GNinja"],
lib_source = "@com_github_zeromq_cppzmq//:all",
out_headers_only = True,
deps = [
Expand Down
73 changes: 0 additions & 73 deletions bazel/eigen.BUILD

This file was deleted.

39 changes: 0 additions & 39 deletions bazel/emp-ot.BUILD

This file was deleted.

42 changes: 0 additions & 42 deletions bazel/emp-zk.BUILD

This file was deleted.

5 changes: 3 additions & 2 deletions bazel/flatbuffers.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

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

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

Expand All @@ -21,13 +21,14 @@ filegroup(
srcs = glob(["**"]),
)

psi_cmake_external(
cmake(
name = "FlatBuffers",
cache_entries = {
"FLATBUFFERS_BUILD_TESTS": "OFF",
"CMAKE_EXE_LINKER_FLAGS": "-lm",
"CMAKE_INSTALL_LIBDIR": "lib",
},
generate_args = ["-GNinja"],
lib_source = ":all_srcs",
out_binaries = ["flatc"],
out_static_libs = ["libflatbuffers.a"],
Expand Down
26 changes: 26 additions & 0 deletions bazel/gperftools.BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make")
load("@rules_cc//cc:defs.bzl", "cc_library")

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

filegroup(
name = "all_srcs",
srcs = glob(["**"]),
)

configure_make(
name = "gperftools_build",
configure_options = [
"--enable-shared=no",
"--enable-frame-pointers",
"--disable-libunwind",
"--disable-dependency-tracking",
],
env = {
"AR": "",
},
lib_source = ":all_srcs",
linkopts = ["-lpthread"],
out_static_libs = ["libtcmalloc.a"],
targets = ["-s -j4 install-libLTLIBRARIES install-perftoolsincludeHEADERS"],
)
5 changes: 3 additions & 2 deletions bazel/hexl.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

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

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

Expand All @@ -21,7 +21,7 @@ filegroup(
srcs = glob(["**"]),
)

psi_cmake_external(
cmake(
name = "hexl",
cache_entries = {
"CMAKE_BUILD_TYPE": "Release",
Expand All @@ -30,6 +30,7 @@ psi_cmake_external(
"HEXL_TESTING": "OFF",
"CMAKE_INSTALL_LIBDIR": "lib",
},
generate_args = ["-GNinja"],
lib_source = ":all_srcs",
out_data_dirs = ["lib/cmake"],
out_static_libs = ["libhexl.a"],
Expand Down
5 changes: 3 additions & 2 deletions bazel/jsoncpp.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

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

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

Expand All @@ -21,7 +21,7 @@ filegroup(
srcs = glob(["**"]),
)

psi_cmake_external(
cmake(
name = "jsoncpp",
cache_entries = {
"JSONCPP_WITH_TESTS": "OFF",
Expand All @@ -30,6 +30,7 @@ psi_cmake_external(
"BUILD_OBJECT_LIBS": "OFF",
"CMAKE_INSTALL_LIBDIR": "lib",
},
generate_args = ["-GNinja"],
env = {
"CCACHE_DISABLE": "1",
},
Expand Down
5 changes: 3 additions & 2 deletions bazel/libdivide.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

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

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

Expand All @@ -21,11 +21,12 @@ filegroup(
srcs = glob(["**"]),
)

psi_cmake_external(
cmake(
name = "libdivide",
cache_entries = {
"BUILD_TESTS": "OFF",
},
generate_args = ["-GNinja"],
lib_source = ":all_srcs",
out_headers_only = True,
out_include_dir = "include",
Expand Down
5 changes: 3 additions & 2 deletions bazel/libzmq.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

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

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

Expand All @@ -21,12 +21,13 @@ filegroup(
srcs = glob(["**"]),
)

psi_cmake_external(
cmake(
name = "ZeroMQ",
cache_entries = {
"ZMQ_BUILD_TESTS": "OFF",
"CMAKE_INSTALL_LIBDIR": "lib",
},
generate_args = ["-GNinja"],
lib_source = "@com_github_zeromq_libzmq//:all",
out_static_libs = ["libzmq.a"],
)
5 changes: 3 additions & 2 deletions bazel/log4cplus.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

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

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

Expand All @@ -21,7 +21,7 @@ filegroup(
srcs = glob(["**"]),
)

psi_cmake_external(
cmake(
name = "log4cplus",
cache_entries = {
"LOG4CPLUS_BUILD_TESTING": "OFF",
Expand All @@ -31,6 +31,7 @@ psi_cmake_external(
"LOG4CPLUS_ENABLE_DECORATED_LIBRARY_NAME": "OFF",
"CMAKE_INSTALL_LIBDIR": "lib",
},
generate_args = ["-GNinja"],
lib_source = "@com_github_log4cplus_log4cplus//:all",
out_static_libs = ["liblog4cplus.a"],
)
Loading

0 comments on commit 8a129e7

Please sign in to comment.