@@ -30,27 +30,9 @@ bazel_dep(name = "googletest", version = "1.17.0", dev_dependency = True)
3030bazel_dep (name = "score_bazel_platforms" , version = "0.1.2" , dev_dependency = True )
3131
3232# QCC C++ cross-compiler toolchain
33- bazel_dep (name = "score_bazel_cpp_toolchains" , version = "0.3.1 " , dev_dependency = True )
33+ bazel_dep (name = "score_bazel_cpp_toolchains" , version = "0.5.0 " , dev_dependency = True )
3434
3535gcc = use_extension ("@score_bazel_cpp_toolchains//extensions:gcc.bzl" , "gcc" , dev_dependency = True )
36- gcc .sdp (
37- name = "sdp_x86_64_pkg" ,
38- build_file = "@score_bazel_cpp_toolchains//packages/qnx/x86_64/sdp/8.0.0:sdp.BUILD" ,
39- sha256 = "9039fd6a4a639f06ea977afb93963a6fe8f8c46db727066709370d999c7232e0" ,
40- url = "https://www.qnx.com/download/download/87174/installation_qnx_803_260305.tar.xz" ,
41- )
42- gcc .sdp (
43- name = "sdp_aarch64_pkg" ,
44- build_file = "@score_bazel_cpp_toolchains//packages/qnx/aarch64/sdp/8.0.0:sdp.BUILD" ,
45- sha256 = "9039fd6a4a639f06ea977afb93963a6fe8f8c46db727066709370d999c7232e0" ,
46- url = "https://www.qnx.com/download/download/87174/installation_qnx_803_260305.tar.xz" ,
47- )
48- use_repo (
49- gcc ,
50- "sdp_aarch64_pkg" ,
51- "sdp_x86_64_pkg" ,
52- )
53-
5436gcc .toolchain (
5537 name = "score_gcc_x86_64_toolchain" ,
5638 target_cpu = "x86_64" ,
@@ -60,53 +42,54 @@ gcc.toolchain(
6042)
6143gcc .toolchain (
6244 name = "score_qcc_x86_64_toolchain" ,
63- sdp_to_link = "sdp_x86_64_pkg" ,
64- sdp_version = "8.0.0" ,
45+ sdp_version = "8.0.3" ,
6546 target_cpu = "x86_64" ,
6647 target_os = "qnx" ,
48+ use_default_package = True ,
6749 version = "12.2.0" ,
6850)
6951gcc .toolchain (
7052 name = "score_qcc_aarch64_toolchain" ,
71- sdp_to_link = "sdp_aarch64_pkg" ,
72- sdp_version = "8.0.0" ,
53+ sdp_version = "8.0.3" ,
7354 target_cpu = "aarch64" ,
7455 target_os = "qnx" ,
56+ use_default_package = True ,
7557 version = "12.2.0" ,
7658)
7759use_repo (
7860 gcc ,
7961 "score_gcc_x86_64_toolchain" ,
8062 "score_qcc_aarch64_toolchain" ,
63+ "score_qcc_aarch64_toolchain_pkg" ,
8164 "score_qcc_x86_64_toolchain" ,
65+ "score_qcc_x86_64_toolchain_pkg" ,
8266)
8367
8468# QNX IFS (Image File System) toolchain for building boot images
85- bazel_dep (name = "score_rules_imagefs" , version = "0.0.2" )
86- git_override (
87- module_name = "score_rules_imagefs" ,
88- commit = "5c5d32eb5597ca6463e840deaf8a80523edba525" ,
89- remote = "https://github.com/eclipse-score/rules_imagefs.git" ,
90- )
69+ bazel_dep (name = "score_rules_imagefs" , version = "0.0.3" )
9170
9271imagefs = use_extension ("@score_rules_imagefs//extensions:imagefs.bzl" , "imagefs" , dev_dependency = True )
9372imagefs .toolchain (
9473 name = "score_qnx_x86_64_ifs_toolchain" ,
95- sdp_to_import = "@sdp_x86_64_pkg " ,
74+ sdp_to_import = "@score_qcc_x86_64_toolchain_pkg " ,
9675 sdp_version = "8.0.0" ,
9776 target_cpu = "x86_64" ,
9877 target_os = "qnx" ,
9978 type = "ifs" ,
10079)
10180imagefs .toolchain (
10281 name = "score_qnx_aarch64_ifs_toolchain" ,
103- sdp_to_import = "@sdp_aarch64_pkg " ,
82+ sdp_to_import = "@score_qcc_aarch64_toolchain_pkg " ,
10483 sdp_version = "8.0.0" ,
10584 target_cpu = "aarch64" ,
10685 target_os = "qnx" ,
10786 type = "ifs" ,
10887)
109- use_repo (imagefs , "score_qnx_aarch64_ifs_toolchain" , "score_qnx_x86_64_ifs_toolchain" )
88+ use_repo (
89+ imagefs ,
90+ "score_qnx_aarch64_ifs_toolchain" ,
91+ "score_qnx_x86_64_ifs_toolchain" ,
92+ )
11093
11194# Score tooling (copyright checker, format checker, starpls)
11295bazel_dep (name = "score_tooling" , version = "1.1.2" , dev_dependency = True )
0 commit comments