Commit dc44f64
fix: strip trailing slash from DESIGN_DIR
$(dir ...) in GNU Make always appends a trailing slash, so
DESIGN_DIR ended up as e.g. ".../chameleon/". When config.mk
files use $(DESIGN_DIR)/gds/file.gds, this produced paths with
"//" instead of "/". Mind-bogglingly, this was the only
difference we could find that caused CI metric failures
(antenna_diodes_count) in PR The-OpenROAD-Project#4080.
Strip the trailing slash with $(patsubst %/,%,...) so that
replacing custom _DIR variables with DESIGN_DIR is a true no-op.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent eaeb822 commit dc44f64
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments