mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-07 07:02:53 +03:00
getdeps: log more on windows runs
Reviewed By: WallyYang Differential Revision: D77890305 fbshipit-source-id: 86ecbe6e044ec3846ed895a6711c960259bfc362
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2dc0e3d641
commit
064520b155
@@ -852,6 +852,14 @@ if __name__ == "__main__":
|
|||||||
if cmake is None:
|
if cmake is None:
|
||||||
raise Exception("Failed to find CMake")
|
raise Exception("Failed to find CMake")
|
||||||
|
|
||||||
|
if self.build_opts.is_windows():
|
||||||
|
checkdir = self.src_dir
|
||||||
|
if os.path.exists(checkdir):
|
||||||
|
children = os.listdir(checkdir)
|
||||||
|
print(f"Building from source {checkdir} contents: {children}")
|
||||||
|
else:
|
||||||
|
print(f"Source {checkdir} not found")
|
||||||
|
|
||||||
if reconfigure:
|
if reconfigure:
|
||||||
define_args = self._compute_cmake_define_args(env)
|
define_args = self._compute_cmake_define_args(env)
|
||||||
self._write_build_script(
|
self._write_build_script(
|
||||||
|
@@ -914,6 +914,15 @@ class ArchiveFetcher(Fetcher):
|
|||||||
src = str(src)
|
src = str(src)
|
||||||
t.extractall(src)
|
t.extractall(src)
|
||||||
|
|
||||||
|
if is_windows():
|
||||||
|
subdir = self.manifest.get("build", "subdir")
|
||||||
|
checkdir = src
|
||||||
|
if subdir:
|
||||||
|
checkdir = src + "\\" + subdir
|
||||||
|
if os.path.exists(checkdir):
|
||||||
|
children = os.listdir(checkdir)
|
||||||
|
print(f"Extracted to {checkdir} contents: {children}")
|
||||||
|
|
||||||
with open(self.hash_file, "w") as f:
|
with open(self.hash_file, "w") as f:
|
||||||
f.write(self.sha256)
|
f.write(self.sha256)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user