From ab628d45051d64f0e3be1d8fb437fed9a1ff6880 Mon Sep 17 00:00:00 2001 From: Ivo List Date: Thu, 7 Sep 2023 13:23:24 +0200 Subject: [PATCH] Fix CI for C++ toolchain resolution (#307) * Fix CI for C++ toolchain resolution * Adding platform_mappings, because they can't be accessed from another repo * Remove flags to test on CI --- tutorial/platform_mappings | 120 +++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 tutorial/platform_mappings diff --git a/tutorial/platform_mappings b/tutorial/platform_mappings new file mode 100644 index 000000000..d31b6f119 --- /dev/null +++ b/tutorial/platform_mappings @@ -0,0 +1,120 @@ +platforms: + @build_bazel_apple_support//platforms:macos_x86_64 + --cpu=darwin_x86_64 + + @build_bazel_apple_support//platforms:macos_arm64 + --cpu=darwin_arm64 + + @build_bazel_apple_support//platforms:darwin_arm64e + --cpu=darwin_arm64e + + @build_bazel_apple_support//platforms:ios_i386 + --cpu=ios_i386 + + @build_bazel_apple_support//platforms:ios_x86_64 + --cpu=ios_x86_64 + + @build_bazel_apple_support//platforms:ios_sim_arm64 + --cpu=ios_sim_arm64 + + @build_bazel_apple_support//platforms:ios_armv7 + --cpu=ios_armv7 + + @build_bazel_apple_support//platforms:ios_arm64 + --cpu=ios_arm64 + + @build_bazel_apple_support//platforms:ios_arm64e + --cpu=ios_arm64e + + @build_bazel_apple_support//platforms:tvos_x86_64 + --cpu=tvos_x86_64 + + @build_bazel_apple_support//platforms:tvos_sim_arm64 + --cpu=tvos_sim_arm64 + + @build_bazel_apple_support//platforms:tvos_arm64 + --cpu=tvos_arm64 + + @build_bazel_apple_support//platforms:watchos_i386 + --cpu=watchos_i386 + + @build_bazel_apple_support//platforms:watchos_x86_64 + --cpu=watchos_x86_64 + + @build_bazel_apple_support//platforms:watchos_arm64 + --cpu=watchos_arm64 + + @build_bazel_apple_support//platforms:watchos_armv7k + --cpu=watchos_armv7k + + @build_bazel_apple_support//platforms:watchos_arm64_32 + --cpu=watchos_arm64_32 + +flags: + --cpu=darwin_x86_64 + --apple_platform_type=macos + @build_bazel_apple_support//platforms:macos_x86_64 + + --cpu=darwin_arm64 + --apple_platform_type=macos + @build_bazel_apple_support//platforms:macos_arm64 + + --cpu=darwin_arm64e + --apple_platform_type=macos + @build_bazel_apple_support//platforms:darwin_arm64e + + --cpu=ios_i386 + --apple_platform_type=ios + @build_bazel_apple_support//platforms:ios_i386 + + --cpu=ios_x86_64 + --apple_platform_type=ios + @build_bazel_apple_support//platforms:ios_x86_64 + + --cpu=ios_sim_arm64 + --apple_platform_type=ios + @build_bazel_apple_support//platforms:ios_sim_arm64 + + --cpu=ios_armv7 + --apple_platform_type=ios + @build_bazel_apple_support//platforms:ios_armv7 + + --cpu=ios_arm64 + --apple_platform_type=ios + @build_bazel_apple_support//platforms:ios_arm64 + + --cpu=ios_arm64e + --apple_platform_type=ios + @build_bazel_apple_support//platforms:ios_arm64e + + --cpu=tvos_x86_64 + --apple_platform_type=tvos + @build_bazel_apple_support//platforms:tvos_x86_64 + + --cpu=tvos_sim_arm64 + --apple_platform_type=tvos + @build_bazel_apple_support//platforms:tvos_sim_arm64 + + --cpu=tvos_arm64 + --apple_platform_type=tvos + @build_bazel_apple_support//platforms:tvos_arm64 + + --cpu=watchos_i386 + --apple_platform_type=watchos + @build_bazel_apple_support//platforms:watchos_i386 + + --cpu=watchos_x86_64 + --apple_platform_type=watchos + @build_bazel_apple_support//platforms:watchos_x86_64 + + --cpu=watchos_arm64 + --apple_platform_type=watchos + @build_bazel_apple_support//platforms:watchos_arm64 + + --cpu=watchos_armv7k + --apple_platform_type=watchos + @build_bazel_apple_support//platforms:watchos_armv7k + + --cpu=watchos_arm64_32 + --apple_platform_type=watchos + @build_bazel_apple_support//platforms:watchos_arm64_32