From 04d26b6572a2bc2ef9a62b366f1efb4cc94bb3b7 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Sat, 7 Dec 2024 03:10:31 +0100 Subject: [PATCH] Add extra logging to build-scripts/build-release.py --- build-scripts/build-release.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-scripts/build-release.py b/build-scripts/build-release.py index 3295c1f8..d37627fe 100755 --- a/build-scripts/build-release.py +++ b/build-scripts/build-release.py @@ -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)