mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-24 06:01:25 +00:00
25 lines
666 B
Python
25 lines
666 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "fp448",
|
|
srcs = [
|
|
"fp.go",
|
|
"fp_amd64.go",
|
|
"fp_amd64.h",
|
|
"fp_amd64.s",
|
|
"fp_generic.go",
|
|
"fp_noasm.go",
|
|
],
|
|
importmap = "peridot.resf.org/vendor/github.com/cloudflare/circl/math/fp448",
|
|
importpath = "github.com/cloudflare/circl/math/fp448",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//vendor/github.com/cloudflare/circl/internal/conv",
|
|
] + select({
|
|
"@io_bazel_rules_go//go/platform:amd64": [
|
|
"//vendor/golang.org/x/sys/cpu",
|
|
],
|
|
"//conditions:default": [],
|
|
}),
|
|
)
|