2022-07-07 20:11:50 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "cpu",
|
|
|
|
srcs = [
|
|
|
|
"asm_aix_ppc64.s",
|
|
|
|
"byteorder.go",
|
|
|
|
"cpu.go",
|
|
|
|
"cpu_aix.go",
|
|
|
|
"cpu_arm.go",
|
|
|
|
"cpu_arm64.go",
|
|
|
|
"cpu_arm64.s",
|
|
|
|
"cpu_gc_arm64.go",
|
|
|
|
"cpu_gc_s390x.go",
|
|
|
|
"cpu_gc_x86.go",
|
|
|
|
"cpu_linux.go",
|
|
|
|
"cpu_linux_arm.go",
|
|
|
|
"cpu_linux_arm64.go",
|
|
|
|
"cpu_linux_mips64x.go",
|
|
|
|
"cpu_linux_noinit.go",
|
|
|
|
"cpu_linux_ppc64x.go",
|
|
|
|
"cpu_linux_s390x.go",
|
|
|
|
"cpu_mips64x.go",
|
|
|
|
"cpu_mipsx.go",
|
|
|
|
"cpu_netbsd_arm64.go",
|
2022-11-04 02:21:49 +00:00
|
|
|
"cpu_openbsd_arm64.go",
|
|
|
|
"cpu_openbsd_arm64.s",
|
2022-07-07 20:11:50 +00:00
|
|
|
"cpu_other_arm.go",
|
|
|
|
"cpu_other_arm64.go",
|
|
|
|
"cpu_ppc64x.go",
|
|
|
|
"cpu_riscv64.go",
|
|
|
|
"cpu_s390x.go",
|
|
|
|
"cpu_s390x.s",
|
|
|
|
"cpu_wasm.go",
|
|
|
|
"cpu_x86.go",
|
|
|
|
"cpu_x86.s",
|
|
|
|
"cpu_zos.go",
|
|
|
|
"cpu_zos_s390x.go",
|
|
|
|
"hwcap_linux.go",
|
|
|
|
"syscall_aix_ppc64_gc.go",
|
|
|
|
],
|
|
|
|
importmap = "peridot.resf.org/vendor/golang.org/x/sys/cpu",
|
|
|
|
importpath = "golang.org/x/sys/cpu",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|