Save some space during Windows build

pull/1470/head v2.8.5
Piero Toffanin 2022-06-06 13:52:44 -04:00
rodzic 41ad541aa2
commit a83490a2e7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -60,7 +60,6 @@ def vcpkg_requirements():
with open("vcpkg-requirements.txt") as f: with open("vcpkg-requirements.txt") as f:
pckgs = list(filter(lambda l: len(l) > 0, map(str.strip, f.read().split("\n")))) pckgs = list(filter(lambda l: len(l) > 0, map(str.strip, f.read().split("\n"))))
return pckgs return pckgs
def build(): def build():
# Create python virtual env # Create python virtual env
@ -94,6 +93,7 @@ def build():
os.rename(top_dir, "vcpkg") os.rename(top_dir, "vcpkg")
else: else:
print("Warning! Something looks wrong in the VCPKG archive... check the vcpkg/ directory.") print("Warning! Something looks wrong in the VCPKG archive... check the vcpkg/ directory.")
safe_remove("vcpkg-env.zip")
if not os.path.exists(os.path.join("SuperBuild", "build")) or not os.path.exists(os.path.join("SuperBuild", "install")): if not os.path.exists(os.path.join("SuperBuild", "build")) or not os.path.exists(os.path.join("SuperBuild", "install")):
print("Compiling SuperBuild") print("Compiling SuperBuild")