blob: 3b8a6b17ae7d02300c12fd7d919321f5b40b23fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
BAZEL_TARGET_CPU ??= ""
BAZEL_TARGET_CPU:x86 = "x86"
BAZEL_TARGET_CPU:x86-64 = "k8"
BAZEL_TARGET_CPU:arm = "arm"
BAZEL_TARGET_CPU:aarch64 = "aarch64"
python __anonymous() {
if not d.getVar("BAZEL_TARGET_CPU"):
target_arch = d.getVar("TARGET_ARCH")
raise bb.parse.SkipPackage("BAZEL_TARGET_CPU is not set\nTensorFlow does not support Target Arch '%s'" % target_arch)
}
|