@@ -42,6 +42,8 @@ def pre_process_fypp(args):
4242 kwd .append ("-DWITH_QP=True" )
4343 if args .with_xdp :
4444 kwd .append ("-DWITH_XDP=True" )
45+ if args .with_ilp64 :
46+ kwd .append ("-DWITH_ILP64=True" )
4547
4648 optparser = fypp .get_option_parser ()
4749 options , leftover = optparser .parse_args (args = kwd )
@@ -140,8 +142,9 @@ def fpm_build(args,unknown):
140142 parser .add_argument ("--maxrank" ,type = int , default = 4 , help = "Set the maximum allowed rank for arrays" )
141143 parser .add_argument ("--with_qp" ,action = 'store_true' , help = "Include WITH_QP in the command" )
142144 parser .add_argument ("--with_xdp" ,action = 'store_true' , help = "Include WITH_XDP in the command" )
145+ parser .add_argument ("--with_ilp64" ,action = 'store_true' , help = "Include WITH_ILP64 to build 64-bit BLAS/LAPACK" )
143146 parser .add_argument ("--lnumbering" ,action = 'store_true' , help = "Add line numbering in preprocessed files" )
144- parser .add_argument ("--deploy_stdlib_fpm" ,action = 'store_true' , help = "create the stdlib-fpm folder" )
147+ parser .add_argument ("--deploy_stdlib_fpm" ,action = 'store_true' , help = "create the stdlib-fpm folder" )
145148 # external libraries arguments
146149 parser .add_argument ("--build" , action = 'store_true' , help = "Build the project" )
147150
@@ -162,4 +165,4 @@ def fpm_build(args,unknown):
162165 #==========================================
163166 # build using fpm
164167 if args .build :
165- fpm_build (args ,unknown )
168+ fpm_build (args ,unknown )
0 commit comments