cryptoki: fix QNX build and tests - #196
Conversation
OliverHeilwagen
commented
Aug 27, 2026
- Update score crates and related Bazel dependencies for QNX-compatible Rust platform resolution, regenerating the Bazel module lockfile.
- Pin libc to the QNX-compatible 0.2.186 release.
- Select the appropriate C++ runtime linker flags for Linux and QNX builds.
- Use TEST_TMPDIR for QNX integration-test storage paths instead of /tmp.
- Add a QNX-specific mtime workaround for token-object persistence tests.
- Move optional user Bazel configuration loading after repository defaults.
|
@ShoroukRamzy I noticed that the former fix was skipping elements, now cryptoki lib is build and tests are running under QNX. Can you please check if my changes are valid? |
License Check Results🚀 The license check job ran with the Bazel command: bazel run --lockfile_mode=error //:license-checkStatus: Click to expand output |
55a0de9 to
29f23fb
Compare
|
Documentation preview for this pull request is available at: |
29f23fb to
825813b
Compare
825813b to
bca00cd
Compare
Thank you for the PR @OliverHeilwagen, I will give my feedback soon. |
bca00cd to
9dea46a
Compare
|
Hi @OliverHeilwagen, I analyzed the test skip issue on QNX happened in this PR #191 and I agree with the current fix. The idea, score crates is configured for qnx7 triple not qnx8. That's why setting qnx8 triple in that PR led to target incompatibility, causing the tests to be silently skipped. So I agree with the current reverting to qnx7 solution as a backward-compatibility workaround at the moment. Thanks for the fix! |
|
Hi @OliverHeilwagen, I created these PRs to allow qnx800 target compilation for score consumer repos in the future eclipse-score/rules_rust#21 |
- Update score crates and related Bazel dependencies for QNX-compatible Rust platform resolution, regenerating the Bazel module lockfile. - Pin libc to the QNX-compatible 0.2.186 release. - Select the appropriate C++ runtime linker flags for Linux and QNX builds. - Use TEST_TMPDIR for QNX integration-test storage paths instead of /tmp. - Add a QNX-specific mtime workaround for token-object persistence tests. - Move optional user Bazel configuration loading after repository defaults.
9dea46a to
d40b2eb
Compare
ShoroukRamzy
left a comment
There was a problem hiding this comment.
Thank you for the fix @OliverHeilwagen.
* cryptoki: fix QNX build and tests - Update score crates and related Bazel dependencies for QNX-compatible Rust platform resolution, regenerating the Bazel module lockfile. - Pin libc to the QNX-compatible 0.2.186 release. - Select the appropriate C++ runtime linker flags for Linux and QNX builds. - Use TEST_TMPDIR for QNX integration-test storage paths instead of /tmp. - Add a QNX-specific mtime workaround for token-object persistence tests. - Move optional user Bazel configuration loading after repository defaults. * cryptoki: Apply timing workaround also in case of os name qnx. * cryptoki: Skip flaky tests also for x86_64-qnx.