mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 22:02:21 +00:00
build-all: consider lib64 during examples testing
This commit is contained in:
+6
-1
@@ -1722,7 +1722,12 @@ if not WASM and (
|
|||||||
examples_bin_dir = Path(DEPS_DIR) / "install" / "ifcopenshell" / "bin"
|
examples_bin_dir = Path(DEPS_DIR) / "install" / "ifcopenshell" / "bin"
|
||||||
|
|
||||||
examples_env = os.environ.copy()
|
examples_env = os.environ.copy()
|
||||||
ld_library_paths = ["../lib"]
|
ld_library_paths = [
|
||||||
|
# E.g. Debian.
|
||||||
|
"../lib",
|
||||||
|
# E.g. Rocky.
|
||||||
|
"../lib64",
|
||||||
|
]
|
||||||
if ARGS.occt_shared:
|
if ARGS.occt_shared:
|
||||||
ld_library_paths.append(f"{OCCT_INSTALL_PATH}/lib")
|
ld_library_paths.append(f"{OCCT_INSTALL_PATH}/lib")
|
||||||
examples_env["LD_LIBRARY_PATH"] = os.pathsep.join(ld_library_paths)
|
examples_env["LD_LIBRARY_PATH"] = os.pathsep.join(ld_library_paths)
|
||||||
|
|||||||
Reference in New Issue
Block a user