Skip to content

Commit

Permalink
Add extra logging to build-scripts/build-release.py
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed Dec 7, 2024
1 parent cb0ff12 commit 04d26b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build-scripts/build-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,9 @@ def _build_msvc_msbuild(self, arch_platform: VsArchPlatformConfig, vs: VisualStu
dst.write_bytes(zip_data)

prebuilt_paths = set(self.root / full_prebuilt_path for prebuilt_path in self.release_info["msvc"]["msbuild"].get("prebuilt", []) for full_prebuilt_path in glob.glob(configure_text(prebuilt_path, context=platform_context), root_dir=self.root))
logger.debug("prebuilt_paths=%s", prebuilt_paths)
msbuild_paths = set(self.root / configure_text(f, context=platform_context) for file_mapping in (self.release_info["msvc"]["msbuild"]["files-lib"], self.release_info["msvc"]["msbuild"]["files-devel"]) for files_list in file_mapping.values() for f in files_list)
logger.debug("msbuild_paths=%s", msbuild_paths)
assert prebuilt_paths.issubset(msbuild_paths), f"msvc.msbuild.prebuilt must be a subset of (msvc.msbuild.files-lib, msvc.msbuild.files-devel)"
built_paths = msbuild_paths.difference(prebuilt_paths)
logger.info("MSbuild builds these files, to be included in the package: %s", built_paths)
Expand Down

0 comments on commit 04d26b6

Please sign in to comment.