sonic-swss-common icon indicating copy to clipboard operation
sonic-swss-common copied to clipboard

[azp]: Disable optimization when building

Open theasianpianist opened this issue 2 years ago • 8 comments

Signed-off-by: Lawrence Lee [email protected]

theasianpianist avatar Mar 31 '22 19:03 theasianpianist

/Azp run

theasianpianist avatar Mar 31 '22 20:03 theasianpianist

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Mar 31 '22 20:03 azure-pipelines[bot]

/Azp run

theasianpianist avatar May 26 '22 22:05 theasianpianist

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar May 26 '22 22:05 azure-pipelines[bot]

why to disable optimizations when building ,and you are actually enabling -O1 so you are enabling them, -O0 is disable, why you need this change/

kcudnik avatar Jun 30 '22 10:06 kcudnik

/Azp run

theasianpianist avatar Jul 12 '22 20:07 theasianpianist

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Jul 12 '22 20:07 azure-pipelines[bot]

why to disable optimizations when building ,and you are actually enabling -O1 so you are enabling them, -O0 is disable, why you need this change/

I am trying to check if changing the optimization level affects how code coverage is calculated for SWSS VS tests. -O0 did not improve it, so I'm checking now if -O1 will improve it

theasianpianist avatar Jul 12 '22 20:07 theasianpianist