CMake: Remove the CMAKE_CXX_COMPILER path from the SBOM
It causes the SBOM to be non-reproducible, as the path is different on each machine. Embedding just the compiler id and version should be sufficient. Pick-to: 6.8 Task-number: QTBUG-122899 Task-number: QTBUG-130557 Change-Id: Iad66ac3f90c4969d27307c77bef46d2eba15c175 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
6e7f871edf
commit
d7fb9bfb80
@ -144,7 +144,7 @@ FilesAnalyzed: false
|
||||
PackageSummary: <text>The compiler as identified by CMake, running on ${CMAKE_HOST_SYSTEM_NAME} (${CMAKE_HOST_SYSTEM_PROCESSOR})</text>
|
||||
PrimaryPackagePurpose: APPLICATION
|
||||
Relationship: SPDXRef-compiler BUILD_DEPENDENCY_OF ${project_spdx_id}
|
||||
RelationshipComment: <text>${project_spdx_id} is built by compiler ${CMAKE_CXX_COMPILER_ID} (${CMAKE_CXX_COMPILER}) version ${CMAKE_CXX_COMPILER_VERSION}</text>
|
||||
RelationshipComment: <text>${project_spdx_id} is built by compiler ${CMAKE_CXX_COMPILER_ID} version ${CMAKE_CXX_COMPILER_VERSION}</text>
|
||||
|
||||
PackageName: ${arg_PROJECT}
|
||||
SPDXID: ${project_spdx_id}
|
||||
|
Loading…
x
Reference in New Issue
Block a user