-
Notifications
You must be signed in to change notification settings - Fork 34
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
fobs file doesn’t actually build anything #34
Comments
The problem of the broken Makefile and FoBiS.py not building the library still exists, but I figured out the source of the errors when using CMake… there is a gfortran work around that needs to be enabled with Basically you don’t need to pass a user definition to let the source code know which compiler is building it; compilers already include predefined macros to do this. I’ll work up a PR to eliminate this from FLAP which will make it a little bit more robust. |
It is probably fobos to have not up-to-date contents for building the library (in yhe last weeks I build only the drivers). Thanks for the PR. By the next hours I will merge your PR and correct the fobos. |
Got it. The fobos file had still the The new fobos file has the correct extension. P.S. note that the makefile provided is for only Test_Driver program: FoBiS.py does not support the production of makefile for building libraries (a new feature request about this on FoBiS.py is now open). |
Great, thanks so much for fixing this! |
If you are interested, I can try to create a CMake script to compile the FLAP library and executables as two separate targets. This option could coexist with the FoBoS script. What do you think? |
Hi victor, thank you very much. Yes it is useful. P.S. the next week our lib will progress... |
I’m not sure there is a need to maintain an additional build script, but @szaghi thanks for fixing the fobos file. If I had noticed the filename On Fri, Jun 26, 2015 at 7:56 AM victorsndvg notifications@github.com
|
@zbeekman do not worry. Let me know about the |
I’m trying to integrate this with my project but I am having some issues.
If I try to build with fobos nothing happens. I’m not sure if this is an issue with the fobos file or with FoBiS.py:
If I try to build with the included Makefile I get errors: https://gist.github.com/zbeekman/5be2392f0fe05ddcaaa4
If I tell CMake where the
Data_Type_Command_Line_Interface.F90
andIR_Precision.F90
files are and try to let CMake’s dependency resolution handle everything else, I get a catastrophic compiler error with gfortran 5.1:The text was updated successfully, but these errors were encountered: