3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 13:28:47 +00:00

make dotnet core dist optional

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-11-16 15:14:43 -08:00
parent cfb14c879a
commit 1a5be0f25e

View file

@ -73,6 +73,7 @@ def parse_options():
'force', 'force',
'nojava', 'nojava',
'nodotnet', 'nodotnet',
'dotnetcore',
'dotnet-key=', 'dotnet-key=',
'githash', 'githash',
'nopython' 'nopython'
@ -194,9 +195,8 @@ def mk_dist_dir():
build_path = BUILD_DIR build_path = BUILD_DIR
dist_path = os.path.join(DIST_DIR, get_z3_name()) dist_path = os.path.join(DIST_DIR, get_z3_name())
mk_dir(dist_path) mk_dir(dist_path)
name = get_z3_name()
if DOTNET_CORE_ENABLED: if DOTNET_CORE_ENABLED:
mk_util.DOTNET_CORE_ENABLED = DOTNET_ENABLED mk_util.DOTNET_CORE_ENABLED = True
else: else:
mk_util.DOTNET_ENABLED = DOTNET_ENABLED mk_util.DOTNET_ENABLED = DOTNET_ENABLED
mk_util.DOTNET_KEY_FILE = DOTNET_KEY_FILE mk_util.DOTNET_KEY_FILE = DOTNET_KEY_FILE