Skip to content

Makefile.power: allow using power10 instructions#5802

Merged
martin-frbg merged 1 commit intoOpenMathLib:developfrom
pkubaj:patch-3
May 6, 2026
Merged

Makefile.power: allow using power10 instructions#5802
martin-frbg merged 1 commit intoOpenMathLib:developfrom
pkubaj:patch-3

Conversation

@pkubaj
Copy link
Copy Markdown
Contributor

@pkubaj pkubaj commented May 6, 2026

OpenBLAS uses various power9 and power10 instructions and they fail to build with errors like in #4793. Just allow the latest ISA, it will generate the same code, but actually allow the binaries to be assembled.

OpenBLAS uses various power9 and power10 instructions and they fail to build with errors like in OpenMathLib#4793. Just allow the latest ISA, it will generate the same code, but actually allow the binaries to be assembled.
@martin-frbg
Copy link
Copy Markdown
Collaborator

Any minimum LLVM version requirement for this ? ISTR the original problem was specific to BSD

@pkubaj
Copy link
Copy Markdown
Contributor Author

pkubaj commented May 6, 2026

I'm not sure, it certainly works with LLVM 19 that FreeBSD currently uses, but I think it's more about minimum binutils version, since -Wa is being passed to as.

@martin-frbg martin-frbg added this to the 0.3.34 milestone May 6, 2026
@martin-frbg martin-frbg merged commit 3da0ff7 into OpenMathLib:develop May 6, 2026
103 checks passed
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.

2 participants