Skip to content

Commit 132e052

Browse files
committed
Update fypp_deployment.py for modularized bitsets
1 parent aa019f4 commit 132e052

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/fypp_deployment.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ def pre_process_fypp(args):
2525
kwd.append("-DPROJECT_VERSION_MAJOR="+str(args.vmajor))
2626
kwd.append("-DPROJECT_VERSION_MINOR="+str(args.vminor))
2727
kwd.append("-DPROJECT_VERSION_PATCH="+str(args.vpatch))
28+
if args.with_bitsets:
29+
kwd.append("-DWITH_BITSETS=True")
2830
if args.with_qp:
2931
kwd.append("-DWITH_QP=True")
3032
if args.with_xdp:
@@ -133,6 +135,7 @@ def fpm_build(args,unknown):
133135

134136
parser.add_argument("--njob", type=int, default=4, help="Number of parallel jobs for preprocessing")
135137
parser.add_argument("--maxrank",type=int, default=4, help="Set the maximum allowed rank for arrays")
138+
parser.add_argument("--with_bitsets",action='store_true', help="Include WITH_BITSETS in the command")
136139
parser.add_argument("--with_qp",action='store_true', help="Include WITH_QP in the command")
137140
parser.add_argument("--with_xdp",action='store_true', help="Include WITH_XDP in the command")
138141
parser.add_argument("--with_ilp64",action='store_true', help="Include WITH_ILP64 to build 64-bit integer BLAS/LAPACK")

0 commit comments

Comments
 (0)