Skip to content

Fix build on PPC970 for FreeBSD - #2170

Merged
martin-frbg merged 2 commits into
OpenMathLib:developfrom
pkubaj:patch-1
Jun 30, 2019
Merged

martin-frbg merged 2 commits into
OpenMathLib:developfrom
pkubaj:patch-1

Conversation

@pkubaj

@pkubaj pkubaj commented Jun 28, 2019

Copy link
Copy Markdown
Contributor

PPC970 on FreeBSD needs those macros too.

You could consider testing PPC970 on Linux to simplify this if:
#if defined(POWER3) || defined(POWER6) || defined(PPCG4) || defined(CELL) || defined(POWER8) || defined(POWER9) || ( defined(PPC970) && ( defined(OS_DARWIN) || defined(OS_FREEBSD) ) )

pkubaj added 2 commits June 28, 2019 10:29
FreeBSD needs DCBT_ARG=0 as well.
FreeBSD needs those macros too.
@martin-frbg

Copy link
Copy Markdown
Collaborator

-Thanks.That ifdef does not look any worse than some of the x86_64 ones...

@martin-frbg
martin-frbg merged commit 2f13f04 into OpenMathLib:develop Jun 30, 2019
@martin-frbg martin-frbg added this to the 0.3.7 milestone Jun 30, 2019
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