Skip to content

Commit 34ffecb

Browse files
committed
Make _SRC_f_new / _SRC_f_old provide necessary flags / peerdirs
commit_hash:3cbeee32872c2801499bbaade1a2fcb5fa8556af
1 parent ab79393 commit 34ffecb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build/ymake.core.conf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2583,7 +2583,7 @@ macro TEST_CWD(Arg) {
25832583
### TCMalloc small-but-slow is a a version of TCMalloc that chooses to minimize
25842584
### fragmentation at a *severe* cost to performance. It should be used by
25852585
### applications that have significant memory constraints, but don't need to
2586-
### frequently allocate/free objects.
2586+
### frequently allocate/free objects.
25872587
### - TCMALLOC_NUMA_256K - TCMalloc with 256k pages (usually faster but fragmentation is higher) + NUMA awareness (https://a.yandex-team.ru/arc/trunk/arcadia/contrib/libs/tcmalloc/numa_256k)
25882588
### - TCMALLOC_NUMA_LARGE_PAGES - TCMalloc with large pages (usually faster but fragmentation is higher) + NUMA awareness (https://a.yandex-team.ru/arc/trunk/arcadia/contrib/libs/tcmalloc/numa_large_pages)
25892589
### - TCMALLOC_TC - TCMalloc with 256k pages (usually faster but fragmentation is higher) + huge page awareness + Per-thread mode (https://a.yandex-team.ru/arc/trunk/arcadia/contrib/libs/tcmalloc/no_percpu_cache)
@@ -2592,7 +2592,7 @@ macro TEST_CWD(Arg) {
25922592
### - HU - Huge page allocator by @gulin.
25932593
### - Discussion: https://at.yandex-team.ru/users/gulin/759
25942594
### - Code: https://a.yandex-team.ru/arcadia/library/cpp/malloc/hu
2595-
### - PROFILED_HU - patched HU (https://a.yandex-team.ru/arcadia/library/cpp/malloc/profiled_hu). It is a bit slower but has metrics of memory consumption.
2595+
### - PROFILED_HU - patched HU (https://a.yandex-team.ru/arcadia/library/cpp/malloc/profiled_hu). It is a bit slower but has metrics of memory consumption.
25962596
### - THREAD_PROFILED_HU - patched (special for market) HU (https://a.yandex-team.ru/arcadia/library/cpp/malloc/thread_profiled_hu). It is a bit slower but has metrics of memory consumption.
25972597
### - SYSTEM - Use target system allocator
25982598
### - FAKE - Don't link with any allocator
@@ -3329,12 +3329,14 @@ macro _SRC("ssqls", SRC, SRCFLAGS...) {
33293329
}
33303330

33313331
macro _SRC_f_new(SRC, SRCFLAGS...) {
3332-
.CMD=${FLANG_RESOURCE_GLOBAL}/bin/flang-new -c ${input:SRC} -o ${output;suf=.o:SRC} ${hide;kv:"p FL"} ${hide;kv:"pc light-green"}
3332+
.CMD=${FLANG_RESOURCE_GLOBAL}/bin/flang-new $C_FLAGS_PLATFORM -c ${input:SRC} -o ${output;suf=.o:SRC} ${hide;kv:"p FL"} ${hide;kv:"pc light-green"}
33333333
.PEERDIR=build/platform/flang contrib/libs/llvm/flang-rt
33343334
}
33353335

33363336
macro _SRC_f_old(SRC, SRCFLAGS...) {
33373337
.CMD=$YMAKE_PYTHON ${input:"build/scripts/f2c.py"} -t ${tool:"contrib/tools/f2c"} -c ${input:SRC} -o ${output;suf=.c:SRC} ${hide;output_include:"f2c.h"} ${hide;kv:"p FT"} ${hide;kv:"pc light-green"}
3338+
.PEERDIR=contrib/libs/libf2c
3339+
.ADDINCL=contrib/libs/libf2c
33383340
}
33393341

33403342
### @usage: AR_PLUGIN(plugin_name)
@@ -3369,8 +3371,6 @@ otherwise {
33693371
macro _SRC("f", SRC, SRCFLAGS...) {
33703372
.CMD=$_SRC_FLANG
33713373
.STRUCT_CMD=yes
3372-
.PEERDIR=contrib/libs/libf2c
3373-
.ADDINCL=contrib/libs/libf2c
33743374
}
33753375

33763376
_SRC_CPP_TOOLCHAIN_INFO_PEER=

0 commit comments

Comments
 (0)