Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEhsan <ehsannas@gmail.com>2019-09-27 16:13:32 +0300
committerSteven Perron <stevenperron@google.com>2019-09-27 16:13:32 +0300
commitbc84daff22575fdcd61fe5cf4f3d120325a7e0d4 (patch)
treef21c91fdd927710a97115e2bd2e9524b9d173933 /build_defs.bzl
parent10951a7c9a13ec663bc1dfdaec268840be865e9a (diff)
Add Kokoro bots for building with Bazel. (#2914)
Add Kokoro bots for building with Bazel.
Diffstat (limited to 'build_defs.bzl')
-rw-r--r--build_defs.bzl8
1 files changed, 7 insertions, 1 deletions
diff --git a/build_defs.bzl b/build_defs.bzl
index bd929d9e7..7d0c48cd1 100644
--- a/build_defs.bzl
+++ b/build_defs.bzl
@@ -24,7 +24,13 @@ COMMON_COPTS = [
})
TEST_COPTS = COMMON_COPTS + select({
- "@bazel_tools//src/conditions:windows": [""],
+ "@bazel_tools//src/conditions:windows": [
+ # Disable C4503 "decorated name length exceeded" warning,
+ # triggered by some heavily templated types.
+ # We don't care much about that in test code.
+ # Important to do since we have warnings-as-errors.
+ "/wd4503"
+ ],
"//conditions:default": [
"-Wno-undef",
"-Wno-self-assign",