Ivan Pribec
Ivan Pribec
Just found another use case for submodules (I can provide a pdf copy if needed): > Bader, R. (2006, August). Dynamic polymorphism in Fortran 95: how submodules can help. In...
> Just as an example how the current release build mode could be expressed: > > ```toml > [profile.release] > fast-math = true > optimization = 3 > debug =...
To aid the discussion I have tried to summarize some of the available optimization flags. Note that the specific optimizations will slightly differ between compilers. As a single example, to...
> It seems that a possible next step would be to add automatic support for `pkg-config` and then `cmake` like meson Should this be pursued directly under the roof of...
Personally, I would support having `pkg-config` integrated directly (I mean within the manifest, the `pkg-config` wrapper can be in a separate git project). I have the feeling this could help...
> > > We could probably start a separate fpm project to implement a `pkg-config` wrapper and use it in fpm to separate the two efforts. Maybe this gives birth...
Thanks Carlos for your perspective. It would be great to have a few more opinions on this whole topic. cc @nncarlson @vmagnin @scivision @WardF @marshallward @everythingfunctional
> > > > Back to the original question, there is another approach not mentioned: fpm could search the common system paths itself, such as `/usr/include` for modules, `/usr/lib*/*` for...
I was thinking about something similar lately while reflecting upon https://github.com/fortran-lang/fpm/issues/611. The TOML spec supports multi-line strings (see https://toml.io/en/v1.0.0#string), meaning that you could in principle include a script directly in...
In principle with Lua, you could have the scripts run in a sandbox, e.g. https://stackoverflow.com/questions/1224708/how-can-i-create-a-secure-lua-sandbox If I understand correctly when you load a function you can control the environment the...