We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f5a058 commit a4def72Copy full SHA for a4def72
config/fypp_deployment.py
@@ -80,7 +80,8 @@ def fpm_build(args,unknown):
80
# Filter out the include paths with -I prefix.
81
include_paths = [arg for arg in unknown if arg.startswith("-I")]
82
# Filter out flags
83
- flags = "-cpp "
+ preprocessor = { 'gfortran':'-cpp ' , 'ifort':'-fpp ' , 'ifx':'-fpp ' }
84
+ flags = preprocessor[FPM_FC]
85
for idx, arg in enumerate(unknown):
86
if arg.startswith("--flag"):
87
flags= flags + unknown[idx+1]
0 commit comments