File tree 1 file changed +16
-4
lines changed
1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ def mk_build_dir(arch):
215
215
cmd .append ("cmake -S ." )
216
216
if DOTNET_CORE_ENABLED :
217
217
cmd .append (' -DZ3_BUILD_DOTNET_BINDINGS=ON' )
218
- cmd .append (' -DZ3_INSTALL_DOTNET_BINDINGS=ON' )
218
+ # cmd.append(' -DZ3_INSTALL_DOTNET_BINDINGS=ON')
219
219
if JAVA_ENABLED :
220
220
cmd .append (' -DZ3_BUILD_JAVA_BINDINGS=ON' )
221
221
cmd .append (' -DZ3_INSTALL_JAVA_BINDINGS=ON' )
@@ -273,9 +273,9 @@ def exec_cmds(cmds):
273
273
274
274
275
275
276
- def mk_z3 (arch ):
276
+ def build_z3 (arch ):
277
277
if is_verbose ():
278
- print ("mk z3" )
278
+ print ("build z3" )
279
279
build_dir = get_build_dir (arch )
280
280
if arch == "arm64" :
281
281
arch = "x64_arm64"
@@ -360,6 +360,17 @@ def cp_license(arch):
360
360
mk_dir (path )
361
361
shutil .copy ("LICENSE.txt" , path )
362
362
363
+ def cp_dotnet (arch ):
364
+ if not DOTNET_CORE_ENABLED :
365
+ return
366
+ if is_verbose ():
367
+ print ("copy dotnet" )
368
+ build_dir = get_build_dir (arch )
369
+ dist_dir = get_build_dist_path (arch )
370
+ shutil .copytree (os .path .join (build_dir , "Microsoft.Z3" ),
371
+ os .path .join (dist_dir , "Microsoft.Z3" ),
372
+ dirs_exist_ok = True )
373
+
363
374
def cp_pdb (arch ):
364
375
if is_verbose ():
365
376
print ("copy pdb" )
@@ -372,9 +383,10 @@ def cp_pdb(arch):
372
383
373
384
def build_for_arch (arch ):
374
385
mk_build_dir (arch )
375
- mk_z3 (arch )
386
+ build_z3 (arch )
376
387
cp_license (arch )
377
388
cp_pdb (arch )
389
+ cp_dotnet (arch )
378
390
cp_vs_runtime (arch )
379
391
mk_zip (arch )
380
392
You can’t perform that action at this time.
0 commit comments