Skip to content

Commit c134670

Browse files
authored
Merge pull request #8543 from donn/fix_cut_abc
rmp/cut: various build fixes
2 parents 2b8f734 + 137297a commit c134670

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/cut/src/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@ target_sources(cut
2727
target_link_libraries(cut
2828
PUBLIC
2929
rsz_lib
30-
libabc
30+
${ABC_LIBRARY}
3131
PRIVATE
3232
odb
3333
dbSta
3434
OpenSTA
3535
dbSta_lib
3636
utl_lib
37-
${ABC_LIBRARY}
3837
)

src/cut/test/cpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ target_link_libraries(CutGTests
88
GTest::gmock
99
dbSta_lib
1010
utl_lib
11-
libabc
11+
${ABC_LIBRARY}
1212
cut
1313
tst
1414
${TCL_LIBRARY}

src/rmp/src/annealing_strategy.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ class AnnealingStrategy : public ResynthesisStrategy
3838
initial_ops_(initial_ops)
3939
{
4040
if (seed) {
41-
random_ = decltype(random_){*seed};
41+
const uint32_t seed_32 = *seed;
42+
random_ = decltype(random_){seed_32};
4243
}
4344
}
4445
void OptimizeDesign(sta::dbSta* sta,

0 commit comments

Comments
 (0)