Created
July 21, 2026 12:38
-
-
Save odra/0197a9677696c2faed69a73a9ec366c1 to your computer and use it in GitHub Desktop.
autosd bazel setup (s-core)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| common --registry=https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/ | |
| common --registry=https://bcr.bazel.build | |
| build:_common --@score_baselibs//score/json:base_library=nlohmann | |
| build:_common --@score_baselibs//score/memory/shared/flags:use_typedshmd=False | |
| build:_common --@score_baselibs//src/log:safety_level=qm | |
| build:_common --@score_baselibs//score/analysis/tracing/generic_trace_library:implementation=@score_baselibs//score/analysis/tracing/generic_trace_library/stub_implementation | |
| ## temporary workaround gcc14 (optional, based on each individual s-core module) | |
| build:_autosd_common --cxxopt=-Wno-error=self-move | |
| build:_autosd_common --cxxopt=-Wno-error=dangling-reference | |
| build:_autosd_common --cxxopt=-Wno-error=pessimizing-move | |
| # Target configuration for CPU:x86-64|OS:AutoSD10 Linux | |
| build:bl-x86_64-autosd --config=_common | |
| build:bl-x86_64-autosd --config=_autosd_common | |
| build:bl-x86_64-autosd --platforms=@score_bazel_platforms//:x86_64-linux-autosd10 | |
| build:bl-x86_64-autosd --extra_toolchains=@score_autosd10_x86_64_toolchain//:x86_64-linux-autosd10 | |
| # Target configuration for CPU:aarch64|OS:AutoSD10 Linux | |
| build:bl-aarch64-autosd --config=_common | |
| build:bl-aarch64-autosd --config=_autosd_common | |
| build:bl-aarch64-autosd --platforms=@score_bazel_platforms//:aarch64-linux-autosd10 | |
| build:bl-aarch64-autosd --extra_toolchains=@score_autosd10_aarch64_toolchain//:aarch64-linux-autosd10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bazel_dep(name = "score_bazel_cpp_toolchains", version = "0.5.4") | |
| gcc.toolchain( | |
| name = "score_autosd10_x86_64_toolchain", | |
| runtime_ecosystem = "autosd10", | |
| target_cpu = "x86_64", | |
| target_os = "linux", | |
| use_default_package = True, | |
| ) | |
| gcc.toolchain( | |
| name = "score_autosd10_aarch64_toolchain", | |
| runtime_ecosystem = "autosd10", | |
| target_cpu = "aarch64", | |
| target_os = "linux", | |
| use_default_package = True, | |
| ) | |
| use_repo( | |
| gcc, | |
| "score_autosd10_aarch64_toolchain", | |
| "score_autosd10_x86_64_toolchain", | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment