Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repo-sync-2024-12-06T15:51:41+0800 #425

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
common --experimental_repo_remote_exec
common --experimental_cc_shared_library

common --registry=https://raw.githubusercontent.com/secretflow/bazel-registry/main
common --registry=https://bcr.bazel.build
common --registry=https://baidu.github.io/babylon/registry

build --incompatible_new_actions_api=false
build --copt=-fdiagnostics-color=always
build --enable_platform_specific_config
Expand All @@ -40,6 +44,7 @@ build:macos --action_env MACOSX_DEPLOYMENT_TARGET=13.0
build:asan --features=asan
build:ubsan --features=ubsan


test --keep_going
test --test_output=errors
test --test_timeout=360
Expand All @@ -49,4 +54,4 @@ test --test_timeout=360
build:gm --define BRPC_WITH_TONGSUO=true

# make sure yacl is built with tongsuo in gm mode
build:gm --define YACL_WITH_TONGSUO=true
build:gm --define YACL_WITH_TONGSUO=true
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.4.0
7.4.1
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ _build

# bazel
bazel-*
# bazel lock file
MODULE.bazel.lock

# cmake related
abseil-cpp
Expand Down
54 changes: 28 additions & 26 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ header: # <1>
license:
spdx-id: Apache-2.0 # <2>
copyright-owner: Ant Group Co., Ltd. # <3>
copyright-year: '2024' # <25>
copyright-year: "2024" # <25>
software-name: secretflow # <4>

pattern: | # <6>
Expand All @@ -19,33 +19,35 @@ header: # <1>
limitations under the License.

paths: # <7>
- '**'
- "**"

paths-ignore: # <8>
- '.circleci'
- '.github'
- '**/*.md'
- '**/*.json'
- '**/*.yaml'
- '**/*.yml'
- '**/*.patch'
- '**/*.lds'
- '**/*.csv'
- '**/*.rst'
- 'LICENSE'
- 'NOTICE'
- '.bazelversion'
- '.bazelignore'
- '.clang-format'
- '.clang-tidy'
- '.gitattributes'
- '.gitignore'
- '.gitmodules'
- 'yacl/base/dynamic_bitset.h' # MIT
- 'yacl/crypto/aes/aes_intrinsics.h'
- 'yacl/crypto/aes/aes_opt.h'
- 'yacl/io/circuit/data/**.txt'
- 'docs/requirements.txt'
- ".circleci"
- ".github"
- "**/*.md"
- "**/*.json"
- "**/*.yaml"
- "**/*.yml"
- "**/*.patch"
- "**/*.lds"
- "**/*.csv"
- "**/*.rst"
- "LICENSE"
- "NOTICE"
- ".bazelversion"
- ".bazelignore"
- ".clang-format"
- ".clang-tidy"
- ".gitattributes"
- ".gitignore"
- ".gitmodules"
- "yacl/base/dynamic_bitset.h" # MIT
- "yacl/crypto/aes/aes_intrinsics.h"
- "yacl/crypto/aes/aes_opt.h"
- "yacl/io/circuit/data/**.txt"
- "docs/requirements.txt"
- "MODULE.bazel.lock"
- "bazel/modules/"

comment: never # <9>

Expand Down
54 changes: 54 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,57 @@
#
# For more details, please check https://github.com/bazelbuild/bazel/issues/18958
###############################################################################

module(
name = "yacl",
compatibility_level = 1,
)

# --registry=https://bcr.bazel.build
bazel_dep(name = "rules_proto", version = "4.0.0")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "rules_cc")
single_version_override(
module_name = "rules_cc",
version = "0.0.12",
)

bazel_dep(name = "abseil-cpp", version = "20230802.1")
bazel_dep(name = "gflags", version = "2.2.2")
bazel_dep(name = "zlib", version = "1.3.1.bcr.3")
bazel_dep(name = "msgpack-c", version = "6.1.0")
bazel_dep(name = "apple_support", version = "1.17.1")
bazel_dep(name = "blake3", version = "1.5.4")
bazel_dep(name = "fmt", version = "11.0.2")
bazel_dep(name = "spdlog", version = "1.14.1")
bazel_dep(name = "rules_python", version = "0.16.2")
bazel_dep(name = "bazel_features", version = "1.20.0")
bazel_dep(name = "rules_foreign_cc", version = "0.12.0")
bazel_dep(name = "platforms", version = "0.0.8")

# self-hosted registry
bazel_dep(name = "brpc", version = "1.11.0-20241119-72ce354")
bazel_dep(name = "cpu_features", version = "0.9.0")
bazel_dep(name = "simplest-ot", version = "0.0.1")
bazel_dep(name = "libtommath", version = "0.0.0-20240407-42b3fb0")
bazel_dep(name = "tongsuo", version = "8.4.0")
bazel_dep(name = "fourqlib", version = "0.0.0-20220901-1031567")
bazel_dep(name = "libsodium", version = "1.0.18")
bazel_dep(name = "sse2neon", version = "1.7.0-20240330-8df2f48")
bazel_dep(name = "hash_drbg", version = "0.0.0-20230516-2411fa9")
bazel_dep(name = "org_interconnection", version = "0.0.1")
bazel_dep(name = "lib25519", version = "20240321")
bazel_dep(name = "mcl", version = "1.99", repo_name = "mcl")
bazel_dep(name = "protobuf")
single_version_override(
module_name = "protobuf",
version = "25.5",
)

# --registry=https://baidu.github.io/babylon/registry
bazel_dep(name = "leveldb", version = "1.23")
bazel_dep(name = "openssl", version = "3.3.2")

# test
bazel_dep(name = "googletest", version = "1.15.2", dev_dependency = True)
bazel_dep(name = "google_benchmark", version = "1.8.5", dev_dependency = True)
51 changes: 0 additions & 51 deletions WORKSPACE

This file was deleted.

41 changes: 0 additions & 41 deletions bazel/blake3.BUILD

This file was deleted.

35 changes: 0 additions & 35 deletions bazel/cpu_features.BUILD

This file was deleted.

92 changes: 0 additions & 92 deletions bazel/leveldb.BUILD

This file was deleted.

Loading
Loading