Skip to content

Fix for #2671 - #2680

Merged
martin-frbg merged 1 commit into
OpenMathLib:developfrom
kavanabhat:aix_makefile_fix
Jun 26, 2020
Merged

martin-frbg merged 1 commit into
OpenMathLib:developfrom
kavanabhat:aix_makefile_fix

Conversation

@kavanabhat

Copy link
Copy Markdown
Contributor

No description provided.

@martin-frbg

Copy link
Copy Markdown
Collaborator

Not sure which version is "better" but I guess this is more robust ? AFAICT the only cases where the preprocessor would dump to stdout occured when it was erroneously invoked on the POWER6 files. I have put my current WIP in #2682 for reference, which builds with gcc/gfortran 7.2 (and the AIX as, as far as I can determine). xlc has an unrelated issue with vector statements

@kavanabhat

Copy link
Copy Markdown
Contributor Author

The fix here would work for AIX on all power platforms. It is generic enough to handle any macros introduced for any platform.

@martin-frbg

Copy link
Copy Markdown
Collaborator

I guess what was confusing me is that the change is (currently) not needed for power8/gcc, but of course that fits in with your original commit back in december, and the problem only occurring when this code path is taken for power6. I'll update my WIP accordingly (still need to figure out how to clean up the assembly for xlc builds following David Edelsohn's pointer)

@martin-frbg
martin-frbg merged commit d199c27 into OpenMathLib:develop Jun 26, 2020
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