mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
build_win: fix wrong env var bug introduced in bfce5b94
In bfce5b94 by accident I removed `TARGET_ARCH` env variable to `VS_PLATFORM` in `build-all-win.py`, while it wasn't related to build-deps really - this was the variable coming from CI matrix.
This commit is contained in:
@@ -16,7 +16,7 @@ from zipfile import ZipFile
|
|||||||
|
|
||||||
|
|
||||||
def is_arm64() -> bool:
|
def is_arm64() -> bool:
|
||||||
arch = os.environ.get("VS_PLATFORM", "").lower()
|
arch = os.environ.get("TARGET_ARCH", "").lower()
|
||||||
if arch in ("arm64", "aarch64"):
|
if arch in ("arm64", "aarch64"):
|
||||||
return True
|
return True
|
||||||
if arch in ("x64", "amd64", "x86_64"):
|
if arch in ("x64", "amd64", "x86_64"):
|
||||||
|
|||||||
Reference in New Issue
Block a user