aboutsummaryrefslogtreecommitdiffstats
path: root/build/plugins/pybuild.py
diff options
context:
space:
mode:
authorsay <say@yandex-team.com>2023-07-13 10:26:18 +0300
committersay <say@yandex-team.com>2023-07-13 10:26:18 +0300
commit9f4741d3d4ab7382464d2702a10c1b4e1a32508f (patch)
tree9c5d5f5f7e010da06b6df8ec02027bb21fd4c832 /build/plugins/pybuild.py
parentd316ccc1ba779ac6d0e017e3d90a753bb3466835 (diff)
downloadydb-9f4741d3d4ab7382464d2702a10c1b4e1a32508f.tar.gz
Disable exteded source search for the whole contrib folder
Diffstat (limited to 'build/plugins/pybuild.py')
-rw-r--r--build/plugins/pybuild.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/plugins/pybuild.py b/build/plugins/pybuild.py
index ae30fd897e..3fc8f5e66e 100644
--- a/build/plugins/pybuild.py
+++ b/build/plugins/pybuild.py
@@ -25,6 +25,9 @@ def is_extended_source_search_enabled(path, unit):
return False
if unit.get('NO_EXTENDED_SOURCE_SEARCH') == 'yes':
return False
+ # contrib is unfriendly to extended source search
+ if unit.resolve_arc_path(path).startswith('$S/contrib/'):
+ return False
return True