mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 09:15:21 +00:00
nix build script add occt 7.9.1 patch
This commit is contained in:
+3
-1
@@ -348,7 +348,6 @@ if any(f.startswith("occt-") for f in flags):
|
|||||||
OCCT_VERSION = next(f.split('-', 1)[1] for f in flags if f.startswith("occt-"))
|
OCCT_VERSION = next(f.split('-', 1)[1] for f in flags if f.startswith("occt-"))
|
||||||
|
|
||||||
print(OCCT_VERSION)
|
print(OCCT_VERSION)
|
||||||
exit()
|
|
||||||
|
|
||||||
if explicit_targets:
|
if explicit_targets:
|
||||||
targets = {dep for target in explicit_targets for dep in gather_dependencies(target)}
|
targets = {dep for target in explicit_targets for dep in gather_dependencies(target)}
|
||||||
@@ -889,6 +888,9 @@ if USE_OCCT and "occ" in targets:
|
|||||||
if OCCT_VERSION == "7.8.1":
|
if OCCT_VERSION == "7.8.1":
|
||||||
patches.append("./patches/occt/no_ExpToCasExe_7_8_1.patch")
|
patches.append("./patches/occt/no_ExpToCasExe_7_8_1.patch")
|
||||||
|
|
||||||
|
if OCCT_VERSION == "7.9.1":
|
||||||
|
patches.append("./patches/occt/no_ExpToCasExe_7_9_1.patch")
|
||||||
|
|
||||||
if "wasm" in flags:
|
if "wasm" in flags:
|
||||||
patches.append("./patches/occt/no_em_js.patch")
|
patches.append("./patches/occt/no_em_js.patch")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user