Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure is insensitive to FCFLAGS #31

Closed
milancurcic opened this issue Jan 29, 2016 · 4 comments
Closed

configure is insensitive to FCFLAGS #31

milancurcic opened this issue Jan 29, 2016 · 4 comments
Labels

Comments

@milancurcic
Copy link
Member

Specifying FCFLAGS when running configure, for example:

$ FCFLAGS=-O3 FC=ifort ./configure

does not affect what flags are being used when running make. In fact, the flags are always -Wall -O0 -C -fbacktrace, which are the gfortran flags hardwired in src/lib/Makefile.am:

# Items needed specifically by autotools
AM_FCFLAGS = -Wall -O0 -C -fbacktrace

Specifying FC works as expected.

@blippy can you look into this at your convenience? Thanks!

@blippy
Copy link

blippy commented Jan 30, 2016

yes. I'll look into it.

@blippy
Copy link

blippy commented Feb 1, 2016

I am discussing this issue over at http://stackoverflow.com/questions/35117315/so-what-is-am-fcflags , if you're interested. The consclusion so far is that I shouldn't set AM_FCFLAGS.

I will investigate further.

@blippy
Copy link

blippy commented Feb 1, 2016

I "think" this is now fixed. I've done my own testing, and it looks OK.

It could definitely use some testing by others though, esp. where other compilers are concerned. I have not been able to perform configuration tests in the presence of alternative compilers.

@milancurcic
Copy link
Member Author

Right, I believe this is fixed, I just forgot to close the issue few days ago. Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants