mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-24 06:01:25 +00:00
25 lines
655 B
Python
25 lines
655 B
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||
|
|
||
|
go_library(
|
||
|
name = "blake2b",
|
||
|
srcs = [
|
||
|
"blake2b.go",
|
||
|
"blake2bAVX2_amd64.go",
|
||
|
"blake2bAVX2_amd64.s",
|
||
|
"blake2b_amd64.s",
|
||
|
"blake2b_generic.go",
|
||
|
"blake2b_ref.go",
|
||
|
"blake2x.go",
|
||
|
"register.go",
|
||
|
],
|
||
|
importmap = "peridot.resf.org/vendor/golang.org/x/crypto/blake2b",
|
||
|
importpath = "golang.org/x/crypto/blake2b",
|
||
|
visibility = ["//visibility:public"],
|
||
|
deps = select({
|
||
|
"@io_bazel_rules_go//go/platform:amd64": [
|
||
|
"//vendor/golang.org/x/sys/cpu",
|
||
|
],
|
||
|
"//conditions:default": [],
|
||
|
}),
|
||
|
)
|