Skip to content

[DRT] Remove param file from flow test - #677

Merged
rovinski merged 2 commits into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:flow_drt_no_param
May 25, 2021
Merged

[DRT] Remove param file from flow test#677
rovinski merged 2 commits into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:flow_drt_no_param

Conversation

@openroad-robot

Copy link
Copy Markdown
Contributor

No description provided.

@rovinski
rovinski marked this pull request as ready for review May 25, 2021 20:22
@rovinski
rovinski requested review from jjcherry56 and maliberty May 25, 2021 20:22

@jjcherry56 jjcherry56 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HURRAY!

@rovinski
rovinski merged commit 89c42b4 into The-OpenROAD-Project:master May 25, 2021
@openroad-robot
openroad-robot deleted the flow_drt_no_param branch May 25, 2021 20:38
eder-matheus pushed a commit that referenced this pull request Jul 27, 2026
hermetic-llvm 0.8.14 enables the cc_toolchain coverage features and declares
gcov / llvm-cov / llvm-profdata as toolchain files (hermeticbuild/hermetic-llvm
#675, fixed by #677), so instrumentation, tool staging into the test sandbox
and LLVM_COV/LLVM_PROFDATA all come from the toolchain.

Remove the hand-rolled instrumentation copts/linkopts, the two --test_env
paths that hardcoded the LLVM release (they broke on every module bump) and
--strategy=TestRunner=local: coverage tests run sandboxed again.

Add --noexperimental_fetch_all_coverage_outputs to work around a rules_cc bug
(dangling `gcov` symlink in each test's raw _coverage tree in llvm mode);
drop it once rules_cc >= 0.2.23 (bazelbuild/rules_cc#795) is released.

0.8.14 still pins LLVM 22.1.8, so the compiler is unchanged.

Verified: `bazelisk coverage --config=coverage -- //src/utl/test:cpp_tests`
passes 4/4 sandboxed, combined lcov report has 1464 DA: lines across 57 files
(all under src/), genhtml renders 39.6% lines / 44.2% functions -- identical
to the numbers from the original coverage config. `bazelisk build //:openroad`
succeeds.

Signed-off-by: SombraSoft <sombrio@sombrasoft.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants