Comments (5)
Hi Tomas,
I have forgotten to update the documentation and the fobos example. For improve "fobos" features, some of its item have been renamed. In the earliest version of fobos you rename the target with "output=..."; in the last version this item has been renamed in "o=...". I am sorry, I update the documentation immediately.
from fobis.
Hi Tomas, I have just uploaded the new documentation with correct syntax of fobos file. Please, note also two other differences with respect older versions:
- the default value of "cflags" has been eliminated;
- the fobos definition of "cflags", "lflags" and "preproc" overload (sum to) rather than override the value passed by means of the command line.
This is because i like to perform test on-the-fly, thus to a baseline fobos options of compilation flags I often sum some particular options by the command line, without the necessity of write a new fobos file. I you do not like such a behavior I can make this optional...
from fobis.
Hi Stefano,
I understand the convenience of having short names for command line use, but I think there should also be verbose names for use in configuration files. Because configuration files are (in part) intended to make it possible to modify a certain build long after it was first was configured (and when the poor-fortran-man has forgotten all the details), it is pretty important that the meaning of the config options are clear from their names.
So I would like it if you could add the long name for output back into the config files.
I don't have a strong opinion about appending command line flags to the configuration file flags, the only case where this would give unexpected results is if you give flags to the compiler by accident. But that seems hard to do, why would you put flags there if you don't want them?
from fobis.
Hi Tomas,
you are right: for the fobos file it is better to have verbose (clear and meaningful) names... tomorrow I will fix this issue.
As the possibility to overload config file options is concerned, I just think that it can be useful. Let us suppose we have made a basic fobos where cflags=-O2 among other options. Now we want to compile in debug mode but we are so lazy that we do not like to write another fobos file. To this purpose, overload cflags rather than override is useful because typing FoBoS.py build -clfags '-C -g' (with the orginal fobos) we finally obtain cflags=-C -g -O2... However, I have already planned to make this feature optional (or to remove it).
Thank you for your help
from fobis.
This seems fine
from fobis.
Related Issues (20)
- Using the preprocessor HOT 2
- Python 3 crash HOT 9
- NAG compiler support HOT 12
- Multiple templates in one mode HOT 1
- configparser.InterpolationSyntaxError: '%' must be followed by '%' HOT 4
- encoding error with Python3.6 (depending on the building env) when building `forbear` HOT 4
- Auto dependency does not include all files HOT 13
- Windows compatible encoding HOT 16
- Failed compilation with python3 HOT 13
- `-J mod` leads to failed compilation using gfortran
- Build not working on multiple PCs HOT 3
- Failing to find correct dependency HOT 4
- argument -compiler: invalid lower value: 'intel' HOT 12
- Add future module as PyPi dependency HOT 11
- [Feature request] Optional pass AR and RANLIB implementation
- Coverage crash HOT 2
- Typo: -oqpenmp HOT 1
- Compilation Issue with forbear library
- release new version on pypi for nvfortran? HOT 2
- Support py3.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 fobis.