Comments (1)
I would lean towards option 1 as being easier to implement in fpm. It just doesn't fetch and build optional dependencies unless specified, and only defines the environment variables for the ones specified.
With option 2, the build process has to be able to make decisions about which source file gets used to satisfy a given module. This requires us to modify/extend our current naming conventions with regards to source file name and module name.
I definitely see the need for such a feature, and I think we should definitely try and tackle this at some point.
from fpm.
Related Issues (20)
- Safely handle parallel/concurrent invocations HOT 4
- Lapack dependency on Windows HOT 1
- Build Release Binaries with openmp HOT 1
- Ifort/ifx has no /O3 optimizations in its fpm release profile
- <ERROR> *cmd_run* Targets error: Unable to find source for module dependency: "try" used by "app\main.f90"
- fpm recompiles the whole project when a line is modified HOT 3
- Unable to use the `mpi` metapackage HOT 8
- With `fpm` 0.9.0 `[[ test ]]` causes an error due to spacing after/before brackets: `error: Missing key for table header` HOT 1
- Incremental Rebuild Failure
- MPI build appears successful but actually excludes MPI HOT 5
- Request support for gfortran + IntelMPI HOT 2
- Latest Xcode update has broken MPI builds on macOS
- Additional intrinsic modules omp_lib_kinds and openacc
- fpm fails to run on macOS M1 HOT 3
- fpm fails at building projects with too many files HOT 2
- [i386] Build error: `Undefined symbols for architecture i386: "_opendir$INODE64"` HOT 5
- CI issue: intel build fails HOT 3
- Clearer and more detailed specification of author and maintainer metadata
- `fpm install` does not copy c/c++ headers to the installation folder HOT 1
- --flag doesn't override the default flags even without --profile HOT 6
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 fpm.