Skip to content

Use pragmas as macros#2205

Merged
albinahlback merged 2 commits into
flintlib:mainfrom
albinahlback:pragmas
Jan 28, 2025
Merged

Use pragmas as macros#2205
albinahlback merged 2 commits into
flintlib:mainfrom
albinahlback:pragmas

Conversation

@albinahlback

@albinahlback albinahlback commented Jan 28, 2025

Copy link
Copy Markdown
Collaborator

This will check what pragmas are available during configure time. Avoids some extra lines of code, and is very flexible.

This should fix #2127

This should enable different compilers to use whatever pragmas they can
use.
This should allow compilation with whatever compiler without any worry
whatsoever for which version the compiler is.
@albinahlback albinahlback merged commit 583c737 into flintlib:main Jan 28, 2025
@albinahlback albinahlback deleted the pragmas branch January 28, 2025 17:53
@fredrik-johansson

Copy link
Copy Markdown
Collaborator

Looks like this broke the build regression test.

@albinahlback

Copy link
Copy Markdown
Collaborator Author

Yeah, very weird. Seems to be that it no longer finds it to be fft_small-compatible. I'll have a look tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Minimal compiler versions

3 participants