Skip to content

Commit

Permalink
Add default applicable licenses to JMP.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 635262393
  • Loading branch information
tomhennigan authored and copybara-github committed May 19, 2024
1 parent 5dfab8e commit 2d7e837
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
11 changes: 10 additions & 1 deletion jmp/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
load("//third_party/bazel_rules/rules_python/python:py_library.bzl", "py_library")
load("//tools/build_defs/license:license.bzl", "license")

# Description: JMP is a JAX Mixed Precision library.
package(default_visibility = ["//visibility:private"])
package(
default_applicable_licenses = [":license"],
default_visibility = ["//visibility:private"],
)

license(
name = "license",
package_name = "jmp",
)

licenses(["notice"])

Expand Down
5 changes: 4 additions & 1 deletion jmp/_src/BUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
load("//jmp/_src:build_defs.bzl", "jmp_py_library", "jmp_py_test")

package(default_visibility = ["//jmp:__subpackages__"])
package(
default_applicable_licenses = ["//jmp:license"],
default_visibility = ["//jmp:__subpackages__"],
)

licenses(["notice"])

Expand Down

0 comments on commit 2d7e837

Please sign in to comment.