aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorspreis <spreis@yandex-team.com>2024-11-28 07:07:43 +0300
committerspreis <spreis@yandex-team.com>2024-11-28 07:21:17 +0300
commit538bb854fef7775048d22a4623a848e6bc219011 (patch)
treeaaf7c240756b7d82d201531b0f83351bcc81cb66 /build
parentcfdb4b3209284edfbcb39ff8ec7dfc7b86ab0077 (diff)
downloadydb-538bb854fef7775048d22a4623a848e6bc219011.tar.gz
Move user vars to bottom of ymake.conf
commit_hash:0d34bf2a9f8a4fef866e067fd116993ac171df31
Diffstat (limited to 'build')
-rwxr-xr-xbuild/ymake_conf.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/build/ymake_conf.py b/build/ymake_conf.py
index 5a9380c8f7..d21f06eea0 100755
--- a/build/ymake_conf.py
+++ b/build/ymake_conf.py
@@ -786,11 +786,6 @@ class YMake(object):
else:
print('@import "${CONF_ROOT}/conf/coverage_selective_instrumentation.conf"')
- if presets:
- print('# Variables set from command line by -D options')
- for key in sorted(presets):
- emit(key, opts().presets[key])
-
@staticmethod
def _print_conf_content(path):
with open(path, 'r') as fin:
@@ -802,6 +797,13 @@ class YMake(object):
def print_settings(self):
pass
+ def print_epilogue(self):
+ presets = opts().presets
+ if presets:
+ print('# Variables set from command line by -D options')
+ for key in sorted(presets):
+ emit(key, opts().presets[key])
+
class System(object):
def __init__(self, platform):
@@ -2644,6 +2646,7 @@ def main():
build.print_build()
custom_conf.print_epilogue()
+ ymake.print_epilogue()
if __name__ == '__main__':