| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
* Library import 5, delete go dependencies
* Fix yt client
|
| | |
|
| | |
|
| |
|
|
|
| |
Check the version of the nvcc compiler only if it is used.
Re-enable `[[clang::reinitialized]]` attribute for all other clang-based toolsets.
|
| |
|
|
| |
Fix warnings when compiling with old CUDA SDKs.
|
| | |
|
| |
|
|
|
|
|
| |
Add wrapper for [[clang::lifetimebound]] attribute.
Mark `ToString(TString)` functions with a new attibute.
Preserve rvalue reference type when ToString applied to a temporary string.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
https://clubs.at.yandex-team.ru/arcadia/29404
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
https://clubs.at.yandex-team.ru/arcadia/29404
|
| |
|
|
| |
заметил что в ::NPrivate::Panic и так есть написание трейса
|
| |
|
|
| |
https://clubs.at.yandex-team.ru/arcadia/29404
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
platform
При сборке проектов с ```--sanitize=thread``` под **darwin**, по умолчанию попадет ```util``` и его часть ```system/context.h```, где в случае ```thread_sanitizer_enabled``` выставляется ```USE_UCONTEXT_CONT```, что приводит к использованию [депрекейтнутного](https://opensource.apple.com/source/libplatform/libplatform-125/include/ucontext.h.auto.html) ```<ucontext.h>``` из [macos_sdk](https://a.yandex-team.ru/arcadia/build/platform/macos_sdk/ya.make?rev=rXXXXXX#L6).
Без должных изменений, сборка падает с ошибкой.
```In file included from /Users/hiddenpath/.ya/build/build_root/fnjm/000128/util/all_system_1.cpp:13:
In file included from /Users/hiddenpath/arcadia/util/system/context.cpp:31:
In file included from /Users/hiddenpath/arcadia/util/system/context.h:46:
/Users/hiddenpath/.ya/tools/v4/2088833948/usr/include/ucontext.h:51:2: error: The deprecated ucontext routines require _XOPEN_SOURCE to be defined
#error The deprecated ucontext routines require _XOPEN_SOURCE to be defined
^
In file included from /Users/hiddenpath/.ya/build/build_root/fnjm/000128/util/all_system_1.cpp:13:
In file included from /Users/hiddenpath/arcadia/util/system/context.cpp:31:
/Users/hiddenpath/arcadia/util/system/context.h:68:9: error: use of undeclared identifier 'getcontext'
getcontext(&Ctx_);
^
/Users/hiddenpath/arcadia/util/system/context.h:72:9: error: use of undeclared identifier 'getcontext'
getcontext(&Ctx_);
^
/Users/hiddenpath/arcadia/util/system/context.h:80:9: error: use of undeclared identifier 'makecontext'
makecontext(&Ctx_, (ucontext_func_t)ContextTrampoLine, 1, c.TrampoLine);
^
/Users/hiddenpath/arcadia/util/system/context.h:87:9: error: use of undeclared identifier 'swapcontext'
swapcontext(&Ctx_, &next->Ctx_);
^
5 errors generated.
Failed
|
| | |
|
| |
|
| |
There is no reason now to hide include behind macro: we have sysincls properly working for years
|
| |
|
|
| |
directory does not exist.
|
| | |
|
| | |
|
| | |
|
| |
|
| |
К сожалению, люди успели наплодить переменных и методов c именами i64(), ui64(), поэтому для генеренного кода проще всего оказалось завести несколько type alias arc_ui64 -> ui64, и так далее.
|
| | |
|
| | |
|
| |
|
|
| |
returning double value
|
| | |
|
| | |
|
| | |
|
| |
|
| |
`#define noexcept throw()` is a questionable idea, since replacing `noexcept` with `throw()` in expressions such as `noexcept(true)` results in spectacular compiler errors. We stopped supporting CUDA 8 (and even CUDA 9) long ago, which means we can just get rid of the problematic define.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
nvcc10.1 is unable to compile `[[clang::reinitializes]]` and issues warning as follows:
```
util/generic/ptr.h(194): warning: attribute namespace "clang" is unrecognized
util/generic/ptr.h(201): warning: attribute namespace "clang" is unrecognized
[...]
```
nvcc11 compiles this code without any warnings.
This PRs disable `[[clang::reinitialized]]` when compiling with nvcc10.
|
| | |
|