mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
adapt paths to new distribution
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f7ed4adfbb
commit
9bd8e35581
|
@ -78,8 +78,15 @@ def unpack(packages, symbols, arch):
|
||||||
if symbols:
|
if symbols:
|
||||||
files += ["Microsoft.Z3.pdb", "Microsoft.Z3.xml"]
|
files += ["Microsoft.Z3.pdb", "Microsoft.Z3.xml"]
|
||||||
for b in files:
|
for b in files:
|
||||||
zip_ref.extract(f"{package_dir}/bin/{b}", f"{tmp}")
|
file = f"{package_dir}/bin/{b}"
|
||||||
replace(f"{tmp}/{package_dir}/bin/{b}", f"out/lib/netstandard2.0/{b}")
|
if os.path.exists(file):
|
||||||
|
zip_ref.extract(file, f"{tmp}")
|
||||||
|
replace(f"{tmp}/{package_dir}/bin/{b}", f"out/lib/netstandard2.0/{b}")
|
||||||
|
file = os.path.join(file,"netstandard2.0")
|
||||||
|
if os.path.exists(file):
|
||||||
|
zip_ref.extract(file, f"{tmp}")
|
||||||
|
replace(f"{tmp}/{package_dir}/bin/netstandard2.0/{b}", f"out/lib/netstandard2.0/{b}")
|
||||||
|
|
||||||
|
|
||||||
def mk_targets(source_root):
|
def mk_targets(source_root):
|
||||||
mk_dir("out/build")
|
mk_dir("out/build")
|
||||||
|
|
|
@ -369,9 +369,9 @@ def cp_dotnet(arch):
|
||||||
if is_verbose():
|
if is_verbose():
|
||||||
print("copy dotnet")
|
print("copy dotnet")
|
||||||
build_dir = get_build_dir(arch)
|
build_dir = get_build_dir(arch)
|
||||||
dist_dir = get_build_dist_path(arch)
|
dist_dir = get_bin_dist_path(arch)
|
||||||
shutil.copytree(os.path.join(build_dir, "Microsoft.Z3"),
|
shutil.copytree(os.path.join(build_dir, "Microsoft.Z3"),
|
||||||
os.path.join(dist_dir, "Microsoft.Z3"),
|
dist_dir,
|
||||||
dirs_exist_ok=True)
|
dirs_exist_ok=True)
|
||||||
|
|
||||||
def cp_pdb(arch):
|
def cp_pdb(arch):
|
||||||
|
|
Loading…
Reference in a new issue