diff options
Diffstat (limited to 'pkgs/applications/science/electronics/openroad/0001-Fix-string-formatting-in-tests.patch')
-rw-r--r-- | pkgs/applications/science/electronics/openroad/0001-Fix-string-formatting-in-tests.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/applications/science/electronics/openroad/0001-Fix-string-formatting-in-tests.patch b/pkgs/applications/science/electronics/openroad/0001-Fix-string-formatting-in-tests.patch new file mode 100644 index 0000000000000..0332ade17dc70 --- /dev/null +++ b/pkgs/applications/science/electronics/openroad/0001-Fix-string-formatting-in-tests.patch @@ -0,0 +1,53 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Nicolas Benes <nbenes.gh@xandea.de> +Date: Sun, 2 Apr 2023 01:24:51 +0200 +Subject: [PATCH] Fix string formatting in tests + +Hide the decimal point and digits after the decimal point when they are +not needed. + +diff --git a/src/par/test/partition_gcd.ok b/src/par/test/partition_gcd.ok +index 6c40c14..b9a42f6 100644 +--- a/src/par/test/partition_gcd.ok ++++ b/src/par/test/partition_gcd.ok +@@ -9,7 +9,7 @@ + ======================================== + [INFO] Partitioning parameters**** + [PARAM] Number of partitions = 2 +-[PARAM] UBfactor = 1.0 ++[PARAM] UBfactor = 1 + [PARAM] Vertex dimensions = 1 + [PARAM] Hyperedge dimensions = 1 + ======================================== +@@ -118,7 +118,7 @@ After Hyperedge Reduction : num_vertices = 137, num_hyperedges = 251 + [V-Refine] Level 2 :: 207, 301, 154.65254 + [V-Refine] Level 3 :: 312, 370, 154.65254 + [V-Refine] Level 4 :: 469, 451, 154.65254 +-[INFO] V-cycle refinement 1 delta cost 0.0 ++[INFO] V-cycle refinement 1 delta cost 0 + ========================================= + [STATUS] Running FC multilevel coarsening + ========================================= +@@ -133,7 +133,7 @@ After Hyperedge Reduction : num_vertices = 137, num_hyperedges = 251 + [V-Refine] Level 2 :: 207, 301, 154.65254 + [V-Refine] Level 3 :: 312, 370, 154.65254 + [V-Refine] Level 4 :: 469, 451, 154.65254 +-[INFO] V-cycle refinement 2 delta cost 0.0 ++[INFO] V-cycle refinement 2 delta cost 0 + [Cutcost of partition : 154.65254] + [Vertex balance of block_0 : 0.59249 ( 327.17993 ) + [Vertex balance of block_1 : 0.40751 ( 225.03609 ) +diff --git a/src/pdn/test/design_width.ok b/src/pdn/test/design_width.ok +index 381dca1..a102974 100644 +--- a/src/pdn/test/design_width.ok ++++ b/src/pdn/test/design_width.ok +@@ -9,5 +9,5 @@ + [INFO ODB-0130] Created 54 pins. + [INFO ODB-0131] Created 406 components and 1816 component-terminals. + [INFO ODB-0133] Created 361 nets and 1004 connections. +-[ERROR PDN-0185] Insufficient width (14.04 um) to add straps on layer M8 in grid "Core" with total strap width 6.0 um and offset 10.0 um. ++[ERROR PDN-0185] Insufficient width (14.04 um) to add straps on layer M8 in grid "Core" with total strap width 6 um and offset 10 um. + PDN-0185 +-- +2.38.4 + |