Skip to content

Commit

Permalink
Drop more
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinxc committed Dec 28, 2024
1 parent 1c73840 commit be550a5
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 422 deletions.
3 changes: 2 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ bazel_dep(name = "emp-tool", version = "0.2.5")
bazel_dep(name = "sparsehash", version = "2.0.4")
bazel_dep(name = "sse2neon", version = "1.7.0-20240330-8df2f48")
bazel_dep(name = "seal", version = "4.1.1")
bazel_dep(name = "zstd", version = "1.5.6")
bazel_dep(name = "microsoft_gsl", version = "4.0.0")

# non mododule dependencies
non_module_dependencies = use_extension("//bazel:defs.bzl", "non_module_dependencies")
Expand All @@ -60,7 +62,6 @@ use_repo(
"curve25519-donna",
"kuku",
"perfetto",
"zstd",
)

new_local_repository = use_repo_rule("@bazel_tools//tools/build_defs/repo:local.bzl", "new_local_repository")
Expand Down
2 changes: 1 addition & 1 deletion bazel/microsoft_apsi.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ cmake(
out_static_libs = ["libapsi-0.11.a"],
deps = [
"@com_github_log4cplus_log4cplus//:log4cplus",
"@com_github_microsoft_gsl//:Microsoft.GSL",
"@microsoft_gsl//:Microsoft.GSL",
"@com_github_open_source_parsers_jsoncpp//:jsoncpp",
"@com_github_zeromq_cppzmq//:cppzmq",
"@com_google_flatbuffers//:FlatBuffers",
Expand Down
35 changes: 0 additions & 35 deletions bazel/microsoft_gsl.BUILD

This file was deleted.

2 changes: 1 addition & 1 deletion bazel/microsoft_kuku.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ cmake(
lib_source = "@kuku//:all",
out_include_dir = "include/Kuku-2.1",
out_static_libs = ["libkuku-2.1.a"],
deps = ["@com_github_microsoft_gsl//:Microsoft.GSL"],
deps = ["@microsoft_gsl//:Microsoft.GSL"],
)
252 changes: 0 additions & 252 deletions bazel/patches/seal.patch

This file was deleted.

43 changes: 0 additions & 43 deletions bazel/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")

def psi_deps():
_com_github_facebook_zstd()
_com_github_microsoft_seal()
_com_github_microsoft_apsi()
_com_github_microsoft_gsl()
_com_github_microsoft_kuku()
_com_google_flatbuffers()

Expand All @@ -31,33 +28,6 @@ def psi_deps():
_com_github_log4cplus_log4cplus()
_com_github_open_source_parsers_jsoncpp()

def _com_github_facebook_zstd():
maybe(
http_archive,
name = "zstd",
build_file = "//bazel:zstd.BUILD",
strip_prefix = "zstd-1.5.5",
sha256 = "98e9c3d949d1b924e28e01eccb7deed865eefebf25c2f21c702e5cd5b63b85e1",
type = ".tar.gz",
urls = [
"https://github.com/facebook/zstd/archive/refs/tags/v1.5.5.tar.gz",
],
)

def _com_github_microsoft_seal():
maybe(
http_archive,
name = "seal",
sha256 = "af9bf0f0daccda2a8b7f344f13a5692e0ee6a45fea88478b2b90c35648bf2672",
strip_prefix = "SEAL-4.1.1",
type = "tar.gz",
patch_args = ["-p1"],
patches = ["@psi//bazel/patches:seal.patch"],
urls = [
"https://github.com/microsoft/SEAL/archive/refs/tags/v4.1.1.tar.gz",
],
build_file = "@psi//bazel:seal.BUILD",
)

def _com_github_microsoft_apsi():
maybe(
Expand All @@ -79,19 +49,6 @@ def _com_github_microsoft_apsi():
],
)

def _com_github_microsoft_gsl():
maybe(
http_archive,
name = "com_github_microsoft_gsl",
sha256 = "f0e32cb10654fea91ad56bde89170d78cfbf4363ee0b01d8f097de2ba49f6ce9",
strip_prefix = "GSL-4.0.0",
type = "tar.gz",
urls = [
"https://github.com/microsoft/GSL/archive/refs/tags/v4.0.0.tar.gz",
],
build_file = "@psi//bazel:microsoft_gsl.BUILD",
)

def _com_github_microsoft_kuku():
maybe(
http_archive,
Expand Down
Loading

0 comments on commit be550a5

Please sign in to comment.