mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
build-deps: --reuse-boost to support co-existing Release/Debug builds
This commit is contained in:
+3
-2
@@ -265,8 +265,7 @@ def install_boost(
|
|||||||
build_deps_cache.add_entry("BOOST_INSTALL_DIR", str(dependency_install_dir))
|
build_deps_cache.add_entry("BOOST_INSTALL_DIR", str(dependency_install_dir))
|
||||||
|
|
||||||
# NOTE Boost is fast to build with a limited set of libraries, so it's rebuilt by default.
|
# NOTE Boost is fast to build with a limited set of libraries, so it's rebuilt by default.
|
||||||
# TODO: consider reuse_boost and release/debug installations.
|
if reuse_boost and is_already_installed(dependency_install_dir, expected_build_cfg=build_cfg):
|
||||||
if reuse_boost and is_already_installed(dependency_install_dir):
|
|
||||||
return
|
return
|
||||||
|
|
||||||
BOOST_ZIP = f"boost-{BOOST_VERSION}-b2-nodocs.7z"
|
BOOST_ZIP = f"boost-{BOOST_VERSION}-b2-nodocs.7z"
|
||||||
@@ -335,6 +334,8 @@ def install_boost(
|
|||||||
cwd=dependency_dir,
|
cwd=dependency_dir,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
mark_installation(dependency_install_dir, build_cfg)
|
||||||
|
|
||||||
|
|
||||||
def install_opencollada(
|
def install_opencollada(
|
||||||
vs_cfg_vars: VsCfgResult,
|
vs_cfg_vars: VsCfgResult,
|
||||||
|
|||||||
Reference in New Issue
Block a user