@@ -26,7 +26,7 @@ bazel_dep(name = "buildifier_prebuilt", version = "7.3.1")
2626bazel_dep (name = "platforms" , version = "1.0.0" )
2727
2828# S-CORE process rules
29- bazel_dep (name = "score_bazel_platforms" , version = "0.0.3 " )
29+ bazel_dep (name = "score_bazel_platforms" , version = "0.0.4 " )
3030bazel_dep (name = "score_docs_as_code" , version = "2.2.0" )
3131bazel_dep (name = "score_tooling" , version = "1.0.4" )
3232
@@ -35,10 +35,8 @@ bazel_dep(name = "score_platform", version = "0.4.2", dev_dependency = True) #
3535bazel_dep (name = "score_virtualization" , version = "0.0.1" , dev_dependency = True )
3636
3737# Toolchains and extensions
38- bazel_dep (name = "score_toolchains_gcc" , version = "0.5" , dev_dependency = True )
39- bazel_dep (name = "score_toolchains_qnx" , version = "0.0.6" , dev_dependency = True )
40- bazel_dep (name = "rust_qnx8_toolchain" , version = "1.2.0" , dev_dependency = True )
41- bazel_dep (name = "score_toolchains_rust" , version = "0.1.1" , dev_dependency = True )
38+ bazel_dep (name = "score_bazel_cpp_toolchains" , version = "0.2.2" , dev_dependency = True )
39+ bazel_dep (name = "score_toolchains_rust" , version = "0.4.0" , dev_dependency = True )
4240
4341# Others
4442bazel_dep (name = "custom_qemu" , version = "1.0.0" , dev_dependency = True )
@@ -54,20 +52,6 @@ git_override(
5452 remote = "https://github.com/qorix-group/score_virtualization.git" ,
5553)
5654
57- git_override (
58- module_name = "score_toolchains_rust" ,
59- commit = "bcf8e5364f72cf136ec81960350a82e2b5c45449" ,
60- remote = "https://github.com/eclipse-score/toolchains_rust.git" ,
61- )
62-
63- archive_override (
64- module_name = "rust_qnx8_toolchain" ,
65- strip_prefix = "qnx8" ,
66- urls = [
67- "https://github.com/qorix-group/rust-lang-qnx8/releases/download/1.2.0/qnx8_rust_toolchain.tar.gz" ,
68- ],
69- )
70-
7155archive_override (
7256 module_name = "custom_qemu" ,
7357 integrity = "sha256-3V2d+p7nP0tsbrVWOPYUSJogLNal43CIAHEto6Vjdfg=" ,
@@ -77,23 +61,47 @@ archive_override(
7761 ],
7862)
7963
80- # Extensions
81-
82- gcc = use_extension ("@score_toolchains_gcc//extentions:gcc.bzl" , "gcc" , dev_dependency = True )
64+ gcc = use_extension ("@score_bazel_cpp_toolchains//extensions:gcc.bzl" , "gcc" , dev_dependency = True )
8365gcc .toolchain (
84- sha256 = "457f5f20f57528033cb840d708b507050d711ae93e009388847e113b11bf3600" ,
85- strip_prefix = "x86_64-unknown-linux-gnu" ,
86- url = "https://github.com/eclipse-score/toolchains_gcc_packages/releases/download/0.0.1/x86_64-unknown-linux-gnu_gcc12.tar.gz" ,
66+ name = "score_gcc_x86_64_toolchain" ,
67+ target_cpu = "x86_64" ,
68+ target_os = "linux" ,
69+ use_default_package = True ,
70+ version = "12.2.0" ,
71+ )
72+ gcc .toolchain (
73+ name = "score_gcc_aarch64_toolchain" ,
74+ target_cpu = "aarch64" ,
75+ target_os = "linux" ,
76+ use_default_package = True ,
77+ version = "12.2.0" ,
78+ )
79+ gcc .toolchain (
80+ name = "score_qcc_x86_64_toolchain" ,
81+ sdp_version = "8.0.0" ,
82+ target_cpu = "x86_64" ,
83+ target_os = "qnx" ,
84+ use_default_package = True ,
85+ version = "12.2.0" ,
86+ )
87+ gcc .toolchain (
88+ name = "score_qcc_aarch64_toolchain" ,
89+ sdp_version = "8.0.0" ,
90+ target_cpu = "aarch64" ,
91+ target_os = "qnx" ,
92+ use_default_package = True ,
93+ version = "12.2.0" ,
8794)
88- use_repo (gcc , "gcc_toolchain" , "gcc_toolchain_gcc" )
8995
90- toolchains_qnx = use_extension ("@score_toolchains_qnx//:extensions.bzl" , "toolchains_qnx" , dev_dependency = True )
91- toolchains_qnx .sdp (
92- sha256 = "f2e0cb21c6baddbcb65f6a70610ce498e7685de8ea2e0f1648f01b327f6bac63" ,
93- strip_prefix = "installation" ,
94- url = "https://www.qnx.com/download/download/79858/installation.tgz" ,
96+ use_repo (
97+ gcc ,
98+ "score_gcc_aarch64_toolchain" ,
99+ "score_gcc_x86_64_toolchain" ,
100+ "score_qcc_aarch64_toolchain" ,
101+ "score_qcc_x86_64_toolchain" ,
95102)
96103
104+
97105PYTHON_VERSION = "3.12"
98106
99107python = use_extension ("@rules_python//python/extensions:python.bzl" , "python" , dev_dependency = True )
@@ -113,9 +121,12 @@ use_repo(python)
113121
114122use_repo (pip , "pip_score_venv_test" )
115123
116- use_repo (toolchains_qnx , "toolchains_qnx_sdp" )
117- use_repo (toolchains_qnx , "toolchains_qnx_qcc" )
118- use_repo (toolchains_qnx , "toolchains_qnx_ifs" )
119124
120125# S-CORE crates
121- bazel_dep (name = "score_crates" , version = "0.0.5" )
126+ bazel_dep (name = "score_crates" , version = "0.0.7" )
127+
128+ git_override (
129+ module_name = "rules_rust" ,
130+ remote = "https://github.com/pawelrutkaq/rules_rust.git" , # To be fixed once rule_rust is in score bazel registry
131+ commit = "293337fd6402ec3dfbeb8f2d589f38ad9124dadd" ,
132+ )
0 commit comments