Skip to content

Commit

Permalink
Fix srcs test
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerwilliams committed Jun 14, 2023
1 parent d33e397 commit e753e18
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions third_party/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ filegroup(
srcs = glob(["**"]) + [
"//third_party/allocation_instrumenter:srcs",
"//third_party/android_dex:srcs",
"//third_party/blake3:srcs",
"//third_party/def_parser:srcs",
"//third_party/grpc:srcs",
"//third_party/cncf_udpa:srcs",
Expand Down
6 changes: 3 additions & 3 deletions third_party/blake3/BUILD
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
load("@rules_license//rules:license.bzl", "license")
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")

package(default_applicable_licenses = [":license"])

licenses(["notice"]) # BSD/MIT-like license

exports_files(["LICENSE"])

license(
name = "license",
package_name = "blake3",
Expand All @@ -17,7 +17,7 @@ license(

filegroup(
name = "srcs",
srcs = glob(["src/**"]),
srcs = glob(["**"]),
visibility = ["//third_party:__pkg__"],
)

Expand Down
3 changes: 2 additions & 1 deletion third_party/blake3/UPDATING
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ in the entire upstream directory or using a submodule.

To update the upstream BLAKE3 dependency, run:

$ mkdir -p upstream/
$ pushd third_party/blake3 && mkdir -p upstream/
$ curl -LO https://github.com/BLAKE3-team/BLAKE3/archive/refs/tags/1.3.3.tar.gz
$ tar xvzf 1.3.3.tar.gz --strip-components 1 -C upstream/
$ cp upstream/c/{*.c,*.h,*.asm,*.S} src/c
$ rm -rf upstream/ && rm 1.3.3.tar.gz
$ popd
# Make sure to update the package version in the BUILD file "license" target

0 comments on commit e753e18

Please sign in to comment.