-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.bazelrc
More file actions
77 lines (67 loc) · 4.32 KB
/
.bazelrc
File metadata and controls
77 lines (67 loc) · 4.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# *******************************************************************************
# Copyright (c) 2025 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
# Link to S-CORE Bazel Registry
common --registry=https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/
common --registry=https://bcr.bazel.build
# Shared configuration for simple test execution
build:shared --incompatible_strict_action_env
build:shared --sandbox_writable_path=/var/tmp
# -------------------------------------------------------------------------------
# Different toolchain configuration for x86_64-linux (host)
# -------------------------------------------------------------------------------
build:host_config_1 --config=shared
build:host_config_1 --host_platform=@score_bazel_platforms//:x86_64-linux-gcc_12.2.0-posix
build:host_config_1 --extra_toolchains=@score_gcc_toolchain//:x86_64-linux-gcc_12.2.0
build:host_config_1 --host_features=use_pthread
# -------------------------------------------------------------------------------
# Different toolchain configuration for x86_64-linux (host)
# -------------------------------------------------------------------------------
build:host_config_2 --config=shared
build:host_config_2 --host_platform=@score_bazel_platforms//:x86_64-linux-gcc_12.2.0-posix
build:host_config_2 --extra_toolchains=@my_toolchain//:x86_64-linux-gcc_12.2.0
# -------------------------------------------------------------------------------
# Different toolchain configuration for x86_64-linux (host)
# -------------------------------------------------------------------------------
build:host_config_3 --config=shared
build:host_config_3 --host_platform=@score_bazel_platforms//:x86_64-linux
build:host_config_3 --extra_toolchains=@score_gcc_toolchain_bp//:x86_64-linux
# -------------------------------------------------------------------------------
# Toolchain configuration for x86_64-qnx (target)
# -------------------------------------------------------------------------------
build:target_config_1 --config=host_config_1
build:target_config_1 --platforms=@score_bazel_platforms//:x86_64-qnx-sdp_8.0.0-posix
build:target_config_1 --extra_toolchains=@score_qcc_toolchain//:x86_64-qnx-sdp_8.0.0
# -------------------------------------------------------------------------------
# Toolchain configuration for aarch64-qnx (target)
# -------------------------------------------------------------------------------
build:target_config_2 --config=host_config_1
build:target_config_2 --platforms=@score_bazel_platforms//:aarch64-qnx-sdp_8.0.0-posix
build:target_config_2 --extra_toolchains=@score_qcc_arm_toolchain//:aarch64-qnx-sdp_8.0.0
# -------------------------------------------------------------------------------
# Toolchain configuration for aarch64-linux (target)
# -------------------------------------------------------------------------------
build:target_config_3 --config=host_config_1
build:target_config_3 --platforms=@score_bazel_platforms//:aarch64-linux-gcc_12.2.0-posix
build:target_config_3 --extra_toolchains=@score_aarch64_gcc_toolchain//:aarch64-linux-gcc_12.2.0
# -------------------------------------------------------------------------------
# Toolchain configuration for x86_64-linux-autosd10 (target)
# -------------------------------------------------------------------------------
build:target_config_4 --config=host_config_1
build:target_config_4 --platforms=@score_bazel_platforms//:x86_64-linux-autosd10
build:target_config_4 --extra_toolchains=@score_autosd_10_toolchain//:x86_64-linux-autosd10
# -------------------------------------------------------------------------------
# Config dedicated to target platform CPU:aarch64 and OS:ebclfsa
# -------------------------------------------------------------------------------
build:target_config_5 --config=shared
build:target_config_5 --platforms=@score_bazel_platforms//:aarch64-linux-sdk_0.1.0-ebclfsa
build:target_config_5 --extra_toolchains=@score_ebclfsa_toolchain//:aarch64-linux-sdk_0.1.0-ebclfsa