Skip to content

When building KF using -march=x86-64-v3 - #4553

Merged
maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:kf-old-cpu
Sep 26, 2026
Merged

maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:kf-old-cpu

Conversation

@maliberty

Copy link
Copy Markdown
Member

-march=native produced binaries using AVX512 which some users' CPUs don't support. v3 only requires AVX2 which is fairly old.

Fixes #4379

-march=native produced binaries using AVX512 which some users'
CPUs don't support.  v3 only requires AVX2 which is fairly old.

Fixes The-OpenROAD-Project#4379

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
@maliberty maliberty self-assigned this Sep 22, 2026

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the release compilation flags for kepler-formal in build_openroad.sh, replacing -march=native with -march=x86-64-v3. However, this flag requires GCC 11+ or Clang 12+, which will cause compilation failures on systems using older compilers like GCC 8 (supported via devtoolset-8 in the script). It is recommended to dynamically detect compiler support for -march=x86-64-v3 before applying it.

Comment thread build_openroad.sh Resolved
@openroad-ci

openroad-ci commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

🔍 QoR check

Metrics reflect the PR merge build — i.e. what will land on the target branch.

Commit a82452c · Jenkins build #13 · Baseline: build · View build on dashboard

62 design(s) checked — 0 with regression(s), 2 without a comparable baseline.

@maliberty
maliberty merged commit b74a729 into The-OpenROAD-Project:master Sep 26, 2026
11 of 12 checks passed
@maliberty
maliberty deleted the kf-old-cpu branch September 26, 2026 22:13
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.

openroad binary in official openroad/orfs Docker images crashes with SIGILL (illegal instruction) in CTS on any CPU without AVX-512

2 participants