aboutsummaryrefslogtreecommitdiffstats
path: root/build/ymake.core.conf
diff options
context:
space:
mode:
authorMikhail Borisov <borisov.mikhail@gmail.com>2022-02-10 16:45:39 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:39 +0300
commita6a92afe03e02795227d2641b49819b687f088f8 (patch)
treef6984a1d27d5a7ec88a6fdd6e20cd5b7693b6ece /build/ymake.core.conf
parentc6dc8b8bd530985bc4cce0137e9a5de32f1087cb (diff)
downloadydb-a6a92afe03e02795227d2641b49819b687f088f8.tar.gz
Restoring authorship annotation for Mikhail Borisov <borisov.mikhail@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'build/ymake.core.conf')
-rw-r--r--build/ymake.core.conf112
1 files changed, 56 insertions, 56 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index 081833998b..62f7fa896a 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -11,7 +11,7 @@ FAKEID=3141592653
SANDBOX_FAKEID=${FAKEID}.7600000
CPP_FAKEID=9107927
GO_FAKEID=9056219
-ANDROID_FAKEID=8821472
+ANDROID_FAKEID=8821472
CLANG_TIDY_FAKEID=8625699
CURDIR=.
@@ -868,8 +868,8 @@ macro _CPP_PROTO_EVLOG_CMD(File) {
# process .proto as .ev
.CMD=$CPP_PROTO_CMDLINE $CPP_EV_OPTS $CPP_PROTO_OUTS ${kv;hide:"p PB"} ${kv;hide:"pc yellow"}
.PEERDIR=library/cpp/eventlog contrib/libs/protobuf
-}
-
+}
+
# tag:proto
macro _CPP_CFGPROTO_CMD(File) {
# keep extension in output just as in EV: this is hard-codeded behaviour of protoc for non-.proto extensions
@@ -1158,10 +1158,10 @@ module _BASE_UNIT: _BARE_UNIT {
otherwise {
MACRO_ALIAS(EVLOG_CMD _CPP_EVLOG_CMD)
MACRO_ALIAS(FBS_CMD _CPP_FLATC_CMD)
- when ($BUILD_PROTO_AS_EVLOG == "yes") {
+ when ($BUILD_PROTO_AS_EVLOG == "yes") {
MACRO_ALIAS(PROTO_CMD _CPP_PROTO_EVLOG_CMD)
- }
- otherwise {
+ }
+ otherwise {
MACRO_ALIAS(PROTO_CMD _CPP_PROTO_CMD)
}
when ($USE_VANILLA_PROTOC == "yes") {
@@ -1209,8 +1209,8 @@ module _BASE_UNIT: _BARE_UNIT {
LDFLAGS+=-static-libubsan
}
"thread" ? {
- PIE=yes
- LDFLAGS+=-static-libtsan
+ PIE=yes
+ LDFLAGS+=-static-libtsan
}
}
}
@@ -1218,8 +1218,8 @@ module _BASE_UNIT: _BARE_UNIT {
when ($HARDENING == "yes") {
when ($CLANG) {
CFLAGS+=-fstack-protector-all -D_hardening_enabled_
- LDFLAGS+=-z relro -z now -z noexecstack
- PIE=yes
+ LDFLAGS+=-z relro -z now -z noexecstack
+ PIE=yes
}
}
@@ -1380,29 +1380,29 @@ macro USE_LINKER_LLD() {
}
COMMON_LINK_SETTINGS=
-LINK_ADDITIONAL_SECTIONS=
-LINK_ADDITIONAL_SECTIONS_COMMAND=
+LINK_ADDITIONAL_SECTIONS=
+LINK_ADDITIONAL_SECTIONS_COMMAND=
when ($COMMON_LINK_SETTINGS == "yes") {
when ($_LINKER_ID == "lld" || $_LINKER_ID == "gold") {
LDFLAGS += -Wl,--gdb-index
}
- when ($EMBED_LINKER_CREF == "yes") {
+ when ($EMBED_LINKER_CREF == "yes") {
LDFLAGS+=-Wl,--cref ${tmp;stdout;pre=$MODULE_PREFIX;suf=.ldcref:REALPRJNAME} -Wl,--no-demangle
LINK_ADDITIONAL_SECTIONS+=--add-section=.ya.linker_cref=${tmp;pre=$MODULE_PREFIX;suf=.ldcref:REALPRJNAME}
}
- elsewhen ($DUMP_LINKER_CREF == "yes") {
+ elsewhen ($DUMP_LINKER_CREF == "yes") {
LDFLAGS+=-Wl,--cref ${output;stdout;pre=$MODULE_PREFIX;suf=.ldcref:REALPRJNAME} -Wl,--no-demangle
- }
+ }
- when ($EMBED_LINKER_MAP == "yes") {
+ when ($EMBED_LINKER_MAP == "yes") {
LDFLAGS+=-Wl,-Map=${tmp;pre=$MODULE_PREFIX;suf=.map.$_LINKER_ID:REALPRJNAME}
LINK_ADDITIONAL_SECTIONS+=--add-section=.ya.linker_map.${_LINKER_ID}=${tmp;pre=$MODULE_PREFIX;suf=.map.$_LINKER_ID:REALPRJNAME}
}
- elsewhen ($DUMP_LINKER_MAP == "yes") {
+ elsewhen ($DUMP_LINKER_MAP == "yes") {
LDFLAGS+=-Wl,-Map=${output;rootrel;pre=$MODULE_PREFIX;suf=.map.$_LINKER_ID:REALPRJNAME}
- }
+ }
when ($USE_MKL == "yes") {
NOPLATFORM=yes
@@ -1507,11 +1507,11 @@ when ($COMMON_LINK_SETTINGS == "yes") {
}
}
-when ($EMBED_LINKER_MAP == "yes" || $EMBED_LINKER_CREF == "yes") {
- LINK_ADDITIONAL_SECTIONS_COMMAND+= \
- $OBJCOPY_TOOL $LINK_ADDITIONAL_SECTIONS $TARGET
-}
-
+when ($EMBED_LINKER_MAP == "yes" || $EMBED_LINKER_CREF == "yes") {
+ LINK_ADDITIONAL_SECTIONS_COMMAND+= \
+ $OBJCOPY_TOOL $LINK_ADDITIONAL_SECTIONS $TARGET
+}
+
_SO_EXT_FILTER=${ext=.so:PEERS} ${hide;late_out;nopath;ext=.so;pre=$BINDIR/:PEERS}
when ($OS_WINDOWS == "yes") {
_SO_EXT_FILTER=${ext=.dll:PEERS} ${hide;late_out;nopath;ext=.dll;pre=$BINDIR/:PEERS}
@@ -1623,7 +1623,7 @@ module _BASE_PROGRAM: _LINK_UNIT {
MODULE_SUFFIX=.tidyjson
}
- when ($MSVC != "yes" && $NOPLATFORM != "yes" && $WITH_VALGRIND != "yes" && $USE_ASMLIB != "no" && $MIC_ARCH != "yes" && $PIC != "yes" && $PIE != "yes") {
+ when ($MSVC != "yes" && $NOPLATFORM != "yes" && $WITH_VALGRIND != "yes" && $USE_ASMLIB != "no" && $MIC_ARCH != "yes" && $PIC != "yes" && $PIE != "yes") {
PEERDIR+=contrib/libs/asmlib
}
@@ -1798,30 +1798,30 @@ module PYCR_PROGRAM: PY3_PROGRAM_BIN {
### @usage: EXPORTS_SCRIPT(exports_file)
###
-### Specify exports script within PROGRAM, DLL and DLL-derived modules.
+### Specify exports script within PROGRAM, DLL and DLL-derived modules.
### This accepts 2 kind of files: .exports with <lang symbol> pairs and JSON-line .symlist files.
-### The other option use EXPORTS parameter of the DLL module itself.
+### The other option use EXPORTS parameter of the DLL module itself.
###
### @see: [DLL](#module_DLL)
macro EXPORTS_SCRIPT(Arg) {
SET(EXPORTS_FILE $Arg)
}
-### @usage: NO_EXPORT_DYNAMIC_SYMBOLS()
-###
-### Disable exporting all non-hidden symbols as dynamic when linking a PROGRAM.
-macro NO_EXPORT_DYNAMIC_SYMBOLS() {
- ENABLE(NO_EXPORT_DYNAMIC_SYMBOLS)
-}
-
-### @usage: EXPORT_ALL_DYNAMIC_SYMBOLS()
-###
-### Export all non-hidden symbols as dynamic when linking a PROGRAM.
-macro EXPORT_ALL_DYNAMIC_SYMBOLS() {
- # Dummy: default behaviour
- ENABLE(EXPORT_ALL_DYNAMIC_SYMBOLS)
-}
-
+### @usage: NO_EXPORT_DYNAMIC_SYMBOLS()
+###
+### Disable exporting all non-hidden symbols as dynamic when linking a PROGRAM.
+macro NO_EXPORT_DYNAMIC_SYMBOLS() {
+ ENABLE(NO_EXPORT_DYNAMIC_SYMBOLS)
+}
+
+### @usage: EXPORT_ALL_DYNAMIC_SYMBOLS()
+###
+### Export all non-hidden symbols as dynamic when linking a PROGRAM.
+macro EXPORT_ALL_DYNAMIC_SYMBOLS() {
+ # Dummy: default behaviour
+ ENABLE(EXPORT_ALL_DYNAMIC_SYMBOLS)
+}
+
### @usage: CUSTOM_LINK_STEP_SCRIPT(name)
###
### Specifies name of a script for custom link step. The scripts
@@ -1874,8 +1874,8 @@ module YT_UNITTEST: _BASE_UNITTEST {
### Generic unit test module.
module UNITTEST_WITH_CUSTOM_ENTRY_POINT: _BASE_UNITTEST {
ADD_YTEST($MODULE_PREFIX$REALPRJNAME unittest.py)
-}
-
+}
+
# tag:cpp-specific tag:test
### @usage: GTEST([name])
###
@@ -5342,14 +5342,14 @@ when ($STRIP == "yes" && $NO_STRIP != "yes") {
GO_LINK_FLAGS_VALUE+=-s
}
-when ($NO_LINKER_DCE != "yes") {
- DCE_FLAG=$LD_DCE_FLAG
-}
-
-when ($BT_MINSIZEREL == "yes" || $LINKER_ICF == "yes") {
- ICF_FLAG=$LD_ICF_FLAG
-}
+when ($NO_LINKER_DCE != "yes") {
+ DCE_FLAG=$LD_DCE_FLAG
+}
+when ($BT_MINSIZEREL == "yes" || $LINKER_ICF == "yes") {
+ ICF_FLAG=$LD_ICF_FLAG
+}
+
OBJCOPY_TOOL=$OBJCOPY_TOOL_VENDOR
STRIP_TOOL=$STRIP_TOOL_VENDOR
NEED_BINUTILS_PEERDIR=
@@ -5713,11 +5713,11 @@ macro ADDINCLSELF(FOR="") {
COMPILE_OUT_SUFFIX=
_COMPILE_OUTPUTS=${output;suf=${COMPILE_OUT_SUFFIX}${OBJECT_SUF}:SRC}
-_COMPILE_TIME_TRACE_OUTPUTS=${output;noauto;suf=${COMPILE_OUT_SUFFIX}${OBJECT_SUF}.time_trace.json:SRC}
+_COMPILE_TIME_TRACE_OUTPUTS=${output;noauto;suf=${COMPILE_OUT_SUFFIX}${OBJECT_SUF}.time_trace.json:SRC}
macro SET_COMPILE_OUTPUTS_MODIFIERS(NOREL?";norel":"") {
SET(_COMPILE_OUTPUTS \${output;suf=\${OBJECT_SUF}$NOREL:SRC})
- SET(_COMPILE_TIME_TRACE_OUTPUTS \${output;noauto;suf=\${OBJECT_SUF}.time_trace.json$NOREL:SRC})
+ SET(_COMPILE_TIME_TRACE_OUTPUTS \${output;noauto;suf=\${OBJECT_SUF}.time_trace.json$NOREL:SRC})
}
_EMPTY_CMD=
@@ -6384,7 +6384,7 @@ macro _PY3_REGISTER(Func) {
macro _PY_COMPILE_BYTECODE(SrcX, Src, Dst) {
.CMD=$YMAKE_PYTHON ${input:"build/scripts/py_compile.py"} $SrcX ${input:Src} ${output;noauto:Dst.yapyc} ${requirements;hide:PY_REQUIREMENTS} ${kv;hide:"p PY"} ${kv;hide:"pc yellow"}
}
-
+
# tag:python-processing tag:internal
### @usage: _PY3_COMPILE_BYTECODE(SrcX Src) # internal
###
@@ -6450,9 +6450,9 @@ VCS_INFO_DISABLE_CACHE__NO_UID__=
YASM_DEBUG_INFO_DISABLE_CACHE__NO_UID__=
CL_DEBUG_INFO_DISABLE_CACHE__NO_UID__=
CL_MACRO_INFO_DISABLE_CACHE__NO_UID__=
-YASM_DEBUG_INFO=
-CL_DEBUG_INFO=
-CL_MACRO_INFO=
+YASM_DEBUG_INFO=
+CL_DEBUG_INFO=
+CL_MACRO_INFO=
when ($FORCE_VCS_INFO_UPDATE == "yes") {
VCS_INFO_DISABLE_CACHE__NO_UID__=${hide;kv:"disable_cache"}
}