Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
7d14676
Initial commit
shnikd Jan 26, 2024
29ed42e
Fixes
shnikd Jan 29, 2024
a3e630a
Fixes
shnikd Jan 30, 2024
76efb8a
Fixes
shnikd Jan 30, 2024
a96421d
Fixes
shnikd Jan 31, 2024
19a8b32
Fixes
shnikd Jan 31, 2024
02f6af3
Fixes
shnikd Jan 31, 2024
9041a5d
Fixes
shnikd Feb 1, 2024
5f86a67
Fixes
shnikd Feb 1, 2024
38ee3b1
Fixes
shnikd Feb 1, 2024
2f743ae
Fix TEvPatch behaviour (#1469)
alexvru Jan 31, 2024
cf1f651
Mute some flaky tests (#1466)
CyberROFL Jan 31, 2024
79fd988
KIKIMR-20100: Add background cleaning (#513)
shnikd Jan 31, 2024
c42e778
Remote topic reader tests KIKIMR-20902 (#1451)
CyberROFL Jan 31, 2024
3a78c0d
Make option yaml-config singular for ydbd (#1448)
Enjection Jan 31, 2024
e927914
fix sink test (#1468)
nikvas0 Jan 31, 2024
3194180
Fix param name (#1414)
nikvas0 Jan 31, 2024
d09f2a5
init (#1478)
vitstn Jan 31, 2024
e7ece66
use cache for fetched data compiled result (#1463)
ivanmorozov333 Jan 31, 2024
03e5754
Add cost estimator for NVME disks (#1443)
serbel324 Jan 31, 2024
1f1d945
Fix cdc heartbeats reporting unconfirmed volatile transactions as res…
snaury Jan 31, 2024
189f854
YQ-2744: fix row mode in workload tpch init (#1266)
EgorkaZ Jan 31, 2024
9d8fecd
storage balancer info in hive ui & sensors KIKIMR-2190 (#1200)
vporyadke Jan 31, 2024
9956ca1
Fixed clang14 problem with lambda capture (#1475)
pavelvelikhov Jan 31, 2024
92086b7
Update library increment script
alexv-smirnov Jan 31, 2024
70ffdb7
Intermediate changes
robot-piglet Jan 27, 2024
d5238fd
Switch -w to -Wno-everything on C with GNU compilers
Jan 27, 2024
ada86bd
Support wide strings (and string_views) in Out<> / IOutputStream
georgthegreat Jan 27, 2024
aa2e929
remove -Wno-unused-but-set-variable
Jan 27, 2024
94d0dc1
Intermediate changes
robot-piglet Jan 27, 2024
8157fa0
Drop TEnumIndexedVector
Jan 27, 2024
dfe7363
Intermediate changes
robot-piglet Jan 28, 2024
68205a7
New version of the tld SKIP_CHECK SKIP_REVIEW
Jan 28, 2024
8049efe
Intermediate changes
robot-piglet Jan 29, 2024
a6b7c10
Automatic release build for ymake, os_ymake
Jan 29, 2024
a2b5722
Export module headers to cmake
VestniK Jan 29, 2024
1a52a47
Fix bugs in CUDA libs pruning
Jan 29, 2024
3dd6a21
Move enum_indexed_array from misc to containers
Jan 29, 2024
4894044
Intermediate changes
robot-piglet Jan 30, 2024
fc2b6ed
Enum serialization cmake build fix
VestniK Jan 30, 2024
bff3448
Update vendor/github.com/envoyproxy/go-control-plane to 0.12.0
robot-piglet Jan 30, 2024
ebc8105
Extract log4j version to a variable
Jan 30, 2024
9639111
remove -Wno-implicit-int
Jan 30, 2024
811b2a3
[library/cpp/yt] fix peerdir
Jan 30, 2024
291424a
Set -mno-outline-atomics for modern versions of CLang and GCC to avoi…
andrey-khropov Jan 30, 2024
c968684
Remove trailing whitespace
andrey-khropov Jan 30, 2024
59cfed6
Set conan os.version setting from CMAKE_OSX_DEPLOYMENT_TARGET..
andrey-khropov Jan 30, 2024
402b275
Intermediate changes
robot-piglet Jan 30, 2024
4719289
Add missed #include <type_traits>
4JustMe4 Jan 30, 2024
e4e114f
Fix boost asio config
4JustMe4 Jan 30, 2024
c86831c
Intermediate changes
robot-piglet Jan 31, 2024
80dd0ab
Update libcxxrt to 2023-10-11 03c83f5a57be8c5b1a29a68de5638744f17d28ba
Jan 31, 2024
be40f43
Update library sha
alexv-smirnov Jan 31, 2024
193a27e
[YQ-1997] Support for ReplaceIfExists flag in SchemeShard for Externa…
Alnen Jan 31, 2024
1f96769
Mute some flaky tests (#1481)
CyberROFL Jan 31, 2024
9788cdb
KIKIMR-19522 BTreeIndex Charge Items Limit (#1338)
kungasc Jan 31, 2024
606e50a
Temporarily mute SchemeShard's schema test (#1490)
CyberROFL Jan 31, 2024
bf36715
Method to reply, finish stream and rpc actor. (#1429)
dcherednik Jan 31, 2024
2dad6f8
Add cost estimator for SSD (#1480)
serbel324 Jan 31, 2024
f841d1d
Initial commit
shnikd Jan 31, 2024
f57df65
Fixes
shnikd Jan 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 6 additions & 1 deletion .github/config/muted_ya.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ ydb/core/blobstorage/dsproxy/ut TBlobStorageProxySequenceTest.TestBlock42PutWith
ydb/core/blobstorage/dsproxy/ut_fat TBlobStorageProxyTest.TestBatchedPutRequestDoesNotContainAHugeBlob
ydb/core/blobstorage/pdisk/ut TSectorMap.*
ydb/core/blobstorage/ut_blobstorage/ut_read_only_vdisk ReadOnlyVDisk.TestStorageLoad
ydb/core/blobstorage/ut_blobstorage BlobPatching.PatchBlock42
ydb/core/blobstorage/ut_blobstorage CostMetricsGetBlock4Plus2.TestGet4Plus2BlockRequests10000Inflight1BlobSize1000
ydb/core/blobstorage/ut_blobstorage Defragmentation.DoesItWork
ydb/core/blobstorage/ut_blobstorage SpaceCheckForDiskReassign.*
Expand All @@ -17,6 +16,7 @@ ydb/core/cms/ut_sentinel TSentinelTests.BSControllerCantChangeStatus
ydb/core/persqueue/ut [31/40]*
ydb/core/persqueue/ut TopicSplitMerge.PartitionSplit
ydb/core/persqueue/ut TPersQueueMirrorer.TestBasicRemote
ydb/core/persqueue/ut TPQTest.TestDirectReadHappyWay
ydb/core/quoter/ut QuoterWithKesusTest.PrefetchCoefficient
ydb/core/kafka_proxy/ut KafkaProtocol.CreatePartitionsScenario
ydb/core/kafka_proxy/ut KafkaProtocol.ProduceScenario
Expand Down Expand Up @@ -54,13 +54,18 @@ ydb/library/yql/providers/generic/connector/tests sole*
ydb/library/yql/providers/generic/connector/tests test.py.*
ydb/library/yql/sql/pg/ut PgSqlParsingAutoparam.AutoParamValues_DifferentTypes
ydb/library/yql/tests/sql/dq_file/part* *
ydb/public/sdk/cpp/client/ydb_federated_topic/ut BasicUsage.SimpleHandlers
ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/with_offset_ranges_mode_ut RetryPolicy.RetryWithBatching
ydb/public/sdk/cpp/client/ydb_topic/ut BasicUsage.ConflictingWrites
ydb/public/sdk/cpp/client/ydb_topic/ut BasicUsage.WriteRead
ydb/public/sdk/cpp/client/ydb_topic/ut [0/10]*
ydb/services/datastreams/ut DataStreams.TestGetRecordsStreamWithSingleShard
ydb/services/datastreams/ut DataStreams.TestPutRecordsWithRead
ydb/services/datastreams/ut DataStreams.TestReservedConsumersMetering
ydb/services/datastreams/ut DataStreams.TestReservedStorageMetering
ydb/services/fq/ut_integration Yq_1.*
ydb/services/persqueue_v1/ut/describes_ut TTopicApiDescribes.DescribeTopic
ydb/services/persqueue_v1/ut TPersQueueTest.CheckACLForGrpcWrite
ydb/services/persqueue_v1/ut TPersQueueTest.DirectRead*
ydb/services/persqueue_v1/ut TPersQueueTest.SetupLockSession
ydb/services/persqueue_v1/ut TPersQueueTest.TopicServiceCommitOffsetBadOffsets
Expand Down
4 changes: 2 additions & 2 deletions build/conf/compilers/gnu_compiler.conf
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ elsewhen ($PIE == "yes") {
}

when ($CLANG16 == "yes") {
CFLAGS+=-Wno-array-parameter -Wno-deprecate-lax-vec-conv-all -Wno-unqualified-std-cast-call -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-implicit-function-declaration -Wno-int-conversion -Wno-incompatible-function-pointer-types -Wno-implicit-int -Wno-address-of-packed-member
CFLAGS+=-Wno-array-parameter -Wno-deprecate-lax-vec-conv-all -Wno-unqualified-std-cast-call -Wno-unused-but-set-parameter -Wno-implicit-function-declaration -Wno-int-conversion -Wno-incompatible-function-pointer-types -Wno-address-of-packed-member
}

when ($MSAN_TRACK_ORIGIN == "yes") {
Expand Down Expand Up @@ -88,7 +88,7 @@ when ($NO_WSHADOW == "yes") {
#
# Use -Wno-everything to force warning suppression.
when ($NO_COMPILER_WARNINGS == "yes") {
C_WARNING_OPTS = -w
C_WARNING_OPTS = -Wno-everything
CXX_WARNING_OPTS = -Wno-everything
}
when ($NO_OPTIMIZE == "yes") {
Expand Down
6 changes: 3 additions & 3 deletions build/conf/java.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1564,9 +1564,9 @@ UBERJAR_MANIFEST_TRANSFORMER_ATTRIBUTE_FLAGS=
### Transform manifest.mf for UBERJAR() java programs, set attribute
###
### @see: [UBERJAR](#macro_UBERJAR)
macro UBERJAR_MANIFEST_TRANSFORMER_ATTRIBUTE(Key, Value) {
SET_APPEND(UBERJAR_MANIFEST_TRANSFORMER_ATTRIBUTE_VALUE $ARGS_DELIM $Key : $Value)
SET_APPEND(UBERJAR_MANIFEST_TRANSFORMER_ATTRIBUTE_FLAGS --manifest-attribute ${Key}:${Value})
macro UBERJAR_MANIFEST_TRANSFORMER_ATTRIBUTE(Key, Values...) {
SET_APPEND(UBERJAR_MANIFEST_TRANSFORMER_ATTRIBUTE_VALUE $ARGS_DELIM $Key : $Values)
SET_APPEND(UBERJAR_MANIFEST_TRANSFORMER_ATTRIBUTE_FLAGS --manifest-attribute ${Key}:'${Values}')
}

# tag:java-specific
Expand Down
7 changes: 5 additions & 2 deletions build/export_generators/hardcoded-cmake/cmake/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ endfunction()

function(generate_enum_serilization Tgt Input)
set(opts "")
set(oneval_args INCLUDE_HEADERS)
set(oneval_args INCLUDE_HEADERS GEN_HEADER)
set(multival_args "")
cmake_parse_arguments(ENUM_SERIALIZATION_ARGS
"${opts}"
Expand All @@ -116,14 +116,17 @@ function(generate_enum_serilization Tgt Input)

get_filename_component(BaseName ${Input} NAME)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${BaseName}_serialized.cpp
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${BaseName}_serialized.cpp ${ENUM_SERIALIZATION_ARGS_GEN_HEADER}
COMMAND
${enum_parser_bin}
${Input}
--include-path ${ENUM_SERIALIZATION_ARGS_INCLUDE_HEADERS}
--output ${CMAKE_CURRENT_BINARY_DIR}/${BaseName}_serialized.cpp
DEPENDS ${Input} ${enum_parser_dependency}
)
if (ENUM_SERIALIZATION_ARGS_GEN_HEADER)
set_property(SOURCE ${ENUM_SERIALIZATION_ARGS_GEN_HEADER} PROPERTY GENERATED On)
endif()
target_sources(${Tgt} PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/${BaseName}_serialized.cpp)
endfunction()

Expand Down
20 changes: 11 additions & 9 deletions build/export_generators/hardcoded-cmake/cmake/conan.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,12 @@ macro(_conan_check_system_name)
set(CONAN_SYSTEM_NAME ${CMAKE_SYSTEM_NAME})
if(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
set(CONAN_SYSTEM_NAME Macos)
message(STATUS "CMake-Conan: cmake_osx_deployment_target=${CMAKE_OSX_DEPLOYMENT_TARGET}")
set(_CONAN_SETTING_OS_VERSION ${CMAKE_OSX_DEPLOYMENT_TARGET})
endif()
if(${CMAKE_SYSTEM_NAME} STREQUAL "QNX")
set(CONAN_SYSTEM_NAME Neutrino)
endif()
endif()
set(CONAN_SUPPORTED_PLATFORMS Windows Linux Macos Android iOS FreeBSD WindowsStore WindowsCE watchOS tvOS FreeBSD SunOS AIX Arduino Emscripten Neutrino)
list (FIND CONAN_SUPPORTED_PLATFORMS "${CONAN_SYSTEM_NAME}" _index)
if (${_index} GREATER -1)
Expand Down Expand Up @@ -279,7 +281,7 @@ function(conan_cmake_settings result)
endforeach()

if(NOT _SETTINGS OR ARGUMENTS_PROFILE_AUTO STREQUAL "ALL")
set(ARGUMENTS_PROFILE_AUTO arch build_type compiler compiler.version
set(ARGUMENTS_PROFILE_AUTO arch os.version build_type compiler compiler.version
compiler.runtime compiler.libcxx compiler.toolset)
endif()

Expand All @@ -288,7 +290,7 @@ function(conan_cmake_settings result)
string(REGEX MATCH "[^=]*" MANUAL_SETTING "${ARG}")
message(STATUS "Conan: ${MANUAL_SETTING} was added as an argument. Not using the autodetected one.")
list(REMOVE_ITEM ARGUMENTS_PROFILE_AUTO "${MANUAL_SETTING}")
endforeach()
endforeach()

# Automatic from CMake
foreach(ARG ${ARGUMENTS_PROFILE_AUTO})
Expand Down Expand Up @@ -407,7 +409,7 @@ function(conan_cmake_detect_vs_runtime result)
string(TOUPPER "${build_type}" build_type)
endif()

if (DEFINED CMAKE_MSVC_RUNTIME_LIBRARY)
if (DEFINED CMAKE_MSVC_RUNTIME_LIBRARY)
if(${CMAKE_MSVC_RUNTIME_LIBRARY} STREQUAL MultiThreaded)
set(${result} "MT" PARENT_SCOPE)
elseif(${CMAKE_MSVC_RUNTIME_LIBRARY} STREQUAL MultiThreadedDebug)
Expand Down Expand Up @@ -455,7 +457,7 @@ function(conan_cmake_detect_vs_runtime result)
endfunction()

function(_collect_settings result)
set(ARGUMENTS_PROFILE_AUTO arch build_type compiler compiler.version
set(ARGUMENTS_PROFILE_AUTO arch os.version build_type compiler compiler.version
compiler.runtime compiler.libcxx compiler.toolset
compiler.cppstd)
foreach(ARG ${ARGUMENTS_PROFILE_AUTO})
Expand Down Expand Up @@ -649,12 +651,12 @@ function(conan_cmake_install)
set(NO_IMPORTS --no-imports)
endif()
set(install_args install ${PATH_OR_REFERENCE} ${REFERENCE} ${UPDATE} ${NO_IMPORTS} ${REMOTE} ${LOCKFILE} ${LOCKFILE_OUT} ${LOCKFILE_NODE_ID} ${INSTALL_FOLDER}
${GENERATOR} ${BUILD} ${ENV} ${ENV_HOST} ${ENV_BUILD} ${OPTIONS} ${OPTIONS_HOST} ${OPTIONS_BUILD}
${GENERATOR} ${BUILD} ${ENV} ${ENV_HOST} ${ENV_BUILD} ${OPTIONS} ${OPTIONS_HOST} ${OPTIONS_BUILD}
${PROFILE} ${PROFILE_HOST} ${PROFILE_BUILD} ${SETTINGS} ${SETTINGS_HOST} ${SETTINGS_BUILD} ${CONF})

string(REPLACE ";" " " _install_args "${install_args}")
message(STATUS "Conan executing: ${CONAN_CMD} ${_install_args}")

if(ARGS_OUTPUT_QUIET)
set(OUTPUT_OPT OUTPUT_QUIET)
endif()
Expand Down Expand Up @@ -771,7 +773,7 @@ endmacro()

macro(conan_cmake_run)
conan_parse_arguments(${ARGV})

if(ARGUMENTS_CONFIGURATION_TYPES AND NOT CMAKE_CONFIGURATION_TYPES)
message(WARNING "CONFIGURATION_TYPES should only be specified for multi-configuration generators")
elseif(ARGUMENTS_CONFIGURATION_TYPES AND ARGUMENTS_BUILD_TYPE)
Expand Down Expand Up @@ -849,7 +851,7 @@ macro(conan_check)
if(NOT "${return_code}" STREQUAL "0")
message(FATAL_ERROR "Conan --version failed='${return_code}'")
endif()

if(NOT CONAN_DETECT_QUIET)
string(STRIP "${CONAN_VERSION_OUTPUT}" _CONAN_VERSION_OUTPUT)
message(STATUS "Conan: Version found ${_CONAN_VERSION_OUTPUT}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ if (CMAKE_SYSTEM_PROCESSOR MATCHES "^(i686|x86_64|AMD64)$")
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
string(APPEND _GNU_MARCH_C_CXX_FLAGS " -D_YNDX_LIBUNWIND_ENABLE_EXCEPTION_BACKTRACE")
endif()
elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm64|aarch64)$")
if (CMAKE_SYSTEM_NAME MATCHES "^(Darwin|Linux)$")
# Clang 13+ generates outline atomics by default if '-rtlib=compiler_rt' is specified or system's
# libgcc version is >= 9.3.1 : https://github.com/llvm/llvm-project/commit/c5e7e649d537067dec7111f3de1430d0fc8a4d11
# Disable this behaviour because our build links with contrib/libs/cxxsupp/builtins that does not contain outline atomics yet
string(APPEND _GNU_MARCH_C_CXX_FLAGS " -mno-outline-atomics")
endif()
elseif (ANDROID AND (CMAKE_ANDROID_ARCH_ABI STREQUAL "armeabi-v7a"))
string(APPEND _GNU_MARCH_C_CXX_FLAGS " -mfloat-abi=softfp")
endif()
10 changes: 5 additions & 5 deletions build/external_resources/ymake/public.resources.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"by_platform": {
"darwin": {
"uri": "sbr:5690811210"
"uri": "sbr:5731297588"
},
"darwin-arm64": {
"uri": "sbr:5690798649"
"uri": "sbr:5731298012"
},
"linux": {
"uri": "sbr:5690801853"
"uri": "sbr:5731298871"
},
"linux-aarch64": {
"uri": "sbr:5690800663"
"uri": "sbr:5731297073"
},
"win32-clang-cl": {
"uri": "sbr:5690801745"
"uri": "sbr:5731299437"
}
}
}
10 changes: 5 additions & 5 deletions build/external_resources/ymake/resources.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"by_platform": {
"darwin": {
"uri": "sbr:5690784885"
"uri": "sbr:5731292752"
},
"darwin-arm64": {
"uri": "sbr:5690783084"
"uri": "sbr:5731292924"
},
"linux": {
"uri": "sbr:5690790317"
"uri": "sbr:5731294947"
},
"linux-aarch64": {
"uri": "sbr:5690793726"
"uri": "sbr:5731296385"
},
"win32-clang-cl": {
"uri": "sbr:5690795911"
"uri": "sbr:5731295134"
}
}
}
10 changes: 10 additions & 0 deletions build/mapping.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,34 +178,39 @@
"5622651213": "https://devtools-registry.s3.yandex.net/5622651213",
"5647706426": "https://devtools-registry.s3.yandex.net/5647706426",
"5690811210": "https://devtools-registry.s3.yandex.net/5690811210",
"5731297588": "https://devtools-registry.s3.yandex.net/5731297588",
"5476891477": "https://devtools-registry.s3.yandex.net/5476891477",
"5509369518": "https://devtools-registry.s3.yandex.net/5509369518",
"5550838146": "https://devtools-registry.s3.yandex.net/5550838146",
"5569072879": "https://devtools-registry.s3.yandex.net/5569072879",
"5622657921": "https://devtools-registry.s3.yandex.net/5622657921",
"5647706238": "https://devtools-registry.s3.yandex.net/5647706238",
"5690798649": "https://devtools-registry.s3.yandex.net/5690798649",
"5731298012": "https://devtools-registry.s3.yandex.net/5731298012",
"5476896849": "https://devtools-registry.s3.yandex.net/5476896849",
"5509364024": "https://devtools-registry.s3.yandex.net/5509364024",
"5550826871": "https://devtools-registry.s3.yandex.net/5550826871",
"5569070627": "https://devtools-registry.s3.yandex.net/5569070627",
"5622653964": "https://devtools-registry.s3.yandex.net/5622653964",
"5647708831": "https://devtools-registry.s3.yandex.net/5647708831",
"5690801853": "https://devtools-registry.s3.yandex.net/5690801853",
"5731298871": "https://devtools-registry.s3.yandex.net/5731298871",
"5476895322": "https://devtools-registry.s3.yandex.net/5476895322",
"5509360013": "https://devtools-registry.s3.yandex.net/5509360013",
"5550843115": "https://devtools-registry.s3.yandex.net/5550843115",
"5569095361": "https://devtools-registry.s3.yandex.net/5569095361",
"5622652638": "https://devtools-registry.s3.yandex.net/5622652638",
"5647716154": "https://devtools-registry.s3.yandex.net/5647716154",
"5690800663": "https://devtools-registry.s3.yandex.net/5690800663",
"5731297073": "https://devtools-registry.s3.yandex.net/5731297073",
"5476896707": "https://devtools-registry.s3.yandex.net/5476896707",
"5509388614": "https://devtools-registry.s3.yandex.net/5509388614",
"5550838970": "https://devtools-registry.s3.yandex.net/5550838970",
"5569066861": "https://devtools-registry.s3.yandex.net/5569066861",
"5622653810": "https://devtools-registry.s3.yandex.net/5622653810",
"5647712429": "https://devtools-registry.s3.yandex.net/5647712429",
"5690801745": "https://devtools-registry.s3.yandex.net/5690801745",
"5731299437": "https://devtools-registry.s3.yandex.net/5731299437",
"2980468199": "https://devtools-registry.s3.yandex.net/2980468199",
"5562224408": "https://devtools-registry.s3.yandex.net/5562224408"
},
Expand Down Expand Up @@ -387,34 +392,39 @@
"5622651213": "ymake for darwin",
"5647706426": "ymake for darwin",
"5690811210": "ymake for darwin",
"5731297588": "ymake for darwin",
"5476891477": "ymake for darwin-arm64",
"5509369518": "ymake for darwin-arm64",
"5550838146": "ymake for darwin-arm64",
"5569072879": "ymake for darwin-arm64",
"5622657921": "ymake for darwin-arm64",
"5647706238": "ymake for darwin-arm64",
"5690798649": "ymake for darwin-arm64",
"5731298012": "ymake for darwin-arm64",
"5476896849": "ymake for linux",
"5509364024": "ymake for linux",
"5550826871": "ymake for linux",
"5569070627": "ymake for linux",
"5622653964": "ymake for linux",
"5647708831": "ymake for linux",
"5690801853": "ymake for linux",
"5731298871": "ymake for linux",
"5476895322": "ymake for linux-aarch64",
"5509360013": "ymake for linux-aarch64",
"5550843115": "ymake for linux-aarch64",
"5569095361": "ymake for linux-aarch64",
"5622652638": "ymake for linux-aarch64",
"5647716154": "ymake for linux-aarch64",
"5690800663": "ymake for linux-aarch64",
"5731297073": "ymake for linux-aarch64",
"5476896707": "ymake.exe for win32-clang-cl",
"5509388614": "ymake.exe for win32-clang-cl",
"5550838970": "ymake.exe for win32-clang-cl",
"5569066861": "ymake.exe for win32-clang-cl",
"5622653810": "ymake.exe for win32-clang-cl",
"5647712429": "ymake.exe for win32-clang-cl",
"5690801745": "ymake.exe for win32-clang-cl",
"5731299437": "ymake.exe for win32-clang-cl",
"2980468199": "ytexec for linux",
"5562224408": "ytexec for linux"
},
Expand Down
9 changes: 7 additions & 2 deletions build/scripts/link_exe.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ def compute_arch(arch):
_, ver = arch.split('_', 1)
return 'compute_{}'.format(ver)

libs_to_prune = set(CUDA_LIBRARIES)

# does not contain device code, nothing to prune
libs_to_prune.remove('-lcudart_static')

tmp_names_gen = name_generator('cuda_pruned_libs')

arch_args = []
Expand All @@ -62,10 +67,10 @@ def compute_arch(arch):
flags = []
cuda_deps = set()
for flag in reversed(cmd):
if flag in CUDA_LIBRARIES:
if flag in libs_to_prune:
cuda_deps.add('lib' + flag[2:] + '.a')
flag += '_pruned'
elif flag.startswith('-L') and any(f in cuda_deps for f in os.listdir(flag[2:])):
elif flag.startswith('-L') and os.path.exists(flag[2:]) and os.path.isdir(flag[2:]) and any(f in cuda_deps for f in os.listdir(flag[2:])):
from_dirpath = flag[2:]
from_deps = list(cuda_deps & set(os.listdir(from_dirpath)))

Expand Down
6 changes: 4 additions & 2 deletions build/ymake.core.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,8 @@ CPP_PROGRAM_SEM=add_executable $MODDIR $CMAKE_TARGET_NAME ${hide:TARGET} ${hide:
&& target_link_options PRIVATE $LDFLAGS_GLOBAL_RAW $LDFLAGS $OBJADDE_LIB $OBJADDE_LIB_GLOBAL $OBJADDE \
&& target_include_directories PRIVATE $_C__INCLUDE_OWNED \
&& target_compile_options PRIVATE $USER_CFLAGS $USER_CXXFLAGS $_SEM_EXTRA_CXX_FLAGS \
&& target_compile_options PRIVATE $USER_CFLAGS_GLOBAL_RAW $USER_CXXFLAGS_GLOBAL_RAW
&& target_compile_options PRIVATE $USER_CFLAGS_GLOBAL_RAW $USER_CXXFLAGS_GLOBAL_RAW \
&& target_sources PRIVATE ${MODULE_EXPLICIT_HEADERS}
### @usage: PROGRAM([progname])
###
### Regular program module.
Expand Down Expand Up @@ -1778,7 +1779,8 @@ CPP_LIBRARY_SEM=add_library ${MODDIR} $CMAKE_TARGET_NAME ${hide:TARGET} ${hide:A
&& target_compile_options PRIVATE $USER_CFLAGS $USER_CXXFLAGS $_SEM_EXTRA_CXX_FLAGS \
&& target_compile_options PUBLIC $USER_CFLAGS_GLOBAL_RAW $USER_CXXFLAGS_GLOBAL_RAW \
&& target_link_options INTERFACE $LDFLAGS_GLOBAL_RAW \
&& add_language C && add_language CXX
&& add_language C && add_language CXX \
&& target_sources PRIVATE ${MODULE_EXPLICIT_HEADERS}
CPP_OBJ_LIBRARY_SEM=add_global_library_for ${MODDIR} ${suf=.global:CMAKE_TARGET_NAME} $CMAKE_TARGET_NAME ${hide:GLOBAL_TARGET} ${hide:AUTO_INPUT} \
&& target_include_directories PUBLIC $_C__INCLUDE_GLOBAL \
&& target_include_directories PRIVATE $_C__INCLUDE_OWNED \
Expand Down
7 changes: 5 additions & 2 deletions cmake/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ endfunction()

function(generate_enum_serilization Tgt Input)
set(opts "")
set(oneval_args INCLUDE_HEADERS)
set(oneval_args INCLUDE_HEADERS GEN_HEADER)
set(multival_args "")
cmake_parse_arguments(ENUM_SERIALIZATION_ARGS
"${opts}"
Expand All @@ -116,14 +116,17 @@ function(generate_enum_serilization Tgt Input)

get_filename_component(BaseName ${Input} NAME)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${BaseName}_serialized.cpp
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${BaseName}_serialized.cpp ${ENUM_SERIALIZATION_ARGS_GEN_HEADER}
COMMAND
${enum_parser_bin}
${Input}
--include-path ${ENUM_SERIALIZATION_ARGS_INCLUDE_HEADERS}
--output ${CMAKE_CURRENT_BINARY_DIR}/${BaseName}_serialized.cpp
DEPENDS ${Input} ${enum_parser_dependency}
)
if (ENUM_SERIALIZATION_ARGS_GEN_HEADER)
set_property(SOURCE ${ENUM_SERIALIZATION_ARGS_GEN_HEADER} PROPERTY GENERATED On)
endif()
target_sources(${Tgt} PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/${BaseName}_serialized.cpp)
endfunction()

Expand Down
Loading