Comments (3)
As far as the build process is concerned, the macro is automatically generated by autoconf. I do not see how this can be changed.
Otherwise - can you supply a simple reproducer?
from fgsl.
I trip the bug with
/home/jsberg/Software/Bmad/bdl-build/fgsl-1.5.0/configure --prefix=/home/jsberg/Software/Bmad/packages-0 --disable-static
The key here is the full path to configure
, which seems to cause it to generate long include paths on the compile line:
gfortran -DHAVE_CONFIG_H -I. -I/home/jsberg/Software/Bmad/bdl-build/fgsl-1.5.0 -I/home/jsberg/Software/Bmad/bdl-build/fgsl-1.5.0 -I. -g -O2 -c -o fgsl.o /home/jsberg/Software/Bmad/bdl-build/fgsl-1.5.0/fgsl.F90
The __FILE__
macro is actually substituted with the full name of the included file by the C preprocessor (not autoconf), which is invoked due to the .F90
extension, and due to the full path to the included file, generates a long line.
This all happened because I had an automated build process that was building FGSL as a dependency to another package, and it chose to use the full path name for the configure command.
The simple fix would be replacing __FILE__
with the corresponding hardcoded filename (all occurrences are in the api
directory, except for one in tests
).
from fgsl.
The upcoming release 1.6.0 has the FILE removed. Closing the issue.
from fgsl.
Related Issues (20)
- GSL 2.2.1 is out... HOT 7
- Undefined reference to cblas upon make check HOT 6
- make check -- all tests failed -- See tests/test-suite.log Please report to [email protected] HOT 2
- pgfortran issue -- failed to compile -- two tests failed HOT 2
- GSL 2.4 is out... HOT 4
- How to compile? HOT 1
- Linking problems against GSL 2.6 on Windows HOT 4
- How to Install properly? HOT 2
- FGSL fails to build against GSL >2.0 HOT 5
- Issue when compiling an example program HOT 3
- [Package Manage] fgsl to support fpm? HOT 4
- versions for Ubuntu 20.04.4 and/or OpenSuSE leap 15.3
- CPU usage issue HOT 6
- add topic tags in About section HOT 1
- nvfortran build: nlfit4 crashes
- ifx build: test in linalg fails HOT 1
- distribution builds are not available anymore HOT 3
- OSX build 1 failure:: gsl: gamma.c:1264 HOT 2
- Compilation failure with GSL 2.1 HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fgsl.