1.4.4. Migration to 7.11.5¶
1.4.4.1. CMakeIntegration¶
When using generator Ninja with the CMakeIntegration, Axivion Suite previously
implicitly detected the number of cores and amount of memory available and adjusted
job pools for compile and link steps accordingly. This however cannot be done in a
reliable way for all possible CMake setups (CMakeLists.txt, modules,
toolchains, etc.), therefore from now on, the same parallelization level is used as for
the native build. Depending on resource usage of your build, it may be necessary to
limit the level of parallelization, especially for link steps.
You can still override with CMakeIntegration rule option generate_variables
by setting AXIVION_NUM_JOBS_COMPILE and AXIVION_NUM_JOBS_LINK to the
desired values, but depending on the CMake project, it may or may not work. If the
auto-detection worked for you prior to 7.11.5, then setting those variables will
continue to work.
1.4.4.2. Stylechecks¶
FaultDetection-UnusedAssignments¶
We disabled the message keys conditional_unused_def, used_in_other_isr, and
init_used_in_other_isr for the rule FaultDetection-UnusedAssignments by default,
as they are only useful in very specific circumstances.
If you have been using these message keys before, you may want to enable them again
after the upgrade. You can find more details on the message keys in the rule’s
documentation.
The following rules are also affected, as they use FaultDetection-UnusedAssignments
internally:
AutosarC++17_03-M0.1.9,
AutosarC++17_03-M0.3.1,
AutosarC++17_10-M0.1.9,
AutosarC++17_10-M0.3.1,
AutosarC++18_03-M0.1.9,
AutosarC++18_03-M0.3.1,
AutosarC++18_10-M0.1.9,
AutosarC++18_10-M0.3.1,
AutosarC++19_03-M0.1.9,
AutosarC++19_03-M0.3.1,
CertC-MSC12,
CWE-563,
GeneralPurpose-UnusedAssignments,
MisraC++-0.1.9,
MisraC++-0.3.1,
MisraC2012-2.2,
MisraC2012Directive-4.1,
MisraC2019-2.2,
MisraC2019Directive-4.1,
MisraC2023-2.2,
MisraC2023Directive-4.1,
MisraC2025-2.2,
MisraC2025Directive-4.1, and
MisraC-21.1.
- The following rules are explicitly NOT affected and keep the old defaults:
AutosarC++17_03-A0.1.1,AutosarC++17_10-A0.1.1,AutosarC++18_03-A0.1.1,AutosarC++18_10-A0.1.1,AutosarC++19_03-A0.1.1, andMisraC++-0.1.6.