@@ -122,11 +122,11 @@ def fpm_build(args,unknown):
122
122
flags = flags + unknown [idx + 1 ]
123
123
#==========================================
124
124
# build with fpm
125
- subprocess .run ([ "fpm build" ] +
126
- [ " --compiler " ] + [ FPM_FC ] +
127
- [ " --c-compiler " ] + [ FPM_CC ] +
128
- [ " --cxx-compiler " ] + [ FPM_CXX ] +
129
- [ " --flag " ] + [ flags ] , shell = True , check = True )
125
+ subprocess .run ("fpm build" +
126
+ " --compiler " + FPM_FC +
127
+ " --c-compiler " + FPM_CC +
128
+ " --cxx-compiler " + FPM_CXX +
129
+ " --flag \" {} \" " . format ( flags ) , shell = True , check = True )
130
130
return
131
131
132
132
if __name__ == "__main__" :
@@ -137,7 +137,7 @@ def fpm_build(args,unknown):
137
137
parser .add_argument ("--vpatch" , type = int , default = 0 , help = "Project Version Patch" )
138
138
139
139
parser .add_argument ("--njob" , type = int , default = 4 , help = "Number of parallel jobs for preprocessing" )
140
- parser .add_argument ("--maxrank" ,type = int , default = 7 , help = "Set the maximum allowed rank for arrays" )
140
+ parser .add_argument ("--maxrank" ,type = int , default = 4 , help = "Set the maximum allowed rank for arrays" )
141
141
parser .add_argument ("--with_qp" ,action = 'store_true' , help = "Include WITH_QP in the command" )
142
142
parser .add_argument ("--with_xdp" ,action = 'store_true' , help = "Include WITH_XDP in the command" )
143
143
parser .add_argument ("--lnumbering" ,action = 'store_true' , help = "Add line numbering in preprocessed files" )
0 commit comments