Repository navigation
linux-validate: Pass extra compiler flags and CMake arguments through - #673
Merged
Merged
Conversation
OBS_EXTRA_CFLAGS and OBS_EXTRA_CMAKE_ARGS reach the Tier 2 CMake configure, and with extra flags set the build's warnings are printed, so a stricter warning set can be measured in one run (#516). Local-Gate: v1 tree=ec638aff0cb081795b407ebb2c4f07078afb69f9 secs=389 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run Ci-Attestation: {"at":1791947757,"gate":"rust/all/fmt","host":"linux-x86_64","key":"56a954bd3fce1eb954760b112a81db89c45a3cdb7444fdba99e37409c236c69a","lane":"lint","parents":["4e3eaf8b9cf996ae61d42d52b95f29f6a74863fa"],"secs":22,"stamp":"a1e9d1f5f25c650ca888ee8563144c3b","tree":"ec638aff0cb081795b407ebb2c4f07078afb69f9","v":1,"via":"run"} Ci-Attestation: {"at":1791947757,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"56a954bd3fce1eb954760b112a81db89c45a3cdb7444fdba99e37409c236c69a","lane":"lint","parents":["4e3eaf8b9cf996ae61d42d52b95f29f6a74863fa"],"secs":22,"stamp":"9ee6251f5c222c8ab1018e7dbecb8d09","tree":"ec638aff0cb081795b407ebb2c4f07078afb69f9","v":1,"via":"run"} Ci-Attestation: {"at":1791947757,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"72888565883cd9d304fb1e47879fe4f54967b59f35d53a2b59004ae9054551c3","lane":"rust-test","parents":["4e3eaf8b9cf996ae61d42d52b95f29f6a74863fa"],"secs":99,"stamp":"fca9fd5e8df5455a7ab2e82abc956a78","tree":"ec638aff0cb081795b407ebb2c4f07078afb69f9","v":1,"via":"run"} Ci-Attestation: {"at":1791947758,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"2b996ee82405dea9efcd3ba24df52805788065dfbbe32b7016d254deafb1d920","lane":"cross","parents":["4e3eaf8b9cf996ae61d42d52b95f29f6a74863fa"],"secs":85,"stamp":"435562c97a2de2d1beed5529ede90900","tree":"ec638aff0cb081795b407ebb2c4f07078afb69f9","v":1,"via":"run"} Ci-Attestation: {"at":1791947758,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"2b996ee82405dea9efcd3ba24df52805788065dfbbe32b7016d254deafb1d920","lane":"cross","parents":["4e3eaf8b9cf996ae61d42d52b95f29f6a74863fa"],"secs":85,"stamp":"9b4ef9162b6948fea2bbcaa4216452bc","tree":"ec638aff0cb081795b407ebb2c4f07078afb69f9","v":1,"via":"run"} Ci-Attestation: {"at":1791947758,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"2b996ee82405dea9efcd3ba24df52805788065dfbbe32b7016d254deafb1d920","lane":"cross","parents":["4e3eaf8b9cf996ae61d42d52b95f29f6a74863fa"],"secs":85,"stamp":"3b951f4f70b0f9820ad13df3bd289ab0","tree":"ec638aff0cb081795b407ebb2c4f07078afb69f9","v":1,"via":"run"} Ci-Attestation: {"at":1791947758,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"2b996ee82405dea9efcd3ba24df52805788065dfbbe32b7016d254deafb1d920","lane":"cross","parents":["4e3eaf8b9cf996ae61d42d52b95f29f6a74863fa"],"secs":85,"stamp":"dd6a3a0e74284277c2eb609951385fcc","tree":"ec638aff0cb081795b407ebb2c4f07078afb69f9","v":1,"via":"run"} Ci-Attestation: {"at":1791947758,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"2b996ee82405dea9efcd3ba24df52805788065dfbbe32b7016d254deafb1d920","lane":"cross","parents":["4e3eaf8b9cf996ae61d42d52b95f29f6a74863fa"],"secs":85,"stamp":"04a5d655d27ebef78517722644efaae4","tree":"ec638aff0cb081795b407ebb2c4f07078afb69f9","v":1,"via":"run"} Ci-Attestation: {"at":1791947758,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"2b996ee82405dea9efcd3ba24df52805788065dfbbe32b7016d254deafb1d920","lane":"cross","parents":["4e3eaf8b9cf996ae61d42d52b95f29f6a74863fa"],"secs":85,"stamp":"99e956f1200655e4830765abcaef0bc8","tree":"ec638aff0cb081795b407ebb2c4f07078afb69f9","v":1,"via":"run"} Ci-Attestation: {"at":1791947758,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"92e1a933b3300d48896124acb2ca840737443806d197022e54cf5c0c00a3851b","lane":"tier2-linux","parents":["4e3eaf8b9cf996ae61d42d52b95f29f6a74863fa"],"secs":183,"stamp":"5ff466f2824d0643178519c9c044df54","tree":"ec638aff0cb081795b407ebb2c4f07078afb69f9","v":1,"via":"run"}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #516. With
OBS_EXTRA_CFLAGSandOBS_EXTRA_CMAKE_ARGS, the Tier 2 harness can measure a stricter warning set in one run, e.g.OBS_EXTRA_CMAKE_ARGS=-DCMAKE_COMPILE_WARNING_AS_ERROR=OFF OBS_EXTRA_CFLAGS='-Wshadow …' rust/tools/linux-validate/run.shWhen extra flags are set, the build's unique warnings are printed. Nothing changes when the variables are unset. This produced the Phase 2 measurements posted on #516.