mirror of https://github.com/k3s-io/k3s
Remove deprecated cgo_genrules
parent
cf55f9ed45
commit
5f63711681
|
@ -4,22 +4,9 @@ licenses(["notice"])
|
|||
|
||||
load(
|
||||
"@io_bazel_rules_go//go:def.bzl",
|
||||
"cgo_genrule",
|
||||
"go_library",
|
||||
)
|
||||
|
||||
cgo_genrule(
|
||||
name = "cgo_codegen",
|
||||
srcs = ["util_cgo.go"],
|
||||
clinkopts = [
|
||||
"-lz",
|
||||
"-lm",
|
||||
"-lpthread",
|
||||
"-ldl",
|
||||
],
|
||||
tags = ["automanaged"],
|
||||
)
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = [
|
||||
|
|
|
@ -4,25 +4,9 @@ licenses(["notice"])
|
|||
|
||||
load(
|
||||
"@io_bazel_rules_go//go:def.bzl",
|
||||
"cgo_genrule",
|
||||
"go_library",
|
||||
)
|
||||
|
||||
cgo_genrule(
|
||||
name = "cgo_codegen",
|
||||
srcs = [
|
||||
"dlopen.go",
|
||||
"dlopen_example.go",
|
||||
],
|
||||
clinkopts = [
|
||||
"-lz",
|
||||
"-lm",
|
||||
"-lpthread",
|
||||
"-ldl",
|
||||
],
|
||||
tags = ["automanaged"],
|
||||
)
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = [
|
||||
|
|
|
@ -4,22 +4,9 @@ licenses(["notice"])
|
|||
|
||||
load(
|
||||
"@io_bazel_rules_go//go:def.bzl",
|
||||
"cgo_genrule",
|
||||
"go_library",
|
||||
)
|
||||
|
||||
cgo_genrule(
|
||||
name = "cgo_codegen",
|
||||
srcs = ["tc_linux_cgo.go"],
|
||||
clinkopts = [
|
||||
"-lz",
|
||||
"-lm",
|
||||
"-lpthread",
|
||||
"-ldl",
|
||||
],
|
||||
tags = ["automanaged"],
|
||||
)
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = [
|
||||
|
|
|
@ -4,22 +4,9 @@ licenses(["notice"])
|
|||
|
||||
load(
|
||||
"@io_bazel_rules_go//go:def.bzl",
|
||||
"cgo_genrule",
|
||||
"go_library",
|
||||
)
|
||||
|
||||
cgo_genrule(
|
||||
name = "cgo_codegen",
|
||||
srcs = ["defs.go"],
|
||||
clinkopts = [
|
||||
"-lz",
|
||||
"-lm",
|
||||
"-lpthread",
|
||||
"-ldl",
|
||||
],
|
||||
tags = ["automanaged"],
|
||||
)
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = [
|
||||
|
|
|
@ -4,22 +4,9 @@ licenses(["notice"])
|
|||
|
||||
load(
|
||||
"@io_bazel_rules_go//go:def.bzl",
|
||||
"cgo_genrule",
|
||||
"go_library",
|
||||
)
|
||||
|
||||
cgo_genrule(
|
||||
name = "cgo_codegen",
|
||||
srcs = ["sysconfig.go"],
|
||||
clinkopts = [
|
||||
"-lz",
|
||||
"-lm",
|
||||
"-lpthread",
|
||||
"-ldl",
|
||||
],
|
||||
tags = ["automanaged"],
|
||||
)
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = [
|
||||
|
|
|
@ -4,25 +4,9 @@ licenses(["notice"])
|
|||
|
||||
load(
|
||||
"@io_bazel_rules_go//go:def.bzl",
|
||||
"cgo_genrule",
|
||||
"go_library",
|
||||
)
|
||||
|
||||
cgo_genrule(
|
||||
name = "cgo_codegen",
|
||||
srcs = [
|
||||
"seccomp.go",
|
||||
"seccomp_internal.go",
|
||||
],
|
||||
clinkopts = [
|
||||
"-lz",
|
||||
"-lm",
|
||||
"-lpthread",
|
||||
"-ldl",
|
||||
],
|
||||
tags = ["automanaged"],
|
||||
)
|
||||
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = select({
|
||||
|
|
Loading…
Reference in New Issue