Skip to content

Commit

Permalink
Skylib update
Browse files Browse the repository at this point in the history
  • Loading branch information
shkarupa-alex committed Aug 9, 2024
1 parent 56becb8 commit 315916a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 8 deletions.
44 changes: 36 additions & 8 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -1,20 +1,47 @@
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("//third_party/tf:tf_configure.bzl", "tf_configure")
load("//third_party/gpu:cuda_configure.bzl", "cuda_configure")
load("//third_party/tf:tf_configure.bzl", "tf_configure")

# curl -L https://github.com/.../.../archive/<git hash>.tar.gz | [g]sha256sum

# See ICU data redbuild instructions in third_party/icu/data/BUILD
#http_archive(
# name = "icu",
# sha256 = "925e6b4b8cf8856e0ac214f6f34e30dee63b7bb7a50460ab4603950eff48f89e",
# strip_prefix = "icu-release-75-1",
# urls = ["https://github.com/unicode-org/icu/archive/release-75-1.tar.gz"],
# build_file = "//third_party/icu:BUILD.bzl",
# patch_args= ["-p1", "-s"],
# patches = [
# "//third_party/icu:udata.patch",
# ],
#)
#http_archive(
# name = "icu",
# sha256 = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
# strip_prefix = "icu-release-65-1",
# urls = ["https://github.com/unicode-org/icu/archive/release-65-1.tar.gz"],
# build_file = "//third_party/icu:BUILD.bzl",
# patch_args= ["-p1", "-s"],
# patches = [
# "//third_party/icu:udata.patch",
# ],
#)
http_archive(
name = "icu",
sha256 = "65271a83fa81783d1272553f4564965ac2e32535a58b0b8141e9f4003afb0e3a",
strip_prefix = "icu-release-64-2",
urls = ["https://github.com/unicode-org/icu/archive/release-64-2.tar.gz"],
build_file = "//third_party/icu:BUILD.bzl",
patch_args= ["-p1", "-s"],
patch_args = [
"-p1",
"-s",
],
patches = [
"//third_party/icu:udata.patch",
],
sha256 = "65271a83fa81783d1272553f4564965ac2e32535a58b0b8141e9f4003afb0e3a",
strip_prefix = "icu-release-64-2",
urls = ["https://github.com/unicode-org/icu/archive/release-64-2.tar.gz"],
)

http_archive(
name = "re2",
sha256 = "2ed94072145272012bb5b7054afcbe707447d49dcd79fd6d1689e6f3dc589def",
Expand All @@ -24,12 +51,13 @@ http_archive(

http_archive(
name = "bazel_skylib",
sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
sha256 = "bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f",
urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz",
],
)

tf_configure(name = "local_config_tf")

cuda_configure(name = "local_config_cuda")
2 changes: 2 additions & 0 deletions tfmiss/ops/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,7 @@ custom_op_library(
"//third_party/icu/data:custom_data",
"@icu//:common",
"@re2//:re2",
# "@abseil-cpp//absl/status",
# "@abseil-cpp//absl/status:statusor"
]
)

0 comments on commit 315916a

Please sign in to comment.