1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-08 18:02:05 +03:00

getdeps: use eden prefetch on windows

Summary:
Now that we've deployed the new eden build with globfiles
support, we can enable the use of eden prefetch in the getdeps
build when running inside an EdenFS mount on Windows.

Reviewed By: fanzeyi

Differential Revision: D21692689

fbshipit-source-id: b42e778901976cf0385ec31056c227b2049162dc
This commit is contained in:
Wez Furlong
2020-05-21 22:53:22 -07:00
committed by Facebook GitHub Bot
parent ac4e3c8ff3
commit 955e1bf5d0

View File

@@ -54,10 +54,6 @@ def prefetch_dir_if_eden(dirpath):
so we help accelerate things by performing a prefetch on the so we help accelerate things by performing a prefetch on the
source directory """ source directory """
global PREFETCHED_DIRS global PREFETCHED_DIRS
if is_windows():
# prefetch takes longer than not prefetching our opensource
# projects until we cut over to the new globfiles implementation
return
if dirpath in PREFETCHED_DIRS: if dirpath in PREFETCHED_DIRS:
return return
root = find_eden_root(dirpath) root = find_eden_root(dirpath)