aboutsummaryrefslogtreecommitdiffstats
path: root/build/ymake_conf.py
diff options
context:
space:
mode:
authornalpp <nalpp@yandex-team.ru>2022-02-10 16:46:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:46 +0300
commit30d1ef3941e0dc835be7609de5ebee66958f215a (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /build/ymake_conf.py
parent87f3eb38999df2d3c1cb77f8ffb9c52ec9c516fb (diff)
downloadydb-30d1ef3941e0dc835be7609de5ebee66958f215a.tar.gz
Restoring authorship annotation for <nalpp@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/ymake_conf.py')
-rwxr-xr-xbuild/ymake_conf.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/build/ymake_conf.py b/build/ymake_conf.py
index 7593aefdfd..30219eb85e 100755
--- a/build/ymake_conf.py
+++ b/build/ymake_conf.py
@@ -163,8 +163,8 @@ class Platform(object):
))
@property
- def library_path_variables(self):
- return ['LD_LIBRARY_PATH', 'DYLD_LIBRARY_PATH']
+ def library_path_variables(self):
+ return ['LD_LIBRARY_PATH', 'DYLD_LIBRARY_PATH']
def find_in_dict(self, dict_, default=None):
if dict_ is None:
@@ -266,7 +266,7 @@ def to_strings(o):
def emit(key, *value):
print('{0}={1}'.format(key, ' '.join(to_strings(value))))
-
+
def emit_with_comment(comment, key, *value):
print('# {}'.format(comment))
@@ -520,13 +520,13 @@ class Build(object):
if self.build_system == 'distbuild':
emit('DISTBUILD', 'yes')
- elif self.build_system != 'ymake':
+ elif self.build_system != 'ymake':
raise ConfigureError()
- python_bin = preset('BUILD_PYTHON_BIN', '$(PYTHON)/python')
-
- emit('YMAKE_PYTHON', python_bin)
- emit('YMAKE_UNPICKLER', python_bin, '$ARCADIA_ROOT/build/plugins/_unpickler.py')
+ python_bin = preset('BUILD_PYTHON_BIN', '$(PYTHON)/python')
+
+ emit('YMAKE_PYTHON', python_bin)
+ emit('YMAKE_UNPICKLER', python_bin, '$ARCADIA_ROOT/build/plugins/_unpickler.py')
@property
def is_release(self):
@@ -1291,7 +1291,7 @@ class GnuToolchain(Toolchain):
self.platform_projects.append(project)
self.c_flags_platform.append('-B{}/{}'.format(var, bin))
if ldlibs:
- for lib_path in self.build.host.library_path_variables:
+ for lib_path in self.build.host.library_path_variables:
self.env.setdefault(lib_path, []).append('{}/{}'.format(var, ldlibs))
def print_toolchain(self):
@@ -2566,7 +2566,7 @@ class MSVCCompiler(MSVC, Compiler):
emit('DEBUG_INFO_FLAGS', debug_info_flags)
append('C_WARNING_OPTS', c_warnings)
append('CXX_WARNING_OPTS', cxx_warnings)
-
+
if self.build.is_release:
emit('CFLAGS_PER_TYPE', '$CFLAGS_RELEASE')
if self.build.is_debug: