From 6605cac7f4b9a02e7eee6e51ec540b925dd11c54 Mon Sep 17 00:00:00 2001 From: Water-Melon Date: Fri, 6 Sep 2024 15:28:14 +0000 Subject: [PATCH] chore(ci): skip ada compilation in amazon-linux-2 --- .github/matrix-full.yml | 4 ++-- BUILD.bazel | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/matrix-full.yml b/.github/matrix-full.yml index e8379aa5160c..541eaed6869b 100644 --- a/.github/matrix-full.yml +++ b/.github/matrix-full.yml @@ -53,8 +53,8 @@ build-packages: package: rpm package-type: aws2 check-manifest-suite: amazonlinux-2-amd64 - # simdjson doesn't compile on gcc7.3.1 (needs 7.4) - bazel-args: --platforms=//:aws2-crossbuild-x86_64 --//:simdjson=False + # ada and simdjson don't compile on gcc7.3.1 (needs 7.4) + bazel-args: --platforms=//:aws2-crossbuild-x86_64 --//:simdjson=False --//:ada=False - label: amazonlinux-2023 image: amazonlinux:2023 package: rpm diff --git a/BUILD.bazel b/BUILD.bazel index 20c265c370ea..6a81c7d71e40 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -141,6 +141,20 @@ config_setting( visibility = ["//visibility:public"], ) +# --//:ada=true +bool_flag( + name = "ada", + build_setting_default = True, +) + +config_setting( + name = "ada_flag", + flag_values = { + ":ada": "true", + }, + visibility = ["//visibility:public"], +) + # --//:licensing=false bool_flag( name = "licensing",