aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /build
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build')
-rw-r--r--build/conf/license.conf2
-rw-r--r--build/external_resources/swift-demangle/ya.make22
-rw-r--r--build/external_resources/ya.make2
-rw-r--r--build/platform/clang/arch.cmake54
-rwxr-xr-xbuild/platform/clang/clang-windows.sh62
-rw-r--r--build/platform/clang/ya.make28
-rw-r--r--build/platform/cuda/ya.make20
-rw-r--r--build/platform/gold/ya.make6
-rw-r--r--build/platform/java/jstyle_lib/ya.make8
-rw-r--r--build/platform/lld/ya.make40
-rw-r--r--build/platform/python/ldflags/ya.make32
-rw-r--r--build/platform/python/ya.make2
-rw-r--r--build/plugins/_common.py22
-rw-r--r--build/plugins/_test_const.py2
-rw-r--r--build/plugins/pybuild.py368
-rw-r--r--build/plugins/res.py62
-rw-r--r--build/plugins/ssqls.py80
-rw-r--r--build/plugins/swig.py52
-rw-r--r--build/plugins/tests/test_ssqls.py46
-rw-r--r--build/plugins/tests/ya.make2
-rw-r--r--build/plugins/ya.make2
-rw-r--r--build/plugins/yql_python_udf.py2
-rw-r--r--build/plugins/ytest.py12
-rw-r--r--build/rules/contrib_deps.policy2
-rw-r--r--build/rules/contrib_restricted.policy4
-rw-r--r--build/scripts/compile_cuda.py46
-rw-r--r--build/scripts/f2c.py64
-rwxr-xr-xbuild/scripts/fetch_from.py90
-rwxr-xr-xbuild/scripts/fetch_from_sandbox.py8
-rw-r--r--build/scripts/gen_py3_reg.py6
-rw-r--r--build/scripts/gen_py_reg.py22
-rw-r--r--build/scripts/link_dyn_lib.py36
-rwxr-xr-xbuild/scripts/py_compile.py14
-rw-r--r--build/scripts/resolve_java_srcs.py2
-rw-r--r--build/scripts/yndexer.py36
-rw-r--r--build/sysincl/darwin.yml14
-rw-r--r--build/sysincl/ibdrv.yml12
-rw-r--r--build/sysincl/intrinsic.yml16
-rw-r--r--build/sysincl/libc-to-musl.yml348
-rw-r--r--build/sysincl/libc-to-nothing.yml12
-rw-r--r--build/sysincl/linux-headers.yml2244
-rw-r--r--build/sysincl/linux-musl.yml2
-rw-r--r--build/sysincl/linux.yml4
-rw-r--r--build/sysincl/misc.yml116
-rw-r--r--build/sysincl/nvidia.yml56
-rw-r--r--build/sysincl/python.yml2
-rw-r--r--build/sysincl/stl-to-libcxx.yml4
-rw-r--r--build/sysincl/stl-to-nothing.yml4
-rw-r--r--build/sysincl/swig.yml550
-rw-r--r--build/sysincl/unsorted.yml10
-rw-r--r--build/ya.conf.json198
-rw-r--r--build/ymake.core.conf398
-rwxr-xr-xbuild/ymake_conf.py172
53 files changed, 2710 insertions, 2710 deletions
diff --git a/build/conf/license.conf b/build/conf/license.conf
index 8aa5036e15..f2fb576b0d 100644
--- a/build/conf/license.conf
+++ b/build/conf/license.conf
@@ -249,7 +249,7 @@ LICENSES_PERMISSIVE= \
IJG \
Intel-Simplified \
ISC \
- JSON \
+ JSON \
Khronos \
Libpbm \
LicenseRef-scancode-bitstream \
diff --git a/build/external_resources/swift-demangle/ya.make b/build/external_resources/swift-demangle/ya.make
index c9ba88bfc6..a0e61214f6 100644
--- a/build/external_resources/swift-demangle/ya.make
+++ b/build/external_resources/swift-demangle/ya.make
@@ -1,12 +1,12 @@
-RESOURCES_LIBRARY()
-
+RESOURCES_LIBRARY()
+
OWNER(orivej dancingelf rodion-m dmitrtol)
-
-DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE(
- SWIFT_DEMANGLE
- sbr:2216593352 FOR LINUX
- sbr:2218209370 FOR DARWIN
- sbr:2218209370 FOR DARWIN-ARM64
-)
-
-END()
+
+DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE(
+ SWIFT_DEMANGLE
+ sbr:2216593352 FOR LINUX
+ sbr:2218209370 FOR DARWIN
+ sbr:2218209370 FOR DARWIN-ARM64
+)
+
+END()
diff --git a/build/external_resources/ya.make b/build/external_resources/ya.make
index 12ed57f573..ba2ae38588 100644
--- a/build/external_resources/ya.make
+++ b/build/external_resources/ya.make
@@ -5,7 +5,7 @@ RECURSE(
antlr4
gradle
maven
- swift-demangle
+ swift-demangle
)
IF (OS_ANDROID)
diff --git a/build/platform/clang/arch.cmake b/build/platform/clang/arch.cmake
index b4017fb999..db0ae243e6 100644
--- a/build/platform/clang/arch.cmake
+++ b/build/platform/clang/arch.cmake
@@ -1,27 +1,27 @@
-# See https://github.com/llvm/llvm-project/blob/master/compiler-rt/cmake/builtin-config-ix.cmake
-
-IF (ARCH_I386 OR ARCH_I686)
- SET(CLANG_ARCH i386)
-ELSEIF (ARCH_X86_64)
- SET(CLANG_ARCH x86_64)
-ELSEIF (ARCH_ARM7 OR ARCH_ARM7_NEON)
- SET(CLANG_ARCH armv7)
-ELSEIF (ARCH_ARM64 OR ARCH_AARCH64)
- IF (OS_DARWIN OR OS_IOS)
- SET(CLANG_ARCH arm64)
- ELSE()
- SET(CLANG_ARCH aarch64)
- ENDIF()
-ELSEIF (ARCH_PPC64LE)
- SET(CLANG_ARCH powerpc64le)
-ELSE()
- MESSAGE(FATAL_ERROR "Unknown architecture")
-ENDIF()
-
-IF (OS_DARWIN)
- SET(CLANG_RT_SUFFIX "_osx")
- SET(CLANG_RT_DLLSUFFIX "_osx_dynamic")
-ELSE()
- SET(CLANG_RT_SUFFIX "-${CLANG_ARCH}")
- SET(CLANG_RT_DLLSUFFIX "-${CLANG_ARCH}")
-ENDIF()
+# See https://github.com/llvm/llvm-project/blob/master/compiler-rt/cmake/builtin-config-ix.cmake
+
+IF (ARCH_I386 OR ARCH_I686)
+ SET(CLANG_ARCH i386)
+ELSEIF (ARCH_X86_64)
+ SET(CLANG_ARCH x86_64)
+ELSEIF (ARCH_ARM7 OR ARCH_ARM7_NEON)
+ SET(CLANG_ARCH armv7)
+ELSEIF (ARCH_ARM64 OR ARCH_AARCH64)
+ IF (OS_DARWIN OR OS_IOS)
+ SET(CLANG_ARCH arm64)
+ ELSE()
+ SET(CLANG_ARCH aarch64)
+ ENDIF()
+ELSEIF (ARCH_PPC64LE)
+ SET(CLANG_ARCH powerpc64le)
+ELSE()
+ MESSAGE(FATAL_ERROR "Unknown architecture")
+ENDIF()
+
+IF (OS_DARWIN)
+ SET(CLANG_RT_SUFFIX "_osx")
+ SET(CLANG_RT_DLLSUFFIX "_osx_dynamic")
+ELSE()
+ SET(CLANG_RT_SUFFIX "-${CLANG_ARCH}")
+ SET(CLANG_RT_DLLSUFFIX "-${CLANG_ARCH}")
+ENDIF()
diff --git a/build/platform/clang/clang-windows.sh b/build/platform/clang/clang-windows.sh
index ca6c7c28ed..73552e62c8 100755
--- a/build/platform/clang/clang-windows.sh
+++ b/build/platform/clang/clang-windows.sh
@@ -1,31 +1,31 @@
-#!/usr/bin/env bash
-set -euo pipefail
-
-version="${1:-11.0.0}"
-major="${version%%.*}"
-
-arcadia="$(cd "$(dirname "${BASH_SOURCE[0]}")"/../../.. && pwd)"
-tmp="${TMPDIR:-/tmp}/clang"
-exe="LLVM-${version}-win64.exe"
-dir="clang-${version}-win"
-tar="${dir}.tar.gz"
-
-set -x
-
-mkdir -p "$tmp"
-cd "$tmp"
-test -e "$exe" || wget "https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${exe}"
-
-rm -rf "$dir"
-mkdir -p "$dir"
-cd "$dir"
-7z x ../"$exe"
-
-"$arcadia"/ya \
- make "$arcadia"/contrib/libs/llvm${major}/tools/{llvm-as,llvm-link,opt} \
- -DNO_DEBUGINFO -r --target-platform=windows --no-src-links -I bin
-
-tar czf "../$tar" *
-
-printf '%q ' ya upload "$tmp/$tar" -d "Clang $version for Windows" --ttl inf --owner BUILD_TOOLS --type CLANG_TOOLKIT --attr platform=win32 --attr "version=$version"
-echo
+#!/usr/bin/env bash
+set -euo pipefail
+
+version="${1:-11.0.0}"
+major="${version%%.*}"
+
+arcadia="$(cd "$(dirname "${BASH_SOURCE[0]}")"/../../.. && pwd)"
+tmp="${TMPDIR:-/tmp}/clang"
+exe="LLVM-${version}-win64.exe"
+dir="clang-${version}-win"
+tar="${dir}.tar.gz"
+
+set -x
+
+mkdir -p "$tmp"
+cd "$tmp"
+test -e "$exe" || wget "https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${exe}"
+
+rm -rf "$dir"
+mkdir -p "$dir"
+cd "$dir"
+7z x ../"$exe"
+
+"$arcadia"/ya \
+ make "$arcadia"/contrib/libs/llvm${major}/tools/{llvm-as,llvm-link,opt} \
+ -DNO_DEBUGINFO -r --target-platform=windows --no-src-links -I bin
+
+tar czf "../$tar" *
+
+printf '%q ' ya upload "$tmp/$tar" -d "Clang $version for Windows" --ttl inf --owner BUILD_TOOLS --type CLANG_TOOLKIT --attr platform=win32 --attr "version=$version"
+echo
diff --git a/build/platform/clang/ya.make b/build/platform/clang/ya.make
index f39b8e9a77..342b928637 100644
--- a/build/platform/clang/ya.make
+++ b/build/platform/clang/ya.make
@@ -4,21 +4,21 @@ LICENSE(BSD-3-Clause)
OWNER(g:contrib)
-IF (CLANG10BC AND CLANG10 AND HOST_OS_LINUX)
- DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE(
- CLANG # Clang 10
- sbr:1871274282 FOR LINUX
- sbr:1844539535 FOR DARWIN
- )
-ELSE()
+IF (CLANG10BC AND CLANG10 AND HOST_OS_LINUX)
+ DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE(
+ CLANG # Clang 10
+ sbr:1871274282 FOR LINUX
+ sbr:1844539535 FOR DARWIN
+ )
+ELSE()
# Remove -std=c++17 flag from LLVM_COMPILE_CXX and CLANG_EMIT_AST_CXX macro when update clang to 11
# DEVTOOLS-7845
- DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE(
- CLANG # Clang 7
- sbr:707372498 FOR LINUX # In 942524429 and 958916803 llvm-link does not run.
- sbr:942053644 FOR DARWIN
- sbr:1006151596 FOR WIN32 # Generated by ./clang-windows.sh 7.1.0
- )
-ENDIF()
+ DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE(
+ CLANG # Clang 7
+ sbr:707372498 FOR LINUX # In 942524429 and 958916803 llvm-link does not run.
+ sbr:942053644 FOR DARWIN
+ sbr:1006151596 FOR WIN32 # Generated by ./clang-windows.sh 7.1.0
+ )
+ENDIF()
END()
diff --git a/build/platform/cuda/ya.make b/build/platform/cuda/ya.make
index 655b8d1a79..3615f682cd 100644
--- a/build/platform/cuda/ya.make
+++ b/build/platform/cuda/ya.make
@@ -16,13 +16,13 @@ IF (USE_ARCADIA_CUDA)
ELSEIF (CUDA_VERSION == "11.3")
DECLARE_EXTERNAL_RESOURCE(CUDA sbr:2213063565) # CUDA Toolkit 11.3.1 for Linux x86-64
ELSEIF (CUDA_VERSION == "11.2")
- DECLARE_EXTERNAL_RESOURCE(CUDA sbr:2073566375) # CUDA Toolkit 11.2.2 for Linux x86-64
- ELSEIF (CUDA_VERSION == "11.1")
+ DECLARE_EXTERNAL_RESOURCE(CUDA sbr:2073566375) # CUDA Toolkit 11.2.2 for Linux x86-64
+ ELSEIF (CUDA_VERSION == "11.1")
DECLARE_EXTERNAL_RESOURCE(CUDA sbr:1882836946) # CUDA Toolkit 11.1.1 for Linux x86-64
ELSEIF (CUDA_VERSION == "11.0")
DECLARE_EXTERNAL_RESOURCE(CUDA sbr:1647896014) # CUDA Toolkit 11.0.2 for Linux x86-64
ELSEIF (CUDA_VERSION == "10.1")
- DECLARE_EXTERNAL_RESOURCE(CUDA sbr:2077988857) # CUDA Toolkit 10.1.168 for Linux x86-64
+ DECLARE_EXTERNAL_RESOURCE(CUDA sbr:2077988857) # CUDA Toolkit 10.1.168 for Linux x86-64
ELSE()
ENABLE(CUDA_NOT_FOUND)
ENDIF()
@@ -125,12 +125,12 @@ IF (USE_ARCADIA_CUDA_HOST_COMPILER)
ELSEIF (HOST_OS_WINDOWS AND HOST_ARCH_X86_64)
IF (OS_WINDOWS AND ARCH_X86_64)
- # To create this toolchain, install MSVS on Windows and run:
- # devtools/tools_build/pack_sdk.py msvc out.tar
- # Note: it will contain patched "VC/Auxiliary/Build/vcvarsall.bat"
- # to prevent "nvcc fatal : Host compiler targets unsupported OS."
+ # To create this toolchain, install MSVS on Windows and run:
+ # devtools/tools_build/pack_sdk.py msvc out.tar
+ # Note: it will contain patched "VC/Auxiliary/Build/vcvarsall.bat"
+ # to prevent "nvcc fatal : Host compiler targets unsupported OS."
IF (CUDA_HOST_MSVC_VERSION == "14.28.29910")
- DECLARE_EXTERNAL_RESOURCE(CUDA_HOST_TOOLCHAIN sbr:2153212401)
+ DECLARE_EXTERNAL_RESOURCE(CUDA_HOST_TOOLCHAIN sbr:2153212401)
ELSE()
MESSAGE(FATAL_ERROR "Unexpected or unspecified Microsoft Visual C++ CUDA host compiler version")
ENDIF()
@@ -187,9 +187,9 @@ IF (CUDA_REQUIRED)
ENDIF()
IF (HOST_OS_WINDOWS)
- LDFLAGS(cudadevrt.lib cudart_static.lib)
+ LDFLAGS(cudadevrt.lib cudart_static.lib)
ELSE()
- EXTRALIBS(-lcudadevrt -lcudart_static -lculibos)
+ EXTRALIBS(-lcudadevrt -lcudart_static -lculibos)
ENDIF()
END()
diff --git a/build/platform/gold/ya.make b/build/platform/gold/ya.make
index 8f7efc64de..91f01602f7 100644
--- a/build/platform/gold/ya.make
+++ b/build/platform/gold/ya.make
@@ -5,8 +5,8 @@ OWNER(somov)
INCLUDE(${ARCADIA_ROOT}/build/platform/binutils/binutils.resource)
LDFLAGS(
- -fuse-ld=$BINUTILS_ROOT_RESOURCE_GLOBAL/bin/ld.gold
- -Wl,-z,noexecstack
-)
+ -fuse-ld=$BINUTILS_ROOT_RESOURCE_GLOBAL/bin/ld.gold
+ -Wl,-z,noexecstack
+)
END()
diff --git a/build/platform/java/jstyle_lib/ya.make b/build/platform/java/jstyle_lib/ya.make
index 10e8f678f8..fa55e63071 100644
--- a/build/platform/java/jstyle_lib/ya.make
+++ b/build/platform/java/jstyle_lib/ya.make
@@ -1,11 +1,11 @@
RESOURCES_LIBRARY()
-
+
OWNER(heretic)
-
-IF (USE_SYSTEM_JSTYLE_LIB)
+
+IF (USE_SYSTEM_JSTYLE_LIB)
MESSAGE(WARNING System java codestyle library $USE_SYSTEM_JSTYLE_LIB will be used)
ELSE()
DECLARE_EXTERNAL_RESOURCE(JSTYLE_LIB sbr:2525400095)
ENDIF()
-
+
END()
diff --git a/build/platform/lld/ya.make b/build/platform/lld/ya.make
index 53565ac969..c046e89098 100644
--- a/build/platform/lld/ya.make
+++ b/build/platform/lld/ya.make
@@ -6,29 +6,29 @@ OWNER(somov)
IF (USE_LTO OR USE_THINLTO)
IF (CLANG7 OR CLANG8)
- # Use LLD 8 for old Clang because its IR code fails LLD 11 validation.
- ENABLE(USE_LLD8)
+ # Use LLD 8 for old Clang because its IR code fails LLD 11 validation.
+ ENABLE(USE_LLD8)
ELSEIF (CLANG11)
# DEVTOOLSSUPPORT-9065
ENABLE(USE_LLD11)
- ENDIF()
-ENDIF()
-
+ ENDIF()
+ENDIF()
+
IF (OS_ANDROID)
- # Use LLD shipped with Android NDK.
+ # Use LLD shipped with Android NDK.
LDFLAGS("-fuse-ld=lld")
-ELSEIF (USE_LLD8)
- IF (HOST_OS_LINUX)
- IF (HOST_ARCH_PPC64LE)
- DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1610790447)
- ELSE()
- DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1063258680)
- ENDIF()
- ELSEIF (HOST_OS_DARWIN)
- DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1063258537)
- ENDIF()
-
- LDFLAGS("-fuse-ld=$LLD_ROOT_RESOURCE_GLOBAL/ld")
+ELSEIF (USE_LLD8)
+ IF (HOST_OS_LINUX)
+ IF (HOST_ARCH_PPC64LE)
+ DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1610790447)
+ ELSE()
+ DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1063258680)
+ ENDIF()
+ ELSEIF (HOST_OS_DARWIN)
+ DECLARE_EXTERNAL_RESOURCE(LLD_ROOT sbr:1063258537)
+ ENDIF()
+
+ LDFLAGS("-fuse-ld=$LLD_ROOT_RESOURCE_GLOBAL/ld")
ELSEIF (USE_LLD11)
IF (HOST_OS_LINUX)
IF (HOST_ARCH_PPC64LE)
@@ -56,7 +56,7 @@ ELSE()
ENDIF()
ENDIF()
- LDFLAGS("-fuse-ld=$LLD_ROOT_RESOURCE_GLOBAL/ld" "-Wl,--no-rosegment")
-ENDIF()
+ LDFLAGS("-fuse-ld=$LLD_ROOT_RESOURCE_GLOBAL/ld" "-Wl,--no-rosegment")
+ENDIF()
END()
diff --git a/build/platform/python/ldflags/ya.make b/build/platform/python/ldflags/ya.make
index 7aa22cda1c..d81ec31876 100644
--- a/build/platform/python/ldflags/ya.make
+++ b/build/platform/python/ldflags/ya.make
@@ -1,17 +1,17 @@
-RESOURCES_LIBRARY()
-
-OWNER(g:contrib)
-
-IF (USE_SYSTEM_PYTHON)
- IF (OS_LINUX)
- LDFLAGS("-L$EXTERNAL_PYTHON_RESOURCE_GLOBAL/python/lib/x86_64-linux-gnu -lpython${PY_VERSION}")
- ELSEIF (OS_DARWIN)
- LDFLAGS("-L$EXTERNAL_PYTHON_RESOURCE_GLOBAL/python/Python.framework/Versions/${PY_FRAMEWORK_VERSION}/lib -lpython${PY_VERSION}")
- ELSEIF (OS_WINDOWS)
- LDFLAGS("/LIBPATH:$EXTERNAL_PYTHON_RESOURCE_GLOBAL/python/libs")
- ENDIF()
-ELSEIF (NOT USE_ARCADIA_PYTHON)
+RESOURCES_LIBRARY()
+
+OWNER(g:contrib)
+
+IF (USE_SYSTEM_PYTHON)
+ IF (OS_LINUX)
+ LDFLAGS("-L$EXTERNAL_PYTHON_RESOURCE_GLOBAL/python/lib/x86_64-linux-gnu -lpython${PY_VERSION}")
+ ELSEIF (OS_DARWIN)
+ LDFLAGS("-L$EXTERNAL_PYTHON_RESOURCE_GLOBAL/python/Python.framework/Versions/${PY_FRAMEWORK_VERSION}/lib -lpython${PY_VERSION}")
+ ELSEIF (OS_WINDOWS)
+ LDFLAGS("/LIBPATH:$EXTERNAL_PYTHON_RESOURCE_GLOBAL/python/libs")
+ ENDIF()
+ELSEIF (NOT USE_ARCADIA_PYTHON)
LDFLAGS($PYTHON_LDFLAGS $PYTHON_LIBRARIES)
-ENDIF()
-
-END()
+ENDIF()
+
+END()
diff --git a/build/platform/python/ya.make b/build/platform/python/ya.make
index 5c162f5dd9..247e65f4c9 100644
--- a/build/platform/python/ya.make
+++ b/build/platform/python/ya.make
@@ -122,7 +122,7 @@ IF (USE_SYSTEM_PYTHON)
IF (PYTHON_NOT_FOUND)
MESSAGE(FATAL_ERROR "No system Python ${USE_SYSTEM_PYTHON} for the selected platform")
ENDIF()
-ELSEIF (NOT USE_ARCADIA_PYTHON)
+ELSEIF (NOT USE_ARCADIA_PYTHON)
CFLAGS(GLOBAL $PYTHON_FLAGS)
IF (OS_WINDOWS)
LDFLAGS($PYTHON_LDFLAGS $PYTHON_LIBRARIES)
diff --git a/build/plugins/_common.py b/build/plugins/_common.py
index 5d276b54d7..2f831a94db 100644
--- a/build/plugins/_common.py
+++ b/build/plugins/_common.py
@@ -115,10 +115,10 @@ def resolve_to_abs_path(path, source_root, build_root):
return path
-def resolve_to_ymake_path(path):
- return resolve_to_abs_path(path, '${ARCADIA_ROOT}', '${ARCADIA_BUILD_ROOT}')
-
-
+def resolve_to_ymake_path(path):
+ return resolve_to_abs_path(path, '${ARCADIA_ROOT}', '${ARCADIA_BUILD_ROOT}')
+
+
def join_intl_paths(*args):
return '/'.join(args)
@@ -135,17 +135,17 @@ def make_tuples(arg_list):
return list(tpl())
-def resolve_includes(unit, src, paths):
- return unit.resolve_include([src] + paths) if paths else []
-
-
+def resolve_includes(unit, src, paths):
+ return unit.resolve_include([src] + paths) if paths else []
+
+
def rootrel_arc_src(src, unit):
if src.startswith('${ARCADIA_ROOT}/'):
return src[16:]
- if src.startswith('${ARCADIA_BUILD_ROOT}/'):
- return src[22:]
-
+ if src.startswith('${ARCADIA_BUILD_ROOT}/'):
+ return src[22:]
+
elif src.startswith('${CURDIR}/'):
return unit.path()[3:] + '/' + src[10:]
diff --git a/build/plugins/_test_const.py b/build/plugins/_test_const.py
index 9cb249ffcd..0d03cc3d17 100644
--- a/build/plugins/_test_const.py
+++ b/build/plugins/_test_const.py
@@ -314,7 +314,7 @@ class _StatusColorMap(object):
'timeout': Highlight.BAD,
'flaky': Highlight.ALTERNATIVE3,
'xfail': Highlight.WARNING,
- 'xpass': Highlight.WARNING,
+ 'xpass': Highlight.WARNING,
'diff': Highlight.BAD,
'internal': Highlight.BAD,
'deselected': Highlight.UNIMPORTANT,
diff --git a/build/plugins/pybuild.py b/build/plugins/pybuild.py
index 7348d0630f..f32a2d39a0 100644
--- a/build/plugins/pybuild.py
+++ b/build/plugins/pybuild.py
@@ -2,20 +2,20 @@ import os
import collections
from hashlib import md5
-import ymake
+import ymake
from _common import stripext, rootrel_arc_src, tobuilddir, listid, resolve_to_ymake_path, generate_chunks, pathid
-
+
YA_IDE_VENV_VAR = 'YA_IDE_VENV'
PY_NAMESPACE_PREFIX = 'py/namespace'
BUILTIN_PROTO = 'builtin_proto'
-def is_arc_src(src, unit):
- return (
- src.startswith('${ARCADIA_ROOT}/') or
- src.startswith('${CURDIR}/') or
- unit.resolve_arc_path(src).startswith('$S/')
- )
+def is_arc_src(src, unit):
+ return (
+ src.startswith('${ARCADIA_ROOT}/') or
+ src.startswith('${CURDIR}/') or
+ unit.resolve_arc_path(src).startswith('$S/')
+ )
def is_extended_source_search_enabled(path, unit):
if not is_arc_src(path, unit):
@@ -24,10 +24,10 @@ def is_extended_source_search_enabled(path, unit):
return False
return True
-def to_build_root(path, unit):
- if is_arc_src(path, unit):
- return '${ARCADIA_BUILD_ROOT}/' + rootrel_arc_src(path, unit)
- return path
+def to_build_root(path, unit):
+ if is_arc_src(path, unit):
+ return '${ARCADIA_BUILD_ROOT}/' + rootrel_arc_src(path, unit)
+ return path
def uniq_suffix(path, unit):
upath = unit.path()
@@ -45,22 +45,22 @@ def pb2_arg(suf, path, mod, unit):
def proto_arg(path, mod, unit):
return '{}.proto={}'.format(stripext(to_build_root(path, unit)), mod)
-
+
def pb_cc_arg(suf, path, unit):
return '{}{suf}'.format(stripext(to_build_root(path, unit)), suf=suf)
def ev_cc_arg(path, unit):
return '{}.ev.pb.cc'.format(stripext(to_build_root(path, unit)))
-def ev_arg(path, mod, unit):
+def ev_arg(path, mod, unit):
return '{}__int___ev_pb2.py={}_ev_pb2'.format(stripext(to_build_root(path, unit)), mod)
-
-def mangle(name):
- if '.' not in name:
- return name
- return ''.join('{}{}'.format(len(s), s) for s in name.split('.'))
-
-
+
+def mangle(name):
+ if '.' not in name:
+ return name
+ return ''.join('{}{}'.format(len(s), s) for s in name.split('.'))
+
+
def parse_pyx_includes(filename, path, source_root, seen=None):
normpath = lambda *x: os.path.normpath(os.path.join(*x))
@@ -115,7 +115,7 @@ def add_python_lint_checks(unit, py_ver, files):
resolved_files = []
for path in files:
resolved = unit.resolve_arc_path([path])
- if resolved.startswith('$S'): # path was resolved as source file.
+ if resolved.startswith('$S'): # path was resolved as source file.
resolved_files.append(resolved)
return resolved_files
@@ -156,18 +156,18 @@ def py_program(unit, py3):
Documentation: https://wiki.yandex-team.ru/devtools/commandsandvars/py_srcs/#modulpyprogramimakrospymain
"""
if py3:
- peers = ['library/python/runtime_py3/main']
- if unit.get('PYTHON_SQLITE3') != 'no':
- peers.append('contrib/tools/python3/src/Modules/_sqlite')
+ peers = ['library/python/runtime_py3/main']
+ if unit.get('PYTHON_SQLITE3') != 'no':
+ peers.append('contrib/tools/python3/src/Modules/_sqlite')
else:
- peers = ['library/python/runtime/main']
- if unit.get('PYTHON_SQLITE3') != 'no':
- peers.append('contrib/tools/python/src/Modules/_sqlite')
- unit.onpeerdir(peers)
- if unit.get('MODULE_TYPE') == 'PROGRAM': # can not check DLL
- unit.onadd_check_py_imports()
-
-
+ peers = ['library/python/runtime/main']
+ if unit.get('PYTHON_SQLITE3') != 'no':
+ peers.append('contrib/tools/python/src/Modules/_sqlite')
+ unit.onpeerdir(peers)
+ if unit.get('MODULE_TYPE') == 'PROGRAM': # can not check DLL
+ unit.onadd_check_py_imports()
+
+
def onpy_srcs(unit, *args):
"""
@usage PY_SRCS({| CYTHON_C} { | TOP_LEVEL | NAMESPACE ns} Files...)
@@ -188,52 +188,52 @@ def onpy_srcs(unit, *args):
PY_REGISTER honors Python2 and Python3 differences and adjusts itself to Python version of a current module
Documentation: https://wiki.yandex-team.ru/arcadia/python/pysrcs/#modulipylibrarypy3libraryimakrospysrcs
"""
- # Each file arg must either be a path, or "${...}/buildpath=modname", where
- # "${...}/buildpath" part will be used as a file source in a future macro,
- # and "modname" will be used as a module name.
+ # Each file arg must either be a path, or "${...}/buildpath=modname", where
+ # "${...}/buildpath" part will be used as a file source in a future macro,
+ # and "modname" will be used as a module name.
- upath = unit.path()[3:]
+ upath = unit.path()[3:]
py3 = is_py3(unit)
py_main_only = unit.get('PROCESS_PY_MAIN_ONLY')
- with_py = not unit.get('PYBUILD_NO_PY')
- with_pyc = not unit.get('PYBUILD_NO_PYC')
+ with_py = not unit.get('PYBUILD_NO_PY')
+ with_pyc = not unit.get('PYBUILD_NO_PYC')
in_proto_library = unit.get('PY_PROTO') or unit.get('PY3_PROTO')
venv = unit.get(YA_IDE_VENV_VAR)
need_gazetteer_peerdir = False
trim = 0
- if not upath.startswith('contrib/tools/python') and not upath.startswith('library/python/runtime') and unit.get('NO_PYTHON_INCLS') != 'yes':
- unit.onpeerdir(['contrib/libs/python'])
+ if not upath.startswith('contrib/tools/python') and not upath.startswith('library/python/runtime') and unit.get('NO_PYTHON_INCLS') != 'yes':
+ unit.onpeerdir(['contrib/libs/python'])
- unit_needs_main = unit.get('MODULE_TYPE') in ('PROGRAM', 'DLL')
- if unit_needs_main:
+ unit_needs_main = unit.get('MODULE_TYPE') in ('PROGRAM', 'DLL')
+ if unit_needs_main:
py_program(unit, py3)
py_namespace_value = unit.get('PY_NAMESPACE_VALUE')
if py_namespace_value == ".":
ns = ""
else:
- ns = (unit.get('PY_NAMESPACE_VALUE') or upath.replace('/', '.')) + '.'
+ ns = (unit.get('PY_NAMESPACE_VALUE') or upath.replace('/', '.')) + '.'
cython_coverage = unit.get('CYTHON_COVERAGE') == 'yes'
- cythonize_py = False
+ cythonize_py = False
optimize_proto = unit.get('OPTIMIZE_PY_PROTOS_FLAG') == 'yes'
- cython_directives = []
+ cython_directives = []
if cython_coverage:
cython_directives += ['-X', 'linetrace=True']
- pyxs_c = []
- pyxs_c_h = []
- pyxs_c_api_h = []
- pyxs_cpp = []
- pyxs = pyxs_cpp
- swigs_c = []
- swigs_cpp = []
- swigs = swigs_cpp
- pys = []
- protos = []
- evs = []
+ pyxs_c = []
+ pyxs_c_h = []
+ pyxs_c_api_h = []
+ pyxs_cpp = []
+ pyxs = pyxs_cpp
+ swigs_c = []
+ swigs_cpp = []
+ swigs = swigs_cpp
+ pys = []
+ protos = []
+ evs = []
fbss = []
py_namespaces = {}
@@ -246,48 +246,48 @@ def onpy_srcs(unit, *args):
dump_name = '{}-{}.dump'.format(pid, tid)
dump_output = open(os.path.join(dump_dir, dump_name), 'a')
- args = iter(args)
- for arg in args:
- # Namespace directives.
- if arg == 'TOP_LEVEL':
- ns = ''
- elif arg == 'NAMESPACE':
- ns = next(args) + '.'
- # Cython directives.
- elif arg == 'CYTHON_C':
- pyxs = pyxs_c
- elif arg == 'CYTHON_C_H':
- pyxs = pyxs_c_h
- elif arg == 'CYTHON_C_API_H':
- pyxs = pyxs_c_api_h
- elif arg == 'CYTHON_CPP':
- pyxs = pyxs_cpp
- elif arg == 'CYTHON_DIRECTIVE':
- cython_directives += ['-X', next(args)]
- elif arg == 'CYTHONIZE_PY':
- cythonize_py = True
- # SWIG.
- elif arg == 'SWIG_C':
- swigs = swigs_c
- elif arg == 'SWIG_CPP':
- swigs = swigs_cpp
- # Unsupported but legal PROTO_LIBRARY arguments.
+ args = iter(args)
+ for arg in args:
+ # Namespace directives.
+ if arg == 'TOP_LEVEL':
+ ns = ''
+ elif arg == 'NAMESPACE':
+ ns = next(args) + '.'
+ # Cython directives.
+ elif arg == 'CYTHON_C':
+ pyxs = pyxs_c
+ elif arg == 'CYTHON_C_H':
+ pyxs = pyxs_c_h
+ elif arg == 'CYTHON_C_API_H':
+ pyxs = pyxs_c_api_h
+ elif arg == 'CYTHON_CPP':
+ pyxs = pyxs_cpp
+ elif arg == 'CYTHON_DIRECTIVE':
+ cython_directives += ['-X', next(args)]
+ elif arg == 'CYTHONIZE_PY':
+ cythonize_py = True
+ # SWIG.
+ elif arg == 'SWIG_C':
+ swigs = swigs_c
+ elif arg == 'SWIG_CPP':
+ swigs = swigs_cpp
+ # Unsupported but legal PROTO_LIBRARY arguments.
elif arg == 'GLOBAL' or not in_proto_library and arg.endswith('.gztproto'):
- pass
+ pass
elif arg == '_MR':
# GLOB support: convert arcadia-root-relative paths to module-relative
# srcs are assumed to start with ${ARCADIA_ROOT}
trim = len(unit.path()) + 14
- # Sources.
- else:
- main_mod = arg == 'MAIN'
- if main_mod:
- arg = next(args)
-
- if '=' in arg:
+ # Sources.
+ else:
+ main_mod = arg == 'MAIN'
+ if main_mod:
+ arg = next(args)
+
+ if '=' in arg:
main_py = False
- path, mod = arg.split('=', 1)
- else:
+ path, mod = arg.split('=', 1)
+ else:
if trim:
arg = arg[trim:]
if arg.endswith('.gztproto'):
@@ -296,11 +296,11 @@ def onpy_srcs(unit, *args):
else:
path = arg
main_py = (path == '__main__.py' or path.endswith('/__main__.py'))
- if not py3 and unit_needs_main and main_py:
- mod = '__main__'
- else:
- if arg.startswith('../'):
- ymake.report_configure_error('PY_SRCS item starts with "../": {!r}'.format(arg))
+ if not py3 and unit_needs_main and main_py:
+ mod = '__main__'
+ else:
+ if arg.startswith('../'):
+ ymake.report_configure_error('PY_SRCS item starts with "../": {!r}'.format(arg))
if arg.startswith('/'):
ymake.report_configure_error('PY_SRCS item starts with "/": {!r}'.format(arg))
continue
@@ -312,47 +312,47 @@ def onpy_srcs(unit, *args):
py_namespaces.setdefault(mod_root_path, set()).add(ns if ns else '.')
mod = ns + mod_name
- if main_mod:
+ if main_mod:
py_main(unit, mod + ":main")
- elif py3 and unit_needs_main and main_py:
+ elif py3 and unit_needs_main and main_py:
py_main(unit, mod)
-
+
if py_main_only:
continue
if py3 and mod == '__main__':
ymake.report_configure_error('TOP_LEVEL __main__.py is not allowed in PY3_PROGRAM')
- pathmod = (path, mod)
+ pathmod = (path, mod)
if dump_output is not None:
dump_output.write('{path}\t{module}\n'.format(path=rootrel_arc_src(path, unit), module=mod))
- if path.endswith('.py'):
- if cythonize_py:
- pyxs.append(pathmod)
- else:
- pys.append(pathmod)
- elif path.endswith('.pyx'):
- pyxs.append(pathmod)
- elif path.endswith('.proto'):
- protos.append(pathmod)
- elif path.endswith('.ev'):
- evs.append(pathmod)
- elif path.endswith('.swg'):
- swigs.append(pathmod)
+ if path.endswith('.py'):
+ if cythonize_py:
+ pyxs.append(pathmod)
+ else:
+ pys.append(pathmod)
+ elif path.endswith('.pyx'):
+ pyxs.append(pathmod)
+ elif path.endswith('.proto'):
+ protos.append(pathmod)
+ elif path.endswith('.ev'):
+ evs.append(pathmod)
+ elif path.endswith('.swg'):
+ swigs.append(pathmod)
# Allow pyi files in PY_SRCS for autocomplete in IDE, but skip it during building
elif path.endswith('.pyi'):
pass
elif path.endswith('.fbs'):
fbss.append(pathmod)
- else:
- ymake.report_configure_error('in PY_SRCS: unrecognized arg {!r}'.format(path))
-
+ else:
+ ymake.report_configure_error('in PY_SRCS: unrecognized arg {!r}'.format(path))
+
if dump_output is not None:
dump_output.close()
- if pyxs:
+ if pyxs:
files2res = set()
# Include map stores files which were included in the processing pyx file,
# to be able to find source code of the included file inside generated file
@@ -385,30 +385,30 @@ def onpy_srcs(unit, *args):
(pyxs_c_h, unit.on_buildwith_cython_c_h, ".c", True),
(pyxs_c_api_h, unit.on_buildwith_cython_c_api_h, ".c", True),
(pyxs_cpp, unit.on_buildwith_cython_cpp_dep, ".cpp", False),
- ]:
- for path, mod in pyxs:
+ ]:
+ for path, mod in pyxs:
filename = rootrel_arc_src(path, unit)
- cython_args = [path]
-
- dep = path
- if path.endswith('.py'):
- pxd = '/'.join(mod.split('.')) + '.pxd'
- if unit.resolve_arc_path(pxd):
- dep = pxd
- cython_args.append(dep)
-
- cython_args += [
- '--module-name', mod,
- '--init-suffix', mangle(mod),
+ cython_args = [path]
+
+ dep = path
+ if path.endswith('.py'):
+ pxd = '/'.join(mod.split('.')) + '.pxd'
+ if unit.resolve_arc_path(pxd):
+ dep = pxd
+ cython_args.append(dep)
+
+ cython_args += [
+ '--module-name', mod,
+ '--init-suffix', mangle(mod),
'--source-root', '${ARCADIA_ROOT}',
# set arcadia root relative __file__ for generated modules
'-X', 'set_initial_path={}'.format(filename),
] + cython_directives
-
- cython(cython_args)
+
+ cython(cython_args)
py_register(unit, mod, py3)
process_pyx(filename, path, out_suffix, noext)
-
+
if files2res:
# Compile original and generated sources into target for proper cython coverage calculation
unit.onresource_files([x for name, path in files2res for x in ('DEST', name, path)])
@@ -420,26 +420,26 @@ def onpy_srcs(unit, *args):
data += ['-', line]
unit.onresource(data)
- for swigs, on_swig_python in [
- (swigs_c, unit.on_swig_python_c),
- (swigs_cpp, unit.on_swig_python_cpp),
- ]:
- for path, mod in swigs:
- # Make output prefix basename match swig module name.
- prefix = path[:path.rfind('/') + 1] + mod.rsplit('.', 1)[-1]
- swg_py = '{}/{}/{}.py'.format('${ARCADIA_BUILD_ROOT}', upath, prefix)
- on_swig_python([path, prefix])
- onpy_register(unit, mod + '_swg')
- onpy_srcs(unit, swg_py + '=' + mod)
-
- if pys:
+ for swigs, on_swig_python in [
+ (swigs_c, unit.on_swig_python_c),
+ (swigs_cpp, unit.on_swig_python_cpp),
+ ]:
+ for path, mod in swigs:
+ # Make output prefix basename match swig module name.
+ prefix = path[:path.rfind('/') + 1] + mod.rsplit('.', 1)[-1]
+ swg_py = '{}/{}/{}.py'.format('${ARCADIA_BUILD_ROOT}', upath, prefix)
+ on_swig_python([path, prefix])
+ onpy_register(unit, mod + '_swg')
+ onpy_srcs(unit, swg_py + '=' + mod)
+
+ if pys:
pys_seen = set()
pys_dups = {m for _, m in pys if (m in pys_seen or pys_seen.add(m))}
if pys_dups:
ymake.report_configure_error('Duplicate(s) is found in the PY_SRCS macro: {}'.format(pys_dups))
- res = []
-
+ res = []
+
if py3:
mod_list_md5 = md5()
for path, mod in pys:
@@ -453,7 +453,7 @@ def onpy_srcs(unit, *args):
dst = path + uniq_suffix(path, unit)
unit.on_py3_compile_bytecode([root_rel_path + '-', path, dst])
res += ['DEST', dest + '.yapyc3', dst + '.yapyc3']
-
+
if py_namespaces:
# Note: Add md5 to key to prevent key collision if two or more PY_SRCS() used in the same ya.make
ns_res = []
@@ -468,18 +468,18 @@ def onpy_srcs(unit, *args):
else:
for path, mod in pys:
root_rel_path = rootrel_arc_src(path, unit)
- if with_py:
- key = '/py_modules/' + mod
- res += [
- path, key,
- '-', 'resfs/src/{}={}'.format(key, root_rel_path),
- ]
- if with_pyc:
- src = unit.resolve_arc_path(path) or path
+ if with_py:
+ key = '/py_modules/' + mod
+ res += [
+ path, key,
+ '-', 'resfs/src/{}={}'.format(key, root_rel_path),
+ ]
+ if with_pyc:
+ src = unit.resolve_arc_path(path) or path
dst = path + uniq_suffix(path, unit)
unit.on_py_compile_bytecode([root_rel_path + '-', src, dst])
res += [dst + '.yapyc', '/py_code/' + mod]
-
+
unit.onresource(res)
add_python_lint_checks(unit, 2, [path for path, mod in pys] + unit.get(['_PY_EXTRA_LINT_FILES_VALUE']).split())
@@ -510,10 +510,10 @@ def onpy_srcs(unit, *args):
if optimize_proto and need_gazetteer_peerdir:
unit.onpeerdir(['kernel/gazetteer/proto'])
- if evs:
+ if evs:
unit.onpeerdir([cpp_runtime_path])
unit.on_generate_py_evs_internal([path for path, mod in evs])
- unit.onpy_srcs([ev_arg(path, mod, unit) for path, mod in evs])
+ unit.onpy_srcs([ev_arg(path, mod, unit) for path, mod in evs])
if fbss:
unit.onpeerdir(unit.get('_PY_FBS_DEPS').split())
@@ -533,8 +533,8 @@ def ontest_srcs(unit, *args):
_check_test_srcs(*args)
if unit.get('PY3TEST_BIN' if is_py3(unit) else 'PYTEST_BIN') != 'no':
unit.onpy_srcs(["NAMESPACE", "__tests__"] + list(args))
-
-
+
+
def onpy_doctests(unit, *args):
"""
@usage PY_DOCTEST(Packages...)
@@ -553,7 +553,7 @@ def py_register(unit, func, py3):
unit.on_py_register([func])
-def onpy_register(unit, *args):
+def onpy_register(unit, *args):
"""
@usage: PY_REGISTER([package.]module_name)
@@ -562,36 +562,36 @@ def onpy_register(unit, *args):
To register the modules from the sources in the SRCS(), you need to use PY_REGISTER().
PY_REGISTER(module_name) initializes module globally via call to initmodule_name()
- PY_REGISTER(package.module_name) initializes module in the specified package
- It renames its init function with CFLAGS(-Dinitmodule_name=init7package11module_name)
- or CFLAGS(-DPyInit_module_name=PyInit_7package11module_name)
+ PY_REGISTER(package.module_name) initializes module in the specified package
+ It renames its init function with CFLAGS(-Dinitmodule_name=init7package11module_name)
+ or CFLAGS(-DPyInit_module_name=PyInit_7package11module_name)
Documentation: https://wiki.yandex-team.ru/arcadia/python/pysrcs/#makrospyregister
"""
-
+
py3 = is_py3(unit)
-
+
for name in args:
- assert '=' not in name, name
- py_register(unit, name, py3)
- if '.' in name:
- shortname = name.rsplit('.', 1)[1]
+ assert '=' not in name, name
+ py_register(unit, name, py3)
+ if '.' in name:
+ shortname = name.rsplit('.', 1)[1]
if py3:
- unit.oncflags(['-DPyInit_{}=PyInit_{}'.format(shortname, mangle(name))])
+ unit.oncflags(['-DPyInit_{}=PyInit_{}'.format(shortname, mangle(name))])
else:
- unit.oncflags(['-Dinit{}=init{}'.format(shortname, mangle(name))])
+ unit.oncflags(['-Dinit{}=init{}'.format(shortname, mangle(name))])
def py_main(unit, arg):
if unit.get('IGNORE_PY_MAIN'):
return
- unit_needs_main = unit.get('MODULE_TYPE') in ('PROGRAM', 'DLL')
- if unit_needs_main:
- py_program(unit, is_py3(unit))
+ unit_needs_main = unit.get('MODULE_TYPE') in ('PROGRAM', 'DLL')
+ if unit_needs_main:
+ py_program(unit, is_py3(unit))
unit.onresource(['-', 'PY_MAIN={}'.format(arg)])
-def onpy_main(unit, arg):
+def onpy_main(unit, arg):
"""
@usage: PY_MAIN(package.module[:func])
@@ -602,9 +602,9 @@ def onpy_main(unit, arg):
arg = arg.replace('/', '.')
- if ':' not in arg:
- arg += ':main'
-
+ if ':' not in arg:
+ arg += ':main'
+
py_main(unit, arg)
diff --git a/build/plugins/res.py b/build/plugins/res.py
index c01b999ed6..a937caba81 100644
--- a/build/plugins/res.py
+++ b/build/plugins/res.py
@@ -42,41 +42,41 @@ def onfat_resource(unit, *args):
# https://msdn.microsoft.com/ru-ru/library/windows/desktop/ms682425.aspx
for part_args in split(args, 8000):
output = listid(part_args) + '.cpp'
- inputs = [x for x, y in iterpair(part_args) if x != '-']
- if inputs:
- inputs = ['IN'] + inputs
+ inputs = [x for x, y in iterpair(part_args) if x != '-']
+ if inputs:
+ inputs = ['IN'] + inputs
- unit.onrun_program(['tools/rescompiler', output] + part_args + inputs + ['OUT_NOAUTO', output])
+ unit.onrun_program(['tools/rescompiler', output] + part_args + inputs + ['OUT_NOAUTO', output])
unit.onsrcs(['GLOBAL', output])
-def onresource_files(unit, *args):
- """
+def onresource_files(unit, *args):
+ """
@usage: RESOURCE_FILES([DONT_PARSE] [PREFIX {prefix}] [STRIP prefix_to_strip] {path})
This macro expands into
RESOURCE([DONT_PARSE] {path} resfs/file/{prefix}{path}
- resfs/src/resfs/file/{prefix}{remove_prefix(path, prefix_to_strip)}={rootrel_arc_src(path)}
- )
-
- resfs/src/{key} stores a source root (or build root) relative path of the
- source of the value of the {key} resource.
-
- resfs/file/{key} stores any value whose source was a file on a filesystem.
- resfs/src/resfs/file/{key} must store its path.
-
+ )
+
+ resfs/src/{key} stores a source root (or build root) relative path of the
+ source of the value of the {key} resource.
+
+ resfs/file/{key} stores any value whose source was a file on a filesystem.
+ resfs/src/resfs/file/{key} must store its path.
+
DONT_PARSE disables parsing for source code files (determined by extension)
Please don't abuse: use separate DONT_PARSE macro call only for files subject to parsing
- This form is for use from other plugins:
- RESOURCE_FILES([DEST {dest}] {path}) expands into RESOURCE({path} resfs/file/{dest})
+ This form is for use from other plugins:
+ RESOURCE_FILES([DEST {dest}] {path}) expands into RESOURCE({path} resfs/file/{dest})
@see: https://wiki.yandex-team.ru/devtools/commandsandvars/resourcefiles/
- """
- prefix = ''
+ """
+ prefix = ''
prefix_to_strip = None
- dest = None
- res = []
+ dest = None
+ res = []
first = 0
if args and not unit.enabled('_GO_MODULE'):
@@ -85,21 +85,21 @@ def onresource_files(unit, *args):
if args and args[0] == 'DONT_PARSE':
first = 1
-
+
args = iter(args[first:])
- for arg in args:
- if arg == 'PREFIX':
- prefix, dest = next(args), None
- elif arg == 'DEST':
- dest, prefix = next(args), None
+ for arg in args:
+ if arg == 'PREFIX':
+ prefix, dest = next(args), None
+ elif arg == 'DEST':
+ dest, prefix = next(args), None
elif arg == 'STRIP':
prefix_to_strip = next(args)
- else:
- path = arg
+ else:
+ path = arg
key = 'resfs/file/' + (dest or (prefix + (path if not prefix_to_strip else remove_prefix(path, prefix_to_strip))))
- src = 'resfs/src/{}={}'.format(key, rootrel_arc_src(path, unit))
- res += ['-', src, path, key]
-
+ src = 'resfs/src/{}={}'.format(key, rootrel_arc_src(path, unit))
+ res += ['-', src, path, key]
+
if unit.enabled('_GO_MODULE'):
unit.on_go_resource(res)
else:
diff --git a/build/plugins/ssqls.py b/build/plugins/ssqls.py
index de3fe2cf5f..618cbc11bc 100644
--- a/build/plugins/ssqls.py
+++ b/build/plugins/ssqls.py
@@ -1,40 +1,40 @@
-from os.path import splitext
-
-import _import_wrapper as iw
-from _common import resolve_includes
-
-
-class SSQLSParser(object):
- def __init__(self, path, unit):
- s = unit.resolve_arc_path(path)
- assert s.startswith('$S/') and s.endswith('.ssqls'), s
- h = '$B/' + s[3:-6] + '.h'
-
- import xml.etree.cElementTree as ET
- try:
- doc = ET.parse(path)
- except ET.ParseError as e:
- unit.message(['error', 'malformed XML {}: {}'.format(path, e)])
- doc = ET.Element('DbObject')
- xmls, headers = self.parse_doc(doc)
- self._includes = resolve_includes(unit, s, xmls)
- self._induced = {'cpp': [h], 'h': resolve_includes(unit, h, headers)}
-
- @staticmethod
- def parse_doc(doc):
- paths = lambda nodes: filter(None, (e.get('path') for e in nodes))
- includes = doc.findall('include')
- ancestors = paths(doc.findall('ancestors/ancestor'))
- headers = [e.text.strip('<>""') for e in includes]
- headers += [splitext(s)[0] + '.h' for s in ancestors]
- return paths(includes) + ancestors, headers
-
- def includes(self):
- return self._includes
-
- def induced_deps(self):
- return self._induced
-
-
-def init():
- iw.addparser('ssqls', SSQLSParser)
+from os.path import splitext
+
+import _import_wrapper as iw
+from _common import resolve_includes
+
+
+class SSQLSParser(object):
+ def __init__(self, path, unit):
+ s = unit.resolve_arc_path(path)
+ assert s.startswith('$S/') and s.endswith('.ssqls'), s
+ h = '$B/' + s[3:-6] + '.h'
+
+ import xml.etree.cElementTree as ET
+ try:
+ doc = ET.parse(path)
+ except ET.ParseError as e:
+ unit.message(['error', 'malformed XML {}: {}'.format(path, e)])
+ doc = ET.Element('DbObject')
+ xmls, headers = self.parse_doc(doc)
+ self._includes = resolve_includes(unit, s, xmls)
+ self._induced = {'cpp': [h], 'h': resolve_includes(unit, h, headers)}
+
+ @staticmethod
+ def parse_doc(doc):
+ paths = lambda nodes: filter(None, (e.get('path') for e in nodes))
+ includes = doc.findall('include')
+ ancestors = paths(doc.findall('ancestors/ancestor'))
+ headers = [e.text.strip('<>""') for e in includes]
+ headers += [splitext(s)[0] + '.h' for s in ancestors]
+ return paths(includes) + ancestors, headers
+
+ def includes(self):
+ return self._includes
+
+ def induced_deps(self):
+ return self._induced
+
+
+def init():
+ iw.addparser('ssqls', SSQLSParser)
diff --git a/build/plugins/swig.py b/build/plugins/swig.py
index 24a0bf4cb3..32a37204a6 100644
--- a/build/plugins/swig.py
+++ b/build/plugins/swig.py
@@ -1,15 +1,15 @@
import os
import posixpath
-import re
+import re
import _import_wrapper as iw
import _common as common
-def init():
- iw.addrule('swg', Swig)
-
-
+def init():
+ iw.addrule('swg', Swig)
+
+
class Swig(iw.CustomCommand):
def __init__(self, path, unit):
self._tool = unit.get('SWIG_TOOL')
@@ -17,7 +17,7 @@ class Swig(iw.CustomCommand):
self._local_swig = unit.get('USE_LOCAL_SWIG') == "yes"
self._path = path
- self._flags = ['-cpperraswarn']
+ self._flags = ['-cpperraswarn']
self._bindir = common.tobuilddir(unit.path())
self._input_name = common.stripext(os.path.basename(self._path))
@@ -42,12 +42,12 @@ class Swig(iw.CustomCommand):
lang_specific_incl_dir = 'perl5'
elif self._swig_lang in ['jni_cpp', 'jni_java']:
lang_specific_incl_dir = 'java'
- incl_dirs = [
+ incl_dirs = [
"FOR", "swig",
posixpath.join(self._library_dir, lang_specific_incl_dir),
"FOR", "swig",
self._library_dir
- ]
+ ]
self._incl_dirs = ['$S', '$B'] + [posixpath.join('$S', d) for d in incl_dirs]
modname = unit.get('REALPRJNAME')
@@ -99,7 +99,7 @@ class Swig(iw.CustomCommand):
return [
(self._main_out, []),
(common.join_intl_paths(self._bindir, self._out_name), (['noauto', 'add_to_outs'] if self._swig_lang != 'java' else [])),
- ] + ([(self._out_header, [])] if self._swig_lang == 'java' else [])
+ ] + ([(self._out_header, [])] if self._swig_lang == 'java' else [])
def output_includes(self):
return [(self._out_header, [])] if self._swig_lang in ['java', 'jni_cpp'] else []
@@ -109,30 +109,30 @@ class Swig(iw.CustomCommand):
binary = self._tool
return self.do_run_java(binary, self._path) if self._swig_lang in ['java', 'jni_cpp', 'jni_java'] else self.do_run(binary, self._path)
- def _incl_flags(self):
- return ['-I' + self.resolve_path(x) for x in self._incl_dirs]
-
+ def _incl_flags(self):
+ return ['-I' + self.resolve_path(x) for x in self._incl_dirs]
+
def do_run(self, binary, path):
- self.call([binary] + self._flags + [
- '-o', self.resolve_path(common.get(self.output, 0)),
- '-outdir', self.resolve_path(self._bindir)
- ] + self._incl_flags() + [self.resolve_path(path)])
+ self.call([binary] + self._flags + [
+ '-o', self.resolve_path(common.get(self.output, 0)),
+ '-outdir', self.resolve_path(self._bindir)
+ ] + self._incl_flags() + [self.resolve_path(path)])
def do_run_java(self, binary, path):
- import tarfile
+ import tarfile
- outdir = self.resolve_path(self._bindir)
+ outdir = self.resolve_path(self._bindir)
if self._swig_lang != 'jni_cpp':
java_srcs_dir = os.path.join(outdir, self._package.replace('.', '/'))
if not os.path.exists(java_srcs_dir):
os.makedirs(java_srcs_dir)
- flags = self._incl_flags()
- src = self.resolve_path(path)
- with open(src, 'r') as f:
- if not re.search(r'(?m)^%module\b', f.read()):
- flags += ['-module', os.path.splitext(os.path.basename(src))[0]]
-
+ flags = self._incl_flags()
+ src = self.resolve_path(path)
+ with open(src, 'r') as f:
+ if not re.search(r'(?m)^%module\b', f.read()):
+ flags += ['-module', os.path.splitext(os.path.basename(src))[0]]
+
if self._swig_lang == 'jni_cpp':
self.call([binary, '-c++', '-o', self._main_out, '-java', '-package', self._package] + flags + [src])
elif self._swig_lang == 'jni_java':
@@ -142,11 +142,11 @@ class Swig(iw.CustomCommand):
binary, '-c++', '-o', self._main_out, '-outdir', java_srcs_dir,
'-java', '-package', self._package,
] + flags + [src])
-
+
if self._swig_lang in ['jni_java', 'java']:
with tarfile.open(os.path.join(outdir, self._out_name), 'a') as tf:
tf.add(java_srcs_dir, arcname=self._package.replace('.', '/'))
-
+
if self._swig_lang in ['jni_cpp', 'java']:
header = os.path.splitext(self.resolve_path(self._main_out))[0] + '.h'
if not os.path.exists(header):
diff --git a/build/plugins/tests/test_ssqls.py b/build/plugins/tests/test_ssqls.py
index db9e8c93bc..2a1d032109 100644
--- a/build/plugins/tests/test_ssqls.py
+++ b/build/plugins/tests/test_ssqls.py
@@ -1,23 +1,23 @@
-import xml.etree.cElementTree as ET
-
-from build.plugins import ssqls
-
-
-example = '''\
-<?xml version="1.0" encoding="utf-8"?>
-<DbObject>
- <include path="A.ssqls">&lt;a.h&gt;</include>
- <include>"b.h"</include>
-
- <ancestors>
- <ancestor path="C.ssqls"/>
- </ancestors>
-</DbObject>
-'''
-
-
-def test_include_parser():
- doc = ET.fromstring(example)
- xmls, headers = ssqls.SSQLSParser.parse_doc(doc)
- assert headers == ['a.h', 'b.h', 'C.h']
- assert xmls == ['A.ssqls', 'C.ssqls']
+import xml.etree.cElementTree as ET
+
+from build.plugins import ssqls
+
+
+example = '''\
+<?xml version="1.0" encoding="utf-8"?>
+<DbObject>
+ <include path="A.ssqls">&lt;a.h&gt;</include>
+ <include>"b.h"</include>
+
+ <ancestors>
+ <ancestor path="C.ssqls"/>
+ </ancestors>
+</DbObject>
+'''
+
+
+def test_include_parser():
+ doc = ET.fromstring(example)
+ xmls, headers = ssqls.SSQLSParser.parse_doc(doc)
+ assert headers == ['a.h', 'b.h', 'C.h']
+ assert xmls == ['A.ssqls', 'C.ssqls']
diff --git a/build/plugins/tests/ya.make b/build/plugins/tests/ya.make
index ad8f2c6a3b..87228b98df 100644
--- a/build/plugins/tests/ya.make
+++ b/build/plugins/tests/ya.make
@@ -10,7 +10,7 @@ TEST_SRCS(
test_code_generator.py
test_common.py
test_requirements.py
- test_ssqls.py
+ test_ssqls.py
)
END()
diff --git a/build/plugins/ya.make b/build/plugins/ya.make
index 1d2810bf46..4ad5f5988e 100644
--- a/build/plugins/ya.make
+++ b/build/plugins/ya.make
@@ -4,7 +4,7 @@ PY2_LIBRARY()
PY_SRCS(
code_generator.py
- ssqls.py
+ ssqls.py
swig.py
_common.py
diff --git a/build/plugins/yql_python_udf.py b/build/plugins/yql_python_udf.py
index 9015ae0c89..c4f949d8a9 100644
--- a/build/plugins/yql_python_udf.py
+++ b/build/plugins/yql_python_udf.py
@@ -46,7 +46,7 @@ def onregister_yql_python_udf(unit, *args):
path = name + '.yql_python_udf.cpp'
libra_flag = '1' if add_libra_modules else '0'
- unit.onpython([
+ unit.onpython([
'build/scripts/gen_yql_python_udf.py',
flavor, name, resource_name, path, libra_flag,
'OUT', path,
diff --git a/build/plugins/ytest.py b/build/plugins/ytest.py
index c7978206ca..8970837f0f 100644
--- a/build/plugins/ytest.py
+++ b/build/plugins/ytest.py
@@ -645,12 +645,12 @@ def onadd_check(unit, *args):
save_in_file(unit.get('TEST_DART_OUT_FILE'), data)
-def on_register_no_check_imports(unit):
- s = unit.get('NO_CHECK_IMPORTS_FOR_VALUE')
- if s not in ('', 'None'):
- unit.onresource(['-', 'py/no_check_imports/{}="{}"'.format(_common.pathid(s), s)])
-
-
+def on_register_no_check_imports(unit):
+ s = unit.get('NO_CHECK_IMPORTS_FOR_VALUE')
+ if s not in ('', 'None'):
+ unit.onresource(['-', 'py/no_check_imports/{}="{}"'.format(_common.pathid(s), s)])
+
+
def onadd_check_py_imports(unit, *args):
if unit.get("TIDY") == "yes":
# graph changed for clang_tidy tests
diff --git a/build/rules/contrib_deps.policy b/build/rules/contrib_deps.policy
index a9b2731463..9af4b85cc2 100644
--- a/build/rules/contrib_deps.policy
+++ b/build/rules/contrib_deps.policy
@@ -44,7 +44,7 @@ ALLOW contrib/libs/leveldb -> library/cpp/logger
ALLOW contrib/libs/leveldb -> library/cpp/digest/crc32c
ALLOW contrib/libs/lua -> library/cpp/archive
ALLOW contrib/libs/phonedetect/src -> library/cpp/digest/md5
-ALLOW contrib/python/certifi -> library/python/certifi
+ALLOW contrib/python/certifi -> library/python/certifi
ALLOW contrib/python/horovod/horovod/common/syms -> library/python/symbols/registry
ALLOW contrib/python/opensfm -> library/cpp/vl_feat
ALLOW contrib/python/Wand/ImageMagick -> library/python/symbols/registry
diff --git a/build/rules/contrib_restricted.policy b/build/rules/contrib_restricted.policy
index c4140e7104..a83ead1904 100644
--- a/build/rules/contrib_restricted.policy
+++ b/build/rules/contrib_restricted.policy
@@ -21,7 +21,7 @@ ALLOW ydb/library/yql/udfs/common/clickhouse/client -> contrib/restricted/dragon
ALLOW ydb/library/yql/udfs/common/clickhouse/client -> contrib/restricted/fast_float
# fast_float is a faster alternative to double-conversion for float parsing.
-# ClickHouse uses the best libraries for performance, that's why it changes them with insane speed.
+# ClickHouse uses the best libraries for performance, that's why it changes them with insane speed.
# Arcadia is not ready for this, that's why we added this library in restricted.
ALLOW clickhouse -> contrib/restricted/fast_float
@@ -189,5 +189,5 @@ ALLOW yandex_io -> contrib/restricted/patched/hostap_client
# Do not restrict contrib
# All peerdirs to contrib/restricted from outside are prohibited
#
-ALLOW contrib -> contrib/restricted
+ALLOW contrib -> contrib/restricted
DENY .* -> contrib/restricted
diff --git a/build/scripts/compile_cuda.py b/build/scripts/compile_cuda.py
index 1f87f28478..c0bec50b2a 100644
--- a/build/scripts/compile_cuda.py
+++ b/build/scripts/compile_cuda.py
@@ -3,7 +3,7 @@ import subprocess
import os
import collections
import re
-import tempfile
+import tempfile
def is_clang(command):
@@ -22,8 +22,8 @@ def main():
skip_nocxxinc = False
spl = sys.argv.index('--cflags')
- mtime0 = sys.argv[1]
- command = sys.argv[2: spl]
+ mtime0 = sys.argv[1]
+ command = sys.argv[2: spl]
cflags = sys.argv[spl + 1:]
dump_args = False
@@ -37,9 +37,9 @@ def main():
sys.exit(1)
if is_clang(command):
- # nvcc concatenates the sources for clang, and clang reports unused
- # things from .h files as if they they were defined in a .cpp file.
- cflags += ['-Wno-unused-function', '-Wno-unused-parameter']
+ # nvcc concatenates the sources for clang, and clang reports unused
+ # things from .h files as if they they were defined in a .cpp file.
+ cflags += ['-Wno-unused-function', '-Wno-unused-parameter']
if not is_clang(command) and '-fopenmp=libomp' in cflags:
cflags.append('-fopenmp')
@@ -126,26 +126,26 @@ def main():
if compiler_args:
command += ['--compiler-options', ','.join(compiler_args)]
- # --keep is necessary to prevent nvcc from embedding nvcc pid in generated
- # symbols. It makes nvcc use the original file name as the prefix in the
- # generated files (otherwise it also prepends tmpxft_{pid}_00000000-5), and
- # cicc derives the module name from its {input}.cpp1.ii file name.
- command += ['--keep', '--keep-dir', tempfile.mkdtemp(prefix='compile_cuda.py.')]
- # nvcc generates symbols like __fatbinwrap_{len}_{basename}_{hash} where
- # {basename} is {input}.cpp1.ii with non-C chars translated to _, {len} is
- # {basename} length, and {hash} is the hash of first exported symbol in
- # {input}.cpp1.ii if there is one, otherwise it is based on its modification
- # time (converted to string in the local timezone) and the current working
- # directory. To stabilize the names of these symbols we need to fix mtime,
- # timezone, and cwd.
- os.environ['LD_PRELOAD'] = mtime0
- os.environ['TZ'] = 'UTC0' # POSIX fixed offset format.
- os.environ['TZDIR'] = '/var/empty' # Against counterfeit /usr/share/zoneinfo/$TZ.
-
+ # --keep is necessary to prevent nvcc from embedding nvcc pid in generated
+ # symbols. It makes nvcc use the original file name as the prefix in the
+ # generated files (otherwise it also prepends tmpxft_{pid}_00000000-5), and
+ # cicc derives the module name from its {input}.cpp1.ii file name.
+ command += ['--keep', '--keep-dir', tempfile.mkdtemp(prefix='compile_cuda.py.')]
+ # nvcc generates symbols like __fatbinwrap_{len}_{basename}_{hash} where
+ # {basename} is {input}.cpp1.ii with non-C chars translated to _, {len} is
+ # {basename} length, and {hash} is the hash of first exported symbol in
+ # {input}.cpp1.ii if there is one, otherwise it is based on its modification
+ # time (converted to string in the local timezone) and the current working
+ # directory. To stabilize the names of these symbols we need to fix mtime,
+ # timezone, and cwd.
+ os.environ['LD_PRELOAD'] = mtime0
+ os.environ['TZ'] = 'UTC0' # POSIX fixed offset format.
+ os.environ['TZDIR'] = '/var/empty' # Against counterfeit /usr/share/zoneinfo/$TZ.
+
if dump_args:
sys.stdout.write('\n'.join(command))
else:
- sys.exit(subprocess.Popen(command, stdout=sys.stderr, stderr=sys.stderr, cwd='/').wait())
+ sys.exit(subprocess.Popen(command, stdout=sys.stderr, stderr=sys.stderr, cwd='/').wait())
if __name__ == '__main__':
diff --git a/build/scripts/f2c.py b/build/scripts/f2c.py
index 9775895d3b..7021e1391f 100644
--- a/build/scripts/f2c.py
+++ b/build/scripts/f2c.py
@@ -3,31 +3,31 @@ import subprocess
import argparse
import os
-
-header = '''\
-#ifdef __GNUC__
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wunused-parameter"
-#pragma GCC diagnostic ignored "-Wmissing-braces"
-#pragma GCC diagnostic ignored "-Wuninitialized"
-#pragma GCC diagnostic ignored "-Wreturn-type"
-#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
-#endif
-
-'''
-
-footer = '''
-#ifdef __GNUC__
-#pragma GCC diagnostic pop
-#endif
-'''
-
-
-def mkdir_p(directory):
- if not os.path.exists(directory):
- os.makedirs(directory)
-
-
+
+header = '''\
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-parameter"
+#pragma GCC diagnostic ignored "-Wmissing-braces"
+#pragma GCC diagnostic ignored "-Wuninitialized"
+#pragma GCC diagnostic ignored "-Wreturn-type"
+#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
+#endif
+
+'''
+
+footer = '''
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
+'''
+
+
+def mkdir_p(directory):
+ if not os.path.exists(directory):
+ os.makedirs(directory)
+
+
if __name__ == '__main__':
parser = argparse.ArgumentParser()
@@ -36,12 +36,12 @@ if __name__ == '__main__':
parser.add_argument('-o', '--output')
args = parser.parse_args()
- tmpdir = args.output + '.f2c'
- mkdir_p(tmpdir)
+ tmpdir = args.output + '.f2c'
+ mkdir_p(tmpdir)
# should parse includes, really
- p = subprocess.Popen(
- [args.tool, '-w', '-R', '-a', '-I' + os.path.dirname(args.input), '-T' + tmpdir],
- stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE)
+ p = subprocess.Popen(
+ [args.tool, '-w', '-R', '-a', '-I' + os.path.dirname(args.input), '-T' + tmpdir],
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE)
stdout, stderr = p.communicate(input=open(args.input).read())
ret = p.wait()
@@ -53,6 +53,6 @@ if __name__ == '__main__':
print >>sys.stderr, stderr
with open(args.output, 'w') as f:
- f.write(header)
+ f.write(header)
f.write(stdout)
- f.write(footer)
+ f.write(footer)
diff --git a/build/scripts/fetch_from.py b/build/scripts/fetch_from.py
index b1fd2eec1f..db4fea50bf 100755
--- a/build/scripts/fetch_from.py
+++ b/build/scripts/fetch_from.py
@@ -21,26 +21,26 @@ def make_user_agent():
def add_common_arguments(parser):
- parser.add_argument('--copy-to') # used by jbuild in fetch_resource
- parser.add_argument('--rename-to') # used by test_node in inject_mds_resource_to_graph
+ parser.add_argument('--copy-to') # used by jbuild in fetch_resource
+ parser.add_argument('--rename-to') # used by test_node in inject_mds_resource_to_graph
parser.add_argument('--copy-to-dir')
parser.add_argument('--untar-to')
- parser.add_argument('--rename', action='append', default=[], metavar='FILE', help='rename FILE to the corresponding output')
- parser.add_argument('--executable', action='store_true', help='make outputs executable')
+ parser.add_argument('--rename', action='append', default=[], metavar='FILE', help='rename FILE to the corresponding output')
+ parser.add_argument('--executable', action='store_true', help='make outputs executable')
parser.add_argument('--log-path')
parser.add_argument('-v', '--verbose', action='store_true', default=os.environ.get('YA_VERBOSE_FETCHER'), help='increase stderr verbosity')
parser.add_argument('outputs', nargs='*', default=[])
-def ensure_dir(path):
- if not (path == '' or os.path.isdir(path)):
- os.makedirs(path)
-
-
+def ensure_dir(path):
+ if not (path == '' or os.path.isdir(path)):
+ os.makedirs(path)
+
+
# Reference code: library/python/fs/__init__.py
def hardlink_or_copy(src, dst):
- ensure_dir(os.path.dirname(dst))
-
+ ensure_dir(os.path.dirname(dst))
+
if os.name == 'nt':
shutil.copy(src, dst)
else:
@@ -57,7 +57,7 @@ def hardlink_or_copy(src, dst):
def rename_or_copy_and_remove(src, dst):
- ensure_dir(os.path.dirname(dst))
+ ensure_dir(os.path.dirname(dst))
try:
os.rename(src, dst)
@@ -146,7 +146,7 @@ def report_to_snowden(value):
try:
inner()
except Exception as e:
- logging.warning('report_to_snowden failed: %s', e)
+ logging.warning('report_to_snowden failed: %s', e)
def copy_stream(read, *writers, **kwargs):
@@ -307,9 +307,9 @@ def chmod(filename, mode):
raise
-def process(fetched_file, file_name, args, remove=True):
- assert len(args.rename) <= len(args.outputs), (
- 'too few outputs to rename', args.rename, 'into', args.outputs)
+def process(fetched_file, file_name, args, remove=True):
+ assert len(args.rename) <= len(args.outputs), (
+ 'too few outputs to rename', args.rename, 'into', args.outputs)
# Forbid changes to the loaded resource
chmod(fetched_file, 0o444)
@@ -317,21 +317,21 @@ def process(fetched_file, file_name, args, remove=True):
if not os.path.isfile(fetched_file):
raise ResourceIsDirectoryError('Resource must be a file, not a directory: %s' % fetched_file)
- if args.copy_to:
- hardlink_or_copy(fetched_file, args.copy_to)
- if not args.outputs:
- args.outputs = [args.copy_to]
+ if args.copy_to:
+ hardlink_or_copy(fetched_file, args.copy_to)
+ if not args.outputs:
+ args.outputs = [args.copy_to]
- if args.rename_to:
- args.rename.append(fetched_file)
- if not args.outputs:
- args.outputs = [args.rename_to]
+ if args.rename_to:
+ args.rename.append(fetched_file)
+ if not args.outputs:
+ args.outputs = [args.rename_to]
- if args.copy_to_dir:
- hardlink_or_copy(fetched_file, os.path.join(args.copy_to_dir, file_name))
+ if args.copy_to_dir:
+ hardlink_or_copy(fetched_file, os.path.join(args.copy_to_dir, file_name))
if args.untar_to:
- ensure_dir(args.untar_to)
+ ensure_dir(args.untar_to)
# Extract only requested files
try:
with tarfile.open(fetched_file, mode='r:*') as tar:
@@ -346,14 +346,14 @@ def process(fetched_file, file_name, args, remove=True):
logging.exception(e)
raise ResourceUnpackingError('File {} cannot be untared'.format(fetched_file))
- for src, dst in zip(args.rename, args.outputs):
- if src == 'RESOURCE':
- src = fetched_file
- if os.path.abspath(src) == os.path.abspath(fetched_file):
- logging.info('Copying %s to %s', src, dst)
- hardlink_or_copy(src, dst)
- else:
- logging.info('Renaming %s to %s', src, dst)
+ for src, dst in zip(args.rename, args.outputs):
+ if src == 'RESOURCE':
+ src = fetched_file
+ if os.path.abspath(src) == os.path.abspath(fetched_file):
+ logging.info('Copying %s to %s', src, dst)
+ hardlink_or_copy(src, dst)
+ else:
+ logging.info('Renaming %s to %s', src, dst)
if os.path.exists(dst):
raise ResourceUnpackingError("Target file already exists ({} -> {})".format(src, dst))
if remove:
@@ -361,15 +361,15 @@ def process(fetched_file, file_name, args, remove=True):
else:
hardlink_or_copy(src, dst)
- for path in args.outputs:
- if not os.path.exists(path):
- raise OutputNotExistError('Output does not exist: %s' % os.path.abspath(path))
- if not os.path.isfile(path):
- raise OutputIsDirectoryError('Output must be a file, not a directory: %s' % os.path.abspath(path))
- if args.executable:
+ for path in args.outputs:
+ if not os.path.exists(path):
+ raise OutputNotExistError('Output does not exist: %s' % os.path.abspath(path))
+ if not os.path.isfile(path):
+ raise OutputIsDirectoryError('Output must be a file, not a directory: %s' % os.path.abspath(path))
+ if args.executable:
chmod(path, os.stat(path).st_mode | 0o111)
- if os.path.abspath(path) == os.path.abspath(fetched_file):
- remove = False
+ if os.path.abspath(path) == os.path.abspath(fetched_file):
+ remove = False
- if remove:
- os.remove(fetched_file)
+ if remove:
+ os.remove(fetched_file)
diff --git a/build/scripts/fetch_from_sandbox.py b/build/scripts/fetch_from_sandbox.py
index e962637eab..a99542e174 100755
--- a/build/scripts/fetch_from_sandbox.py
+++ b/build/scripts/fetch_from_sandbox.py
@@ -91,14 +91,14 @@ def _urlopen(url, data=None, headers=None):
return urllib2.urlopen(request, timeout=tout).read()
except urllib2.HTTPError as e:
- logging.warning('failed to fetch URL %s with HTTP code %d: %s', url, e.code, e)
+ logging.warning('failed to fetch URL %s with HTTP code %d: %s', url, e.code, e)
retry_after = int(e.headers.get('Retry-After', str(retry_after)))
if e.code not in TEMPORARY_ERROR_CODES:
raise
except Exception as e:
- logging.warning('failed to fetch URL %s: %s', url, e)
+ logging.warning('failed to fetch URL %s: %s', url, e)
if i + 1 == n:
raise e
@@ -194,10 +194,10 @@ def fetch(resource_id, custom_fetcher):
except UnsupportedProtocolException:
pass
except subprocess.CalledProcessError as e:
- logging.warning('failed to fetch resource %s with subprocess: %s', resource_id, e)
+ logging.warning('failed to fetch resource %s with subprocess: %s', resource_id, e)
time.sleep(i)
except urllib2.HTTPError as e:
- logging.warning('failed to fetch resource %s with HTTP code %d: %s', resource_id, e.code, e)
+ logging.warning('failed to fetch resource %s with HTTP code %d: %s', resource_id, e.code, e)
if e.code not in TEMPORARY_ERROR_CODES:
exc_info = exc_info or sys.exc_info()
time.sleep(i)
diff --git a/build/scripts/gen_py3_reg.py b/build/scripts/gen_py3_reg.py
index 5f3d026aee..149c094898 100644
--- a/build/scripts/gen_py3_reg.py
+++ b/build/scripts/gen_py3_reg.py
@@ -1,9 +1,9 @@
import sys
template = '''
-struct PyObject;
-extern "C" int PyImport_AppendInittab(const char* name, PyObject* (*initfunc)());
-extern "C" PyObject* {1}();
+struct PyObject;
+extern "C" int PyImport_AppendInittab(const char* name, PyObject* (*initfunc)());
+extern "C" PyObject* {1}();
namespace {
struct TRegistrar {
diff --git a/build/scripts/gen_py_reg.py b/build/scripts/gen_py_reg.py
index 02f45fe10d..1560135ae8 100644
--- a/build/scripts/gen_py_reg.py
+++ b/build/scripts/gen_py_reg.py
@@ -1,30 +1,30 @@
-import sys
-
+import sys
+
template = '''
-extern "C" void PyImport_AppendInittab(const char* name, void (*fn)(void));
-extern "C" void {1}();
+extern "C" void PyImport_AppendInittab(const char* name, void (*fn)(void));
+extern "C" void {1}();
namespace {
struct TRegistrar {
inline TRegistrar() {
- PyImport_AppendInittab("{0}", {1});
+ PyImport_AppendInittab("{0}", {1});
}
} REG;
}
'''
-def mangle(name):
- if '.' not in name:
- return name
- return ''.join('{}{}'.format(len(s), s) for s in name.split('.'))
-
+def mangle(name):
+ if '.' not in name:
+ return name
+ return ''.join('{}{}'.format(len(s), s) for s in name.split('.'))
+
if __name__ == '__main__':
if len(sys.argv) != 3:
print >>sys.stderr, 'Usage: <path/to/gen_py_reg.py> <python_module_name> <output_file>'
print >>sys.stderr, 'Passed: ' + ' '.join(sys.argv)
sys.exit(1)
-
+
with open(sys.argv[2], 'w') as f:
modname = sys.argv[1]
initname = 'init' + mangle(modname)
diff --git a/build/scripts/link_dyn_lib.py b/build/scripts/link_dyn_lib.py
index 1585cd60f9..23487f5c1e 100644
--- a/build/scripts/link_dyn_lib.py
+++ b/build/scripts/link_dyn_lib.py
@@ -19,19 +19,19 @@ def shlex_join(cmd):
def parse_export_file(p):
with open(p, 'r') as f:
- for l in f:
+ for l in f:
l = l.strip()
if l and '#' not in l:
- words = l.split()
- if len(words) == 2 and words[0] == 'linux_version':
- yield {'linux_version': words[1]}
- elif len(words) == 2:
- yield {'lang': words[0], 'sym': words[1]}
- elif len(words) == 1:
- yield {'lang': 'C', 'sym': words[0]}
+ words = l.split()
+ if len(words) == 2 and words[0] == 'linux_version':
+ yield {'linux_version': words[1]}
+ elif len(words) == 2:
+ yield {'lang': words[0], 'sym': words[1]}
+ elif len(words) == 1:
+ yield {'lang': 'C', 'sym': words[0]}
else:
- raise Exception('unsupported exports line: ' + l)
+ raise Exception('unsupported exports line: ' + l)
def to_c(sym):
@@ -124,10 +124,10 @@ def fix_windows_param(ex):
return ['/DEF:{}'.format(def_file.name)]
-musl_libs = '-lc', '-lcrypt', '-ldl', '-lm', '-lpthread', '-lrt', '-lutil'
-
-
-def fix_cmd(arch, musl, c):
+musl_libs = '-lc', '-lcrypt', '-ldl', '-lm', '-lpthread', '-lrt', '-lutil'
+
+
+def fix_cmd(arch, musl, c):
if arch == 'WINDOWS':
prefix = '/DEF:'
f = fix_windows_param
@@ -139,9 +139,9 @@ def fix_cmd(arch, musl, c):
f = lambda x: fix_gnu_param(arch, x)
def do_fix(p):
- if musl and p in musl_libs:
- return []
-
+ if musl and p in musl_libs:
+ return []
+
if p.startswith(prefix) and p.endswith('.exports'):
fname = p[len(prefix):]
@@ -166,7 +166,7 @@ def parse_args():
parser.add_option('--soname')
parser.add_option('--fix-elf')
parser.add_option('--linker-output')
- parser.add_option('--musl', action='store_true')
+ parser.add_option('--musl', action='store_true')
parser.add_option('--whole-archive-peers', action='append')
parser.add_option('--whole-archive-libs', action='append')
return parser.parse_args()
@@ -178,7 +178,7 @@ if __name__ == '__main__':
assert opts.arch
assert opts.target
- cmd = fix_cmd(opts.arch, opts.musl, args)
+ cmd = fix_cmd(opts.arch, opts.musl, args)
cmd = ProcessWholeArchiveOption(opts.arch, opts.whole_archive_peers, opts.whole_archive_libs).construct_cmd(cmd)
if opts.linker_output:
diff --git a/build/scripts/py_compile.py b/build/scripts/py_compile.py
index b1f6e0b7db..936dbe8816 100755
--- a/build/scripts/py_compile.py
+++ b/build/scripts/py_compile.py
@@ -8,15 +8,15 @@ import sys
def main():
- srcpathx, in_fname, out_fname = sys.argv[1:]
- srcpath = srcpathx[:-1]
-
+ srcpathx, in_fname, out_fname = sys.argv[1:]
+ srcpath = srcpathx[:-1]
+
with open(in_fname, 'r') as in_file:
source = in_file.read()
-
- code = compile(source, srcpath, 'exec', dont_inherit=True)
-
- with open(out_fname, 'wb') as out_file:
+
+ code = compile(source, srcpath, 'exec', dont_inherit=True)
+
+ with open(out_fname, 'wb') as out_file:
marshal.dump(code, out_file)
diff --git a/build/scripts/resolve_java_srcs.py b/build/scripts/resolve_java_srcs.py
index 411403c7fd..a2e6c20012 100644
--- a/build/scripts/resolve_java_srcs.py
+++ b/build/scripts/resolve_java_srcs.py
@@ -16,7 +16,7 @@ def list_all_files(directory, prefix='/', hidden_files=False):
def pattern_to_regexp(p):
return '^' + \
- ('/' if not p.startswith('**') else '') + \
+ ('/' if not p.startswith('**') else '') + \
re.escape(p).replace(
r'\*\*\/', '[_DIR_]'
).replace(
diff --git a/build/scripts/yndexer.py b/build/scripts/yndexer.py
index 3737b0cce1..a38e28ba99 100644
--- a/build/scripts/yndexer.py
+++ b/build/scripts/yndexer.py
@@ -2,11 +2,11 @@ import sys
import subprocess
import threading
import os
-import re
+import re
-rx_resource_dir = re.compile(r'libraries: =([^:]*)')
-
+rx_resource_dir = re.compile(r'libraries: =([^:]*)')
+
def _try_to_kill(process):
try:
@@ -54,22 +54,22 @@ if __name__ == '__main__':
subprocess.check_call(tail_args)
- clang = tail_args[0]
- out = subprocess.check_output([clang, '-print-search-dirs'])
- resource_dir = rx_resource_dir.search(out).group(1)
-
- yndexer_args = [
- yndexer, input_file,
- '-pb2',
- '-i', 'arc::{}'.format(arc_root),
+ clang = tail_args[0]
+ out = subprocess.check_output([clang, '-print-search-dirs'])
+ resource_dir = rx_resource_dir.search(out).group(1)
+
+ yndexer_args = [
+ yndexer, input_file,
+ '-pb2',
+ '-i', 'arc::{}'.format(arc_root),
'-i', 'build::{}'.format(build_root),
- '-i', '.IGNORE::/',
- '-o', os.path.dirname(output_file),
- '-n', os.path.basename(output_file).rsplit('.ydx.pb2', 1)[0],
- '--'
- ] + tail_args + [
- '-resource-dir', resource_dir,
- ]
+ '-i', '.IGNORE::/',
+ '-o', os.path.dirname(output_file),
+ '-n', os.path.basename(output_file).rsplit('.ydx.pb2', 1)[0],
+ '--'
+ ] + tail_args + [
+ '-resource-dir', resource_dir,
+ ]
process = Process(yndexer_args)
result = process.wait(timeout=timeout)
diff --git a/build/sysincl/darwin.yml b/build/sysincl/darwin.yml
index 6726035470..582c7e1202 100644
--- a/build/sysincl/darwin.yml
+++ b/build/sysincl/darwin.yml
@@ -1,6 +1,6 @@
- includes:
- # These headers actually exist in arcadia, so we either should use them and
- # add proper PEERDIR, or should #error them if they are not really used:
+ # These headers actually exist in arcadia, so we either should use them and
+ # add proper PEERDIR, or should #error them if they are not really used:
# - bzlib.h
# - db.h
# - expat.h
@@ -28,7 +28,7 @@
- CommonCrypto/CommonCryptor.h
- CommonCrypto/CommonDigest.h
- CommonCrypto/CommonHMAC.h
- - CommonCrypto/CommonKeyDerivation.h
+ - CommonCrypto/CommonKeyDerivation.h
- ConditionalMacros.h
- DiskArbitration/DiskArbitration.h
- Endian.h
@@ -109,18 +109,18 @@
- netinet/udp_var.h
- netinet6/in6.h
- nlist.h
- - objc/objc-sync.h
+ - objc/objc-sync.h
- objc/runtime.h
- os/lock.h
- os/proc.h
- - os/trace.h
+ - os/trace.h
- panel.h
- pthread_spis.h
- readline/history.h
- readline/readline.h
- readpassphrase.h
- runetype.h
- - simd/simd.h
+ - simd/simd.h
- strhash.h
- sys/_types.h
- sys/acl.h
@@ -159,7 +159,7 @@
- tzfile.h
- util.h
- vis.h
- - xpc/xpc.h
+ - xpc/xpc.h
# OSX frameworks
- Accelerate/Accelerate.h
diff --git a/build/sysincl/ibdrv.yml b/build/sysincl/ibdrv.yml
index 03aff58072..5cf2c36078 100644
--- a/build/sysincl/ibdrv.yml
+++ b/build/sysincl/ibdrv.yml
@@ -1,9 +1,9 @@
-# This file is conditionally included from ymake.core.conf to ensure
-# that contrib/libs/ibdrv/include/{infiniband/verbs.h,rdma/rdma_cma.h}
-# are the only ibdrv headers needed for opensource catboost
-# (transitively from library/cpp/netliba). They are replaced by empty
-# files in put_arcadia_to_git.sh.
-
+# This file is conditionally included from ymake.core.conf to ensure
+# that contrib/libs/ibdrv/include/{infiniband/verbs.h,rdma/rdma_cma.h}
+# are the only ibdrv headers needed for opensource catboost
+# (transitively from library/cpp/netliba). They are replaced by empty
+# files in put_arcadia_to_git.sh.
+
- source_filter: "^contrib/libs/ibdrv"
includes:
- infiniband/sa.h
diff --git a/build/sysincl/intrinsic.yml b/build/sysincl/intrinsic.yml
index 585c3b824e..9355b61c13 100644
--- a/build/sysincl/intrinsic.yml
+++ b/build/sysincl/intrinsic.yml
@@ -19,25 +19,25 @@
- ia64intrin.h
- immintrin.h
- intrin.h
- - intrinsics.h
+ - intrinsics.h
- lzcntintrin.h
- mm3dnow.h
- mmintrin.h
- - msa.h
+ - msa.h
- nmmintrin.h
- pmmintrin.h
- popcntintrin.h
- prfchwintrin.h
- rdseedintrin.h
- rtmintrin.h
- - s390intrin.h
- - sanitizer/asan_interface.h
+ - s390intrin.h
+ - sanitizer/asan_interface.h
- sanitizer/common_interface_defs.h
- - sanitizer/coverage_interface.h
- - sanitizer/lsan_interface.h
- - sanitizer/msan_interface.h
+ - sanitizer/coverage_interface.h
+ - sanitizer/lsan_interface.h
+ - sanitizer/msan_interface.h
- sanitizer/tsan_interface.h
- - sanitizer/tsan_interface_atomic.h
+ - sanitizer/tsan_interface_atomic.h
- smmintrin.h
- tbmintrin.h
- tmmintrin.h
diff --git a/build/sysincl/libc-to-musl.yml b/build/sysincl/libc-to-musl.yml
index 22b2b5fdb6..810dd8d697 100644
--- a/build/sysincl/libc-to-musl.yml
+++ b/build/sysincl/libc-to-musl.yml
@@ -72,183 +72,183 @@
# We want musl to resolve itself without these sysincls, but its test must have them
-- source_filter: "^(?!contrib/libs/musl)|^contrib/libs/musl/tests"
+- source_filter: "^(?!contrib/libs/musl)|^contrib/libs/musl/tests"
includes:
# libc & stl common headers
- - complex.h: contrib/libs/musl/include/complex.h
- - ctype.h: contrib/libs/musl/include/ctype.h
- - errno.h: contrib/libs/musl/include/errno.h
- - float.h: contrib/libs/musl/include/float.h
- - inttypes.h: contrib/libs/musl/include/inttypes.h
- - limits.h: contrib/libs/musl/include/limits.h
- - locale.h: contrib/libs/musl/include/locale.h
- - math.h: contrib/libs/musl/include/math.h
- - setjmp.h: contrib/libs/musl/include/setjmp.h
- - stdbool.h: contrib/libs/musl/include/stdbool.h
- - stddef.h: contrib/libs/musl/include/stddef.h
- - stdint.h: contrib/libs/musl/include/stdint.h
- - stdio.h: contrib/libs/musl/include/stdio.h
- - stdlib.h: contrib/libs/musl/include/stdlib.h
- - string.h: contrib/libs/musl/include/string.h
- - tgmath.h: contrib/libs/musl/include/tgmath.h
+ - complex.h: contrib/libs/musl/include/complex.h
+ - ctype.h: contrib/libs/musl/include/ctype.h
+ - errno.h: contrib/libs/musl/include/errno.h
+ - float.h: contrib/libs/musl/include/float.h
+ - inttypes.h: contrib/libs/musl/include/inttypes.h
+ - limits.h: contrib/libs/musl/include/limits.h
+ - locale.h: contrib/libs/musl/include/locale.h
+ - math.h: contrib/libs/musl/include/math.h
+ - setjmp.h: contrib/libs/musl/include/setjmp.h
+ - stdbool.h: contrib/libs/musl/include/stdbool.h
+ - stddef.h: contrib/libs/musl/include/stddef.h
+ - stdint.h: contrib/libs/musl/include/stdint.h
+ - stdio.h: contrib/libs/musl/include/stdio.h
+ - stdlib.h: contrib/libs/musl/include/stdlib.h
+ - string.h: contrib/libs/musl/include/string.h
+ - tgmath.h: contrib/libs/musl/include/tgmath.h
- threads.h: contrib/libs/musl/include/threads.h
- - wchar.h: contrib/libs/musl/include/wchar.h
- - wctype.h: contrib/libs/musl/include/wctype.h
+ - wchar.h: contrib/libs/musl/include/wchar.h
+ - wctype.h: contrib/libs/musl/include/wctype.h
# Rest of libc headers
- - aio.h: contrib/libs/musl/include/aio.h
- - alloca.h: contrib/libs/musl/include/alloca.h
- - ar.h: contrib/libs/musl/include/ar.h
- - arpa/inet.h: contrib/libs/musl/include/arpa/inet.h
- - arpa/nameser_compat.h: contrib/libs/musl/include/arpa/nameser_compat.h
- - arpa/nameser.h: contrib/libs/musl/include/arpa/nameser.h
- - arpa/telnet.h: contrib/libs/musl/include/arpa/telnet.h
- - arpa/tftp.h: contrib/libs/musl/include/arpa/tftp.h
- - assert.h: contrib/libs/musl/include/assert.h
- - byteswap.h: contrib/libs/musl/include/byteswap.h
- - cpio.h: contrib/libs/musl/include/cpio.h
- - crypt.h: contrib/libs/musl/include/crypt.h
- - dirent.h: contrib/libs/musl/include/dirent.h
- - dlfcn.h: contrib/libs/musl/include/dlfcn.h
- - elf.h: contrib/libs/musl/include/elf.h
- - endian.h: contrib/libs/musl/include/endian.h
- - err.h: contrib/libs/musl/include/err.h
- - fcntl.h: contrib/libs/musl/include/fcntl.h
- - features.h: contrib/libs/musl/include/features.h
- - fenv.h: contrib/libs/musl/include/fenv.h
- - fmtmsg.h: contrib/libs/musl/include/fmtmsg.h
- - fnmatch.h: contrib/libs/musl/include/fnmatch.h
- - ftw.h: contrib/libs/musl/include/ftw.h
- - getopt.h: contrib/libs/musl/include/getopt.h
- - glob.h: contrib/libs/musl/include/glob.h
- - grp.h: contrib/libs/musl/include/grp.h
- - iconv.h: contrib/libs/musl/include/iconv.h
- - ifaddrs.h: contrib/libs/musl/include/ifaddrs.h
- - iso646.h: contrib/libs/musl/include/iso646.h
- - langinfo.h: contrib/libs/musl/include/langinfo.h
- - lastlog.h: contrib/libs/musl/include/lastlog.h
- - libgen.h: contrib/libs/musl/include/libgen.h
- - libintl.h: contrib/libs/musl/include/libintl.h
- - link.h: contrib/libs/musl/include/link.h
- - malloc.h: contrib/libs/musl/include/malloc.h
- - memory.h: contrib/libs/musl/include/memory.h
- - mntent.h: contrib/libs/musl/include/mntent.h
- - monetary.h: contrib/libs/musl/include/monetary.h
- - mqueue.h: contrib/libs/musl/include/mqueue.h
- - netdb.h: contrib/libs/musl/include/netdb.h
- - net/ethernet.h: contrib/libs/musl/include/net/ethernet.h
- - net/if_arp.h: contrib/libs/musl/include/net/if_arp.h
- - net/if.h: contrib/libs/musl/include/net/if.h
- - netinet/ether.h: contrib/libs/musl/include/netinet/ether.h
- - netinet/icmp6.h: contrib/libs/musl/include/netinet/icmp6.h
- - netinet/if_ether.h: contrib/libs/musl/include/netinet/if_ether.h
- - netinet/igmp.h: contrib/libs/musl/include/netinet/igmp.h
- - netinet/in.h: contrib/libs/musl/include/netinet/in.h
- - netinet/in_systm.h: contrib/libs/musl/include/netinet/in_systm.h
- - netinet/ip6.h: contrib/libs/musl/include/netinet/ip6.h
- - netinet/ip.h: contrib/libs/musl/include/netinet/ip.h
- - netinet/ip_icmp.h: contrib/libs/musl/include/netinet/ip_icmp.h
- - netinet/tcp.h: contrib/libs/musl/include/netinet/tcp.h
- - netinet/udp.h: contrib/libs/musl/include/netinet/udp.h
- - netpacket/packet.h: contrib/libs/musl/include/netpacket/packet.h
- - net/route.h: contrib/libs/musl/include/net/route.h
- - nl_types.h: contrib/libs/musl/include/nl_types.h
- - paths.h: contrib/libs/musl/include/paths.h
- - poll.h: contrib/libs/musl/include/poll.h
- - pthread.h: contrib/libs/musl/include/pthread.h
- - pty.h: contrib/libs/musl/include/pty.h
- - pwd.h: contrib/libs/musl/include/pwd.h
- - regex.h: contrib/libs/musl/include/regex.h
- - resolv.h: contrib/libs/musl/include/resolv.h
- - sched.h: contrib/libs/musl/include/sched.h
- - scsi/scsi.h: contrib/libs/musl/include/scsi/scsi.h
- - search.h: contrib/libs/musl/include/search.h
- - semaphore.h: contrib/libs/musl/include/semaphore.h
- - shadow.h: contrib/libs/musl/include/shadow.h
- - signal.h: contrib/libs/musl/include/signal.h
- - spawn.h: contrib/libs/musl/include/spawn.h
- - stdalign.h: contrib/libs/musl/include/stdalign.h
- - stdarg.h: contrib/libs/musl/include/stdarg.h
- - stdio_ext.h: contrib/libs/musl/include/stdio_ext.h
- - stdnoreturn.h: contrib/libs/musl/include/stdnoreturn.h
- - strings.h: contrib/libs/musl/include/strings.h
- - stropts.h: contrib/libs/musl/include/stropts.h
- - sys/acct.h: contrib/libs/musl/include/sys/acct.h
- - sys/auxv.h: contrib/libs/musl/include/sys/auxv.h
- - sys/cachectl.h: contrib/libs/musl/include/sys/cachectl.h
- - syscall.h: contrib/libs/musl/include/syscall.h
- - sys/dir.h: contrib/libs/musl/include/sys/dir.h
- - sys/epoll.h: contrib/libs/musl/include/sys/epoll.h
- - sys/errno.h: contrib/libs/musl/include/sys/errno.h
- - sys/eventfd.h: contrib/libs/musl/include/sys/eventfd.h
- - sysexits.h: contrib/libs/musl/include/sysexits.h
- - sys/fcntl.h: contrib/libs/musl/include/sys/fcntl.h
- - sys/file.h: contrib/libs/musl/include/sys/file.h
- - sys/fsuid.h: contrib/libs/musl/include/sys/fsuid.h
- - sys/inotify.h: contrib/libs/musl/include/sys/inotify.h
- - sys/ioctl.h: contrib/libs/musl/include/sys/ioctl.h
- - sys/io.h: contrib/libs/musl/include/sys/io.h
- - sys/ipc.h: contrib/libs/musl/include/sys/ipc.h
- - sys/kd.h: contrib/libs/musl/include/sys/kd.h
- - syslog.h: contrib/libs/musl/include/syslog.h
- - sys/mman.h: contrib/libs/musl/include/sys/mman.h
- - sys/mount.h: contrib/libs/musl/include/sys/mount.h
- - sys/msg.h: contrib/libs/musl/include/sys/msg.h
- - sys/mtio.h: contrib/libs/musl/include/sys/mtio.h
- - sys/param.h: contrib/libs/musl/include/sys/param.h
- - sys/personality.h: contrib/libs/musl/include/sys/personality.h
- - sys/poll.h: contrib/libs/musl/include/sys/poll.h
- - sys/prctl.h: contrib/libs/musl/include/sys/prctl.h
- - sys/procfs.h: contrib/libs/musl/include/sys/procfs.h
- - sys/ptrace.h: contrib/libs/musl/include/sys/ptrace.h
- - sys/quota.h: contrib/libs/musl/include/sys/quota.h
- - sys/random.h: contrib/libs/musl/include/sys/random.h
- - sys/reboot.h: contrib/libs/musl/include/sys/reboot.h
- - sys/resource.h: contrib/libs/musl/include/sys/resource.h
- - sys/select.h: contrib/libs/musl/include/sys/select.h
- - sys/sem.h: contrib/libs/musl/include/sys/sem.h
- - sys/sendfile.h: contrib/libs/musl/include/sys/sendfile.h
- - sys/shm.h: contrib/libs/musl/include/sys/shm.h
- - sys/signalfd.h: contrib/libs/musl/include/sys/signalfd.h
- - sys/signal.h: contrib/libs/musl/include/sys/signal.h
- - sys/socket.h: contrib/libs/musl/include/sys/socket.h
- - sys/soundcard.h: contrib/libs/musl/include/sys/soundcard.h
- - sys/statfs.h: contrib/libs/musl/include/sys/statfs.h
- - sys/stat.h: contrib/libs/musl/include/sys/stat.h
- - sys/statvfs.h: contrib/libs/musl/include/sys/statvfs.h
- - sys/stropts.h: contrib/libs/musl/include/sys/stropts.h
- - sys/syscall.h: contrib/libs/musl/include/sys/syscall.h
- - sys/sysinfo.h: contrib/libs/musl/include/sys/sysinfo.h
- - sys/syslog.h: contrib/libs/musl/include/sys/syslog.h
- - sys/sysmacros.h: contrib/libs/musl/include/sys/sysmacros.h
- - sys/termios.h: contrib/libs/musl/include/sys/termios.h
- - sys/timeb.h: contrib/libs/musl/include/sys/timeb.h
- - sys/time.h: contrib/libs/musl/include/sys/time.h
- - sys/timerfd.h: contrib/libs/musl/include/sys/timerfd.h
- - sys/times.h: contrib/libs/musl/include/sys/times.h
- - sys/timex.h: contrib/libs/musl/include/sys/timex.h
- - sys/ttydefaults.h: contrib/libs/musl/include/sys/ttydefaults.h
- - sys/types.h: contrib/libs/musl/include/sys/types.h
- - sys/ucontext.h: contrib/libs/musl/include/sys/ucontext.h
- - sys/uio.h: contrib/libs/musl/include/sys/uio.h
- - sys/un.h: contrib/libs/musl/include/sys/un.h
- - sys/user.h: contrib/libs/musl/include/sys/user.h
- - sys/utsname.h: contrib/libs/musl/include/sys/utsname.h
- - sys/vfs.h: contrib/libs/musl/include/sys/vfs.h
- - sys/vt.h: contrib/libs/musl/include/sys/vt.h
- - sys/wait.h: contrib/libs/musl/include/sys/wait.h
- - sys/xattr.h: contrib/libs/musl/include/sys/xattr.h
- - tar.h: contrib/libs/musl/include/tar.h
- - termios.h: contrib/libs/musl/include/termios.h
+ - aio.h: contrib/libs/musl/include/aio.h
+ - alloca.h: contrib/libs/musl/include/alloca.h
+ - ar.h: contrib/libs/musl/include/ar.h
+ - arpa/inet.h: contrib/libs/musl/include/arpa/inet.h
+ - arpa/nameser_compat.h: contrib/libs/musl/include/arpa/nameser_compat.h
+ - arpa/nameser.h: contrib/libs/musl/include/arpa/nameser.h
+ - arpa/telnet.h: contrib/libs/musl/include/arpa/telnet.h
+ - arpa/tftp.h: contrib/libs/musl/include/arpa/tftp.h
+ - assert.h: contrib/libs/musl/include/assert.h
+ - byteswap.h: contrib/libs/musl/include/byteswap.h
+ - cpio.h: contrib/libs/musl/include/cpio.h
+ - crypt.h: contrib/libs/musl/include/crypt.h
+ - dirent.h: contrib/libs/musl/include/dirent.h
+ - dlfcn.h: contrib/libs/musl/include/dlfcn.h
+ - elf.h: contrib/libs/musl/include/elf.h
+ - endian.h: contrib/libs/musl/include/endian.h
+ - err.h: contrib/libs/musl/include/err.h
+ - fcntl.h: contrib/libs/musl/include/fcntl.h
+ - features.h: contrib/libs/musl/include/features.h
+ - fenv.h: contrib/libs/musl/include/fenv.h
+ - fmtmsg.h: contrib/libs/musl/include/fmtmsg.h
+ - fnmatch.h: contrib/libs/musl/include/fnmatch.h
+ - ftw.h: contrib/libs/musl/include/ftw.h
+ - getopt.h: contrib/libs/musl/include/getopt.h
+ - glob.h: contrib/libs/musl/include/glob.h
+ - grp.h: contrib/libs/musl/include/grp.h
+ - iconv.h: contrib/libs/musl/include/iconv.h
+ - ifaddrs.h: contrib/libs/musl/include/ifaddrs.h
+ - iso646.h: contrib/libs/musl/include/iso646.h
+ - langinfo.h: contrib/libs/musl/include/langinfo.h
+ - lastlog.h: contrib/libs/musl/include/lastlog.h
+ - libgen.h: contrib/libs/musl/include/libgen.h
+ - libintl.h: contrib/libs/musl/include/libintl.h
+ - link.h: contrib/libs/musl/include/link.h
+ - malloc.h: contrib/libs/musl/include/malloc.h
+ - memory.h: contrib/libs/musl/include/memory.h
+ - mntent.h: contrib/libs/musl/include/mntent.h
+ - monetary.h: contrib/libs/musl/include/monetary.h
+ - mqueue.h: contrib/libs/musl/include/mqueue.h
+ - netdb.h: contrib/libs/musl/include/netdb.h
+ - net/ethernet.h: contrib/libs/musl/include/net/ethernet.h
+ - net/if_arp.h: contrib/libs/musl/include/net/if_arp.h
+ - net/if.h: contrib/libs/musl/include/net/if.h
+ - netinet/ether.h: contrib/libs/musl/include/netinet/ether.h
+ - netinet/icmp6.h: contrib/libs/musl/include/netinet/icmp6.h
+ - netinet/if_ether.h: contrib/libs/musl/include/netinet/if_ether.h
+ - netinet/igmp.h: contrib/libs/musl/include/netinet/igmp.h
+ - netinet/in.h: contrib/libs/musl/include/netinet/in.h
+ - netinet/in_systm.h: contrib/libs/musl/include/netinet/in_systm.h
+ - netinet/ip6.h: contrib/libs/musl/include/netinet/ip6.h
+ - netinet/ip.h: contrib/libs/musl/include/netinet/ip.h
+ - netinet/ip_icmp.h: contrib/libs/musl/include/netinet/ip_icmp.h
+ - netinet/tcp.h: contrib/libs/musl/include/netinet/tcp.h
+ - netinet/udp.h: contrib/libs/musl/include/netinet/udp.h
+ - netpacket/packet.h: contrib/libs/musl/include/netpacket/packet.h
+ - net/route.h: contrib/libs/musl/include/net/route.h
+ - nl_types.h: contrib/libs/musl/include/nl_types.h
+ - paths.h: contrib/libs/musl/include/paths.h
+ - poll.h: contrib/libs/musl/include/poll.h
+ - pthread.h: contrib/libs/musl/include/pthread.h
+ - pty.h: contrib/libs/musl/include/pty.h
+ - pwd.h: contrib/libs/musl/include/pwd.h
+ - regex.h: contrib/libs/musl/include/regex.h
+ - resolv.h: contrib/libs/musl/include/resolv.h
+ - sched.h: contrib/libs/musl/include/sched.h
+ - scsi/scsi.h: contrib/libs/musl/include/scsi/scsi.h
+ - search.h: contrib/libs/musl/include/search.h
+ - semaphore.h: contrib/libs/musl/include/semaphore.h
+ - shadow.h: contrib/libs/musl/include/shadow.h
+ - signal.h: contrib/libs/musl/include/signal.h
+ - spawn.h: contrib/libs/musl/include/spawn.h
+ - stdalign.h: contrib/libs/musl/include/stdalign.h
+ - stdarg.h: contrib/libs/musl/include/stdarg.h
+ - stdio_ext.h: contrib/libs/musl/include/stdio_ext.h
+ - stdnoreturn.h: contrib/libs/musl/include/stdnoreturn.h
+ - strings.h: contrib/libs/musl/include/strings.h
+ - stropts.h: contrib/libs/musl/include/stropts.h
+ - sys/acct.h: contrib/libs/musl/include/sys/acct.h
+ - sys/auxv.h: contrib/libs/musl/include/sys/auxv.h
+ - sys/cachectl.h: contrib/libs/musl/include/sys/cachectl.h
+ - syscall.h: contrib/libs/musl/include/syscall.h
+ - sys/dir.h: contrib/libs/musl/include/sys/dir.h
+ - sys/epoll.h: contrib/libs/musl/include/sys/epoll.h
+ - sys/errno.h: contrib/libs/musl/include/sys/errno.h
+ - sys/eventfd.h: contrib/libs/musl/include/sys/eventfd.h
+ - sysexits.h: contrib/libs/musl/include/sysexits.h
+ - sys/fcntl.h: contrib/libs/musl/include/sys/fcntl.h
+ - sys/file.h: contrib/libs/musl/include/sys/file.h
+ - sys/fsuid.h: contrib/libs/musl/include/sys/fsuid.h
+ - sys/inotify.h: contrib/libs/musl/include/sys/inotify.h
+ - sys/ioctl.h: contrib/libs/musl/include/sys/ioctl.h
+ - sys/io.h: contrib/libs/musl/include/sys/io.h
+ - sys/ipc.h: contrib/libs/musl/include/sys/ipc.h
+ - sys/kd.h: contrib/libs/musl/include/sys/kd.h
+ - syslog.h: contrib/libs/musl/include/syslog.h
+ - sys/mman.h: contrib/libs/musl/include/sys/mman.h
+ - sys/mount.h: contrib/libs/musl/include/sys/mount.h
+ - sys/msg.h: contrib/libs/musl/include/sys/msg.h
+ - sys/mtio.h: contrib/libs/musl/include/sys/mtio.h
+ - sys/param.h: contrib/libs/musl/include/sys/param.h
+ - sys/personality.h: contrib/libs/musl/include/sys/personality.h
+ - sys/poll.h: contrib/libs/musl/include/sys/poll.h
+ - sys/prctl.h: contrib/libs/musl/include/sys/prctl.h
+ - sys/procfs.h: contrib/libs/musl/include/sys/procfs.h
+ - sys/ptrace.h: contrib/libs/musl/include/sys/ptrace.h
+ - sys/quota.h: contrib/libs/musl/include/sys/quota.h
+ - sys/random.h: contrib/libs/musl/include/sys/random.h
+ - sys/reboot.h: contrib/libs/musl/include/sys/reboot.h
+ - sys/resource.h: contrib/libs/musl/include/sys/resource.h
+ - sys/select.h: contrib/libs/musl/include/sys/select.h
+ - sys/sem.h: contrib/libs/musl/include/sys/sem.h
+ - sys/sendfile.h: contrib/libs/musl/include/sys/sendfile.h
+ - sys/shm.h: contrib/libs/musl/include/sys/shm.h
+ - sys/signalfd.h: contrib/libs/musl/include/sys/signalfd.h
+ - sys/signal.h: contrib/libs/musl/include/sys/signal.h
+ - sys/socket.h: contrib/libs/musl/include/sys/socket.h
+ - sys/soundcard.h: contrib/libs/musl/include/sys/soundcard.h
+ - sys/statfs.h: contrib/libs/musl/include/sys/statfs.h
+ - sys/stat.h: contrib/libs/musl/include/sys/stat.h
+ - sys/statvfs.h: contrib/libs/musl/include/sys/statvfs.h
+ - sys/stropts.h: contrib/libs/musl/include/sys/stropts.h
+ - sys/syscall.h: contrib/libs/musl/include/sys/syscall.h
+ - sys/sysinfo.h: contrib/libs/musl/include/sys/sysinfo.h
+ - sys/syslog.h: contrib/libs/musl/include/sys/syslog.h
+ - sys/sysmacros.h: contrib/libs/musl/include/sys/sysmacros.h
+ - sys/termios.h: contrib/libs/musl/include/sys/termios.h
+ - sys/timeb.h: contrib/libs/musl/include/sys/timeb.h
+ - sys/time.h: contrib/libs/musl/include/sys/time.h
+ - sys/timerfd.h: contrib/libs/musl/include/sys/timerfd.h
+ - sys/times.h: contrib/libs/musl/include/sys/times.h
+ - sys/timex.h: contrib/libs/musl/include/sys/timex.h
+ - sys/ttydefaults.h: contrib/libs/musl/include/sys/ttydefaults.h
+ - sys/types.h: contrib/libs/musl/include/sys/types.h
+ - sys/ucontext.h: contrib/libs/musl/include/sys/ucontext.h
+ - sys/uio.h: contrib/libs/musl/include/sys/uio.h
+ - sys/un.h: contrib/libs/musl/include/sys/un.h
+ - sys/user.h: contrib/libs/musl/include/sys/user.h
+ - sys/utsname.h: contrib/libs/musl/include/sys/utsname.h
+ - sys/vfs.h: contrib/libs/musl/include/sys/vfs.h
+ - sys/vt.h: contrib/libs/musl/include/sys/vt.h
+ - sys/wait.h: contrib/libs/musl/include/sys/wait.h
+ - sys/xattr.h: contrib/libs/musl/include/sys/xattr.h
+ - tar.h: contrib/libs/musl/include/tar.h
+ - termios.h: contrib/libs/musl/include/termios.h
- threads.h: contrib/libs/musl/include/threads.h
- - time.h: contrib/libs/musl/include/time.h
- - uchar.h: contrib/libs/musl/include/uchar.h
- - ucontext.h: contrib/libs/musl/include/ucontext.h
- - ulimit.h: contrib/libs/musl/include/ulimit.h
- - unistd.h: contrib/libs/musl/include/unistd.h
- - utime.h: contrib/libs/musl/include/utime.h
- - utmp.h: contrib/libs/musl/include/utmp.h
- - utmpx.h: contrib/libs/musl/include/utmpx.h
- - values.h: contrib/libs/musl/include/values.h
- - wait.h: contrib/libs/musl/include/wait.h
- - wordexp.h: contrib/libs/musl/include/wordexp.h
+ - time.h: contrib/libs/musl/include/time.h
+ - uchar.h: contrib/libs/musl/include/uchar.h
+ - ucontext.h: contrib/libs/musl/include/ucontext.h
+ - ulimit.h: contrib/libs/musl/include/ulimit.h
+ - unistd.h: contrib/libs/musl/include/unistd.h
+ - utime.h: contrib/libs/musl/include/utime.h
+ - utmp.h: contrib/libs/musl/include/utmp.h
+ - utmpx.h: contrib/libs/musl/include/utmpx.h
+ - values.h: contrib/libs/musl/include/values.h
+ - wait.h: contrib/libs/musl/include/wait.h
+ - wordexp.h: contrib/libs/musl/include/wordexp.h
diff --git a/build/sysincl/libc-to-nothing.yml b/build/sysincl/libc-to-nothing.yml
index 3878cadc17..15a413cdbd 100644
--- a/build/sysincl/libc-to-nothing.yml
+++ b/build/sysincl/libc-to-nothing.yml
@@ -1,5 +1,5 @@
# We want musl to resolve itself without these sysincls, but its test must have them
-- source_filter: "^(?!contrib/libs/musl).*|^contrib/libs/musl/tests"
+- source_filter: "^(?!contrib/libs/musl).*|^contrib/libs/musl/tests"
includes:
- aio.h
- alloca.h
@@ -43,7 +43,7 @@
- netdb.h
- net/ethernet.h
- net/if_arp.h
- - net/if_ppp.h
+ - net/if_ppp.h
- net/if.h
- netinet/ether.h
- netinet/icmp6.h
@@ -57,7 +57,7 @@
- netinet/tcp.h
- netinet/udp.h
- netpacket/packet.h
- - netrom/netrom.h
+ - netrom/netrom.h
- net/route.h
- nl_types.h
- paths.h
@@ -68,7 +68,7 @@
- regex.h
- resolv.h
- sched.h
- - scsi/scsi.h
+ - scsi/scsi.h
- search.h
- semaphore.h
- shadow.h
@@ -96,7 +96,7 @@
- sys/ioctl.h
- sys/io.h
- sys/ipc.h
- - sys/kd.h
+ - sys/kd.h
- syslog.h
- sys/mman.h
- sys/mount.h
@@ -141,7 +141,7 @@
- sys/user.h
- sys/utsname.h
- sys/vfs.h
- - sys/vt.h
+ - sys/vt.h
- sys/wait.h
- sys/xattr.h
- tar.h
diff --git a/build/sysincl/linux-headers.yml b/build/sysincl/linux-headers.yml
index 497f1f96b5..2b1d548175 100644
--- a/build/sysincl/linux-headers.yml
+++ b/build/sysincl/linux-headers.yml
@@ -1,1122 +1,1122 @@
-# Generated by devtools/yamaker.
-- includes:
- - asm-generic/auxvec.h
- - asm-generic/bitsperlong.h
- - asm-generic/bpf_perf_event.h
- - asm-generic/errno-base.h
- - asm-generic/errno.h
- - asm-generic/fcntl.h
- - asm-generic/hugetlb_encode.h
- - asm-generic/int-l64.h
- - asm-generic/int-ll64.h
- - asm-generic/ioctl.h
- - asm-generic/ioctls.h
- - asm-generic/ipcbuf.h
- - asm-generic/kvm_para.h
- - asm-generic/mman-common.h
- - asm-generic/mman.h
- - asm-generic/msgbuf.h
- - asm-generic/param.h
- - asm-generic/poll.h
- - asm-generic/posix_types.h
- - asm-generic/resource.h
- - asm-generic/sembuf.h
- - asm-generic/setup.h
- - asm-generic/shmbuf.h
- - asm-generic/siginfo.h
- - asm-generic/signal-defs.h
- - asm-generic/signal.h
- - asm-generic/socket.h
- - asm-generic/sockios.h
- - asm-generic/stat.h
- - asm-generic/statfs.h
- - asm-generic/swab.h
- - asm-generic/termbits.h
- - asm-generic/termios.h
- - asm-generic/types.h
- - asm-generic/ucontext.h
- - asm-generic/unistd.h
- - asm/a.out.h
- - asm/a.out_x86.h
- - asm/auxvec.h
- - asm/auxvec_arm.h
- - asm/auxvec_arm64.h
- - asm/auxvec_powerpc.h
- - asm/auxvec_x86.h
- - asm/bitsperlong.h
- - asm/bitsperlong_arm.h
- - asm/bitsperlong_arm64.h
- - asm/bitsperlong_powerpc.h
- - asm/bitsperlong_x86.h
- - asm/boot.h
- - asm/boot_x86.h
- - asm/bootparam.h
- - asm/bootparam_x86.h
- - asm/bootx.h
- - asm/bootx_powerpc.h
- - asm/bpf_perf_event.h
- - asm/bpf_perf_event_arm.h
- - asm/bpf_perf_event_arm64.h
- - asm/bpf_perf_event_powerpc.h
- - asm/bpf_perf_event_x86.h
- - asm/byteorder.h
- - asm/byteorder_arm.h
- - asm/byteorder_arm64.h
- - asm/byteorder_powerpc.h
- - asm/byteorder_x86.h
- - asm/cputable.h
- - asm/cputable_powerpc.h
- - asm/debugreg.h
- - asm/debugreg_x86.h
- - asm/e820.h
- - asm/e820_x86.h
- - asm/eeh.h
- - asm/eeh_powerpc.h
- - asm/elf.h
- - asm/elf_powerpc.h
- - asm/epapr_hcalls.h
- - asm/epapr_hcalls_powerpc.h
- - asm/errno.h
- - asm/errno_arm.h
- - asm/errno_arm64.h
- - asm/errno_powerpc.h
- - asm/errno_x86.h
- - asm/fcntl.h
- - asm/fcntl_arm.h
- - asm/fcntl_arm64.h
- - asm/fcntl_powerpc.h
- - asm/fcntl_x86.h
- - asm/hw_breakpoint.h
- - asm/hw_breakpoint_x86.h
- - asm/hwcap.h
- - asm/hwcap2.h
- - asm/hwcap2_x86.h
- - asm/hwcap_arm.h
- - asm/hwcap_arm64.h
- - asm/ioctl.h
- - asm/ioctl_arm.h
- - asm/ioctl_arm64.h
- - asm/ioctl_powerpc.h
- - asm/ioctl_x86.h
- - asm/ioctls.h
- - asm/ioctls_arm.h
- - asm/ioctls_arm64.h
- - asm/ioctls_powerpc.h
- - asm/ioctls_x86.h
- - asm/ipcbuf.h
- - asm/ipcbuf_arm.h
- - asm/ipcbuf_arm64.h
- - asm/ipcbuf_powerpc.h
- - asm/ipcbuf_x86.h
- - asm/ist.h
- - asm/ist_x86.h
- - asm/kvm.h
- - asm/kvm_arm64.h
- - asm/kvm_para.h
- - asm/kvm_para_arm.h
- - asm/kvm_para_arm64.h
- - asm/kvm_para_powerpc.h
- - asm/kvm_para_x86.h
- - asm/kvm_perf.h
- - asm/kvm_perf_x86.h
- - asm/kvm_powerpc.h
- - asm/kvm_x86.h
- - asm/ldt.h
- - asm/ldt_x86.h
- - asm/mce.h
- - asm/mce_x86.h
- - asm/mman.h
- - asm/mman_arm.h
- - asm/mman_arm64.h
- - asm/mman_powerpc.h
- - asm/mman_x86.h
- - asm/msgbuf.h
- - asm/msgbuf_arm.h
- - asm/msgbuf_arm64.h
- - asm/msgbuf_powerpc.h
- - asm/msgbuf_x86.h
- - asm/msr.h
- - asm/msr_x86.h
- - asm/mtrr.h
- - asm/mtrr_x86.h
- - asm/nvram.h
- - asm/nvram_powerpc.h
- - asm/opal-prd.h
- - asm/opal-prd_powerpc.h
- - asm/param.h
- - asm/param_arm.h
- - asm/param_arm64.h
- - asm/param_powerpc.h
- - asm/param_x86.h
- - asm/perf_event.h
- - asm/perf_event_powerpc.h
- - asm/perf_regs.h
- - asm/perf_regs_arm.h
- - asm/perf_regs_arm64.h
- - asm/perf_regs_powerpc.h
- - asm/perf_regs_x86.h
- - asm/poll.h
- - asm/posix_types.h
- - asm/posix_types_32.h
- - asm/posix_types_32_x86.h
- - asm/posix_types_64.h
- - asm/posix_types_64_x86.h
- - asm/posix_types_arm.h
- - asm/posix_types_arm64.h
- - asm/posix_types_powerpc.h
- - asm/posix_types_x32.h
- - asm/posix_types_x32_x86.h
- - asm/posix_types_x86.h
- - asm/prctl.h
- - asm/prctl_x86.h
- - asm/processor-flags.h
- - asm/processor-flags_x86.h
- - asm/ps3fb.h
- - asm/ps3fb_powerpc.h
- - asm/ptrace-abi.h
- - asm/ptrace-abi_x86.h
- - asm/ptrace.h
- - asm/ptrace_arm.h
- - asm/ptrace_arm64.h
- - asm/ptrace_powerpc.h
- - asm/ptrace_x86.h
- - asm/resource.h
- - asm/sembuf.h
- - asm/sembuf_arm.h
- - asm/sembuf_arm64.h
- - asm/sembuf_powerpc.h
- - asm/sembuf_x86.h
- - asm/setup.h
- - asm/setup_arm.h
- - asm/setup_arm64.h
- - asm/setup_powerpc.h
- - asm/setup_x86.h
- - asm/shmbuf.h
- - asm/shmbuf_arm.h
- - asm/shmbuf_arm64.h
- - asm/shmbuf_powerpc.h
- - asm/shmbuf_x86.h
- - asm/sigcontext.h
- - asm/sigcontext32.h
- - asm/sigcontext32_x86.h
- - asm/sigcontext_arm.h
- - asm/sigcontext_arm64.h
- - asm/sigcontext_powerpc.h
- - asm/sigcontext_x86.h
- - asm/siginfo.h
- - asm/siginfo_arm.h
- - asm/siginfo_arm64.h
- - asm/siginfo_powerpc.h
- - asm/siginfo_x86.h
- - asm/signal.h
- - asm/signal_arm.h
- - asm/signal_arm64.h
- - asm/signal_powerpc.h
- - asm/signal_x86.h
- - asm/socket.h
- - asm/socket_arm.h
- - asm/socket_arm64.h
- - asm/socket_powerpc.h
- - asm/socket_x86.h
- - asm/sockios.h
- - asm/spu_info.h
- - asm/spu_info_powerpc.h
- - asm/stat.h
- - asm/stat_arm.h
- - asm/stat_arm64.h
- - asm/stat_powerpc.h
- - asm/stat_x86.h
- - asm/statfs.h
- - asm/statfs_arm.h
- - asm/statfs_arm64.h
- - asm/statfs_powerpc.h
- - asm/statfs_x86.h
- - asm/sve_context.h
- - asm/sve_context_arm64.h
- - asm/svm.h
- - asm/svm_x86.h
- - asm/swab.h
- - asm/swab_arm.h
- - asm/swab_arm64.h
- - asm/swab_powerpc.h
- - asm/swab_x86.h
- - asm/termbits.h
- - asm/termbits_arm.h
- - asm/termbits_arm64.h
- - asm/termbits_powerpc.h
- - asm/termbits_x86.h
- - asm/termios.h
- - asm/termios_arm.h
- - asm/termios_arm64.h
- - asm/termios_powerpc.h
- - asm/termios_x86.h
- - asm/tm.h
- - asm/tm_powerpc.h
- - asm/types.h
- - asm/types_arm.h
- - asm/types_arm64.h
- - asm/types_powerpc.h
- - asm/types_x86.h
- - asm/ucontext.h
- - asm/ucontext_arm64.h
- - asm/ucontext_powerpc.h
- - asm/ucontext_x86.h
- - asm/unistd-common.h
- - asm/unistd-common_arm.h
- - asm/unistd-eabi.h
- - asm/unistd-eabi_arm.h
- - asm/unistd-oabi.h
- - asm/unistd-oabi_arm.h
- - asm/unistd.h
- - asm/unistd_32.h
- - asm/unistd_32_powerpc.h
- - asm/unistd_32_x86.h
- - asm/unistd_64.h
- - asm/unistd_64_powerpc.h
- - asm/unistd_64_x86.h
- - asm/unistd_arm.h
- - asm/unistd_arm64.h
- - asm/unistd_powerpc.h
- - asm/unistd_x32.h
- - asm/unistd_x32_x86.h
- - asm/unistd_x86.h
- - asm/vm86.h
- - asm/vm86_x86.h
- - asm/vmx.h
- - asm/vmx_x86.h
- - asm/vsyscall.h
- - asm/vsyscall_x86.h
- - drm/amdgpu_drm.h
- - drm/armada_drm.h
- - drm/drm.h
- - drm/drm_fourcc.h
- - drm/drm_mode.h
- - drm/drm_sarea.h
- - drm/etnaviv_drm.h
- - drm/exynos_drm.h
- - drm/i810_drm.h
- - drm/i915_drm.h
- - drm/lima_drm.h
- - drm/mga_drm.h
- - drm/msm_drm.h
- - drm/nouveau_drm.h
- - drm/omap_drm.h
- - drm/panfrost_drm.h
- - drm/qxl_drm.h
- - drm/r128_drm.h
- - drm/radeon_drm.h
- - drm/savage_drm.h
- - drm/sis_drm.h
- - drm/tegra_drm.h
- - drm/v3d_drm.h
- - drm/vc4_drm.h
- - drm/vgem_drm.h
- - drm/via_drm.h
- - drm/virtgpu_drm.h
- - drm/vmwgfx_drm.h
- - linux/a.out.h
- - linux/a.out_x86.h
- - linux/acct.h
- - linux/adb.h
- - linux/adfs_fs.h
- - linux/affs_hardblocks.h
- - linux/agpgart.h
- - linux/aio_abi.h
- - linux/am437x-vpfe.h
- - linux/android/binder.h
- - linux/android/binderfs.h
- - linux/apm_bios.h
- - linux/arcfb.h
- - linux/arm_sdei.h
- - linux/aspeed-lpc-ctrl.h
- - linux/aspeed-p2a-ctrl.h
- - linux/atalk.h
- - linux/atm.h
- - linux/atm_eni.h
- - linux/atm_he.h
- - linux/atm_idt77105.h
- - linux/atm_nicstar.h
- - linux/atm_tcp.h
- - linux/atm_zatm.h
- - linux/atmapi.h
- - linux/atmarp.h
- - linux/atmbr2684.h
- - linux/atmclip.h
- - linux/atmdev.h
- - linux/atmioc.h
- - linux/atmlec.h
- - linux/atmmpc.h
- - linux/atmppp.h
- - linux/atmsap.h
- - linux/atmsvc.h
- - linux/audit.h
- - linux/auto_dev-ioctl.h
- - linux/auto_fs.h
- - linux/auto_fs4.h
- - linux/auxvec.h
- - linux/ax25.h
- - linux/batadv_packet.h
- - linux/batman_adv.h
- - linux/baycom.h
- - linux/bcache.h
- - linux/bcm933xx_hcs.h
- - linux/bfs_fs.h
- - linux/binfmts.h
- - linux/blkpg.h
- - linux/blktrace_api.h
- - linux/blkzoned.h
- - linux/bpf.h
- - linux/bpf_common.h
- - linux/bpf_perf_event.h
- - linux/bpfilter.h
- - linux/bpqether.h
- - linux/bsg.h
- - linux/bt-bmc.h
- - linux/btf.h
- - linux/btrfs.h
- - linux/btrfs_tree.h
- - linux/byteorder/big_endian.h
- - linux/byteorder/little_endian.h
- - linux/caif/caif_socket.h
- - linux/caif/if_caif.h
- - linux/can.h
- - linux/can/bcm.h
- - linux/can/error.h
- - linux/can/gw.h
- - linux/can/j1939.h
- - linux/can/netlink.h
- - linux/can/raw.h
- - linux/can/vxcan.h
- - linux/capability.h
- - linux/capi.h
- - linux/cciss_defs.h
- - linux/cciss_ioctl.h
- - linux/cdrom.h
- - linux/cec-funcs.h
- - linux/cec.h
- - linux/cgroupstats.h
- - linux/chio.h
- - linux/cifs/cifs_mount.h
- - linux/cm4000_cs.h
- - linux/cn_proc.h
- - linux/coda.h
- - linux/coff.h
- - linux/connector.h
- - linux/const.h
- - linux/coresight-stm.h
- - linux/cramfs_fs.h
- - linux/cryptouser.h
- - linux/cuda.h
- - linux/cyclades.h
- - linux/cycx_cfm.h
- - linux/dcbnl.h
- - linux/dccp.h
- - linux/devlink.h
- - linux/dlm.h
- - linux/dlm_device.h
- - linux/dlm_netlink.h
- - linux/dlm_plock.h
- - linux/dlmconstants.h
- - linux/dm-ioctl.h
- - linux/dm-log-userspace.h
- - linux/dma-buf.h
- - linux/dma-heap.h
- - linux/dn.h
- - linux/dns_resolver.h
- - linux/dqblk_xfs.h
- - linux/dvb/audio.h
- - linux/dvb/ca.h
- - linux/dvb/dmx.h
- - linux/dvb/frontend.h
- - linux/dvb/net.h
- - linux/dvb/osd.h
- - linux/dvb/version.h
- - linux/dvb/video.h
- - linux/edd.h
- - linux/efs_fs_sb.h
- - linux/elf-em.h
- - linux/elf-fdpic.h
- - linux/elf.h
- - linux/elfcore.h
- - linux/errno.h
- - linux/errqueue.h
- - linux/erspan.h
- - linux/ethtool.h
- - linux/ethtool_netlink.h
- - linux/eventpoll.h
- - linux/fadvise.h
- - linux/falloc.h
- - linux/fanotify.h
- - linux/fb.h
- - linux/fcntl.h
- - linux/fd.h
- - linux/fdreg.h
- - linux/fib_rules.h
- - linux/fiemap.h
- - linux/filter.h
- - linux/firewire-cdev.h
- - linux/firewire-constants.h
- - linux/fou.h
- - linux/fpga-dfl.h
- - linux/fs.h
- - linux/fscrypt.h
- - linux/fsi.h
- - linux/fsl_hypervisor.h
- - linux/fsmap.h
- - linux/fsverity.h
- - linux/fuse.h
- - linux/futex.h
- - linux/gameport.h
- - linux/gen_stats.h
- - linux/genetlink.h
- - linux/genwqe/genwqe_card.h
- - linux/gfs2_ondisk.h
- - linux/gpio.h
- - linux/gsmmux.h
- - linux/gtp.h
- - linux/hash_info.h
- - linux/hdlc.h
- - linux/hdlc/ioctl.h
- - linux/hdlcdrv.h
- - linux/hdreg.h
- - linux/hid.h
- - linux/hiddev.h
- - linux/hidraw.h
- - linux/hpet.h
- - linux/hsi/cs-protocol.h
- - linux/hsi/hsi_char.h
- - linux/hsr_netlink.h
- - linux/hw_breakpoint.h
- - linux/hyperv.h
- - linux/i2c-dev.h
- - linux/i2c.h
- - linux/i2o-dev.h
- - linux/i8k.h
- - linux/icmp.h
- - linux/icmpv6.h
- - linux/idxd.h
- - linux/if.h
- - linux/if_addr.h
- - linux/if_addrlabel.h
- - linux/if_alg.h
- - linux/if_arcnet.h
- - linux/if_arp.h
- - linux/if_bonding.h
- - linux/if_bridge.h
- - linux/if_cablemodem.h
- - linux/if_eql.h
- - linux/if_ether.h
- - linux/if_fc.h
- - linux/if_fddi.h
- - linux/if_frad.h
- - linux/if_hippi.h
- - linux/if_infiniband.h
- - linux/if_link.h
- - linux/if_ltalk.h
- - linux/if_macsec.h
- - linux/if_packet.h
- - linux/if_phonet.h
- - linux/if_plip.h
- - linux/if_ppp.h
- - linux/if_pppol2tp.h
- - linux/if_pppox.h
- - linux/if_slip.h
- - linux/if_team.h
- - linux/if_tun.h
- - linux/if_tunnel.h
- - linux/if_vlan.h
- - linux/if_x25.h
- - linux/if_xdp.h
- - linux/ife.h
- - linux/igmp.h
- - linux/iio/events.h
- - linux/iio/types.h
- - linux/ila.h
- - linux/in.h
- - linux/in6.h
- - linux/in_route.h
- - linux/inet_diag.h
- - linux/inotify.h
- - linux/input-event-codes.h
- - linux/input.h
- - linux/io_uring.h
- - linux/ioctl.h
- - linux/iommu.h
- - linux/ip.h
- - linux/ip6_tunnel.h
- - linux/ip_vs.h
- - linux/ipc.h
- - linux/ipmi.h
- - linux/ipmi_bmc.h
- - linux/ipmi_msgdefs.h
- - linux/ipsec.h
- - linux/ipv6.h
- - linux/ipv6_route.h
- - linux/ipx.h
- - linux/irqnr.h
- - linux/isdn/capicmd.h
- - linux/iso_fs.h
- - linux/isst_if.h
- - linux/ivtv.h
- - linux/ivtvfb.h
- - linux/jffs2.h
- - linux/joystick.h
- - linux/kcm.h
- - linux/kcmp.h
- - linux/kcov.h
- - linux/kd.h
- - linux/kdev_t.h
- - linux/kernel-page-flags.h
- - linux/kernel.h
- - linux/kernelcapi.h
- - linux/kexec.h
- - linux/keyboard.h
- - linux/keyctl.h
- - linux/kfd_ioctl.h
- - linux/kvm.h
- - linux/kvm_arm64.h
- - linux/kvm_para.h
- - linux/kvm_powerpc.h
- - linux/kvm_x86.h
- - linux/l2tp.h
- - linux/libc-compat.h
- - linux/lightnvm.h
- - linux/limits.h
- - linux/lirc.h
- - linux/llc.h
- - linux/loop.h
- - linux/lp.h
- - linux/lwtunnel.h
- - linux/magic.h
- - linux/major.h
- - linux/map_to_7segment.h
- - linux/matroxfb.h
- - linux/max2175.h
- - linux/mdio.h
- - linux/media-bus-format.h
- - linux/media.h
- - linux/mei.h
- - linux/membarrier.h
- - linux/memfd.h
- - linux/mempolicy.h
- - linux/meye.h
- - linux/mic_common.h
- - linux/mic_ioctl.h
- - linux/mii.h
- - linux/minix_fs.h
- - linux/mman.h
- - linux/mmc/ioctl.h
- - linux/mmtimer.h
- - linux/module.h
- - linux/mount.h
- - linux/mpls.h
- - linux/mpls_iptunnel.h
- - linux/mptcp.h
- - linux/mqueue.h
- - linux/mroute.h
- - linux/mroute6.h
- - linux/msdos_fs.h
- - linux/msg.h
- - linux/mtio.h
- - linux/n_r3964.h
- - linux/nbd-netlink.h
- - linux/nbd.h
- - linux/ncsi.h
- - linux/ndctl.h
- - linux/neighbour.h
- - linux/net.h
- - linux/net_dropmon.h
- - linux/net_namespace.h
- - linux/net_tstamp.h
- - linux/netconf.h
- - linux/netdevice.h
- - linux/netfilter.h
- - linux/netfilter/ipset/ip_set.h
- - linux/netfilter/ipset/ip_set_bitmap.h
- - linux/netfilter/ipset/ip_set_hash.h
- - linux/netfilter/ipset/ip_set_list.h
- - linux/netfilter/nf_conntrack_common.h
- - linux/netfilter/nf_conntrack_ftp.h
- - linux/netfilter/nf_conntrack_sctp.h
- - linux/netfilter/nf_conntrack_tcp.h
- - linux/netfilter/nf_conntrack_tuple_common.h
- - linux/netfilter/nf_log.h
- - linux/netfilter/nf_nat.h
- - linux/netfilter/nf_synproxy.h
- - linux/netfilter/nf_tables.h
- - linux/netfilter/nf_tables_compat.h
- - linux/netfilter/nfnetlink.h
- - linux/netfilter/nfnetlink_acct.h
- - linux/netfilter/nfnetlink_compat.h
- - linux/netfilter/nfnetlink_conntrack.h
- - linux/netfilter/nfnetlink_cthelper.h
- - linux/netfilter/nfnetlink_cttimeout.h
- - linux/netfilter/nfnetlink_log.h
- - linux/netfilter/nfnetlink_osf.h
- - linux/netfilter/nfnetlink_queue.h
- - linux/netfilter/x_tables.h
- - linux/netfilter/xt_AUDIT.h
- - linux/netfilter/xt_CHECKSUM.h
- - linux/netfilter/xt_CLASSIFY.h
- - linux/netfilter/xt_CONNMARK.h
- - linux/netfilter/xt_CONNSECMARK.h
- - linux/netfilter/xt_CT.h
- - linux/netfilter/xt_DSCP.h
- - linux/netfilter/xt_HMARK.h
- - linux/netfilter/xt_IDLETIMER.h
- - linux/netfilter/xt_LED.h
- - linux/netfilter/xt_LOG.h
- - linux/netfilter/xt_MARK.h
- - linux/netfilter/xt_NFLOG.h
- - linux/netfilter/xt_NFQUEUE.h
- - linux/netfilter/xt_RATEEST.h
- - linux/netfilter/xt_SECMARK.h
- - linux/netfilter/xt_SYNPROXY.h
- - linux/netfilter/xt_TCPMSS.h
- - linux/netfilter/xt_TCPOPTSTRIP.h
- - linux/netfilter/xt_TEE.h
- - linux/netfilter/xt_TPROXY.h
- - linux/netfilter/xt_addrtype.h
- - linux/netfilter/xt_bpf.h
- - linux/netfilter/xt_cgroup.h
- - linux/netfilter/xt_cluster.h
- - linux/netfilter/xt_comment.h
- - linux/netfilter/xt_connbytes.h
- - linux/netfilter/xt_connlabel.h
- - linux/netfilter/xt_connlimit.h
- - linux/netfilter/xt_connmark.h
- - linux/netfilter/xt_conntrack.h
- - linux/netfilter/xt_cpu.h
- - linux/netfilter/xt_dccp.h
- - linux/netfilter/xt_devgroup.h
- - linux/netfilter/xt_dscp.h
- - linux/netfilter/xt_ecn.h
- - linux/netfilter/xt_esp.h
- - linux/netfilter/xt_hashlimit.h
- - linux/netfilter/xt_helper.h
- - linux/netfilter/xt_ipcomp.h
- - linux/netfilter/xt_iprange.h
- - linux/netfilter/xt_ipvs.h
- - linux/netfilter/xt_l2tp.h
- - linux/netfilter/xt_length.h
- - linux/netfilter/xt_limit.h
- - linux/netfilter/xt_mac.h
- - linux/netfilter/xt_mark.h
- - linux/netfilter/xt_multiport.h
- - linux/netfilter/xt_nfacct.h
- - linux/netfilter/xt_osf.h
- - linux/netfilter/xt_owner.h
- - linux/netfilter/xt_physdev.h
- - linux/netfilter/xt_pkttype.h
- - linux/netfilter/xt_policy.h
- - linux/netfilter/xt_quota.h
- - linux/netfilter/xt_rateest.h
- - linux/netfilter/xt_realm.h
- - linux/netfilter/xt_recent.h
- - linux/netfilter/xt_rpfilter.h
- - linux/netfilter/xt_sctp.h
- - linux/netfilter/xt_set.h
- - linux/netfilter/xt_socket.h
- - linux/netfilter/xt_state.h
- - linux/netfilter/xt_statistic.h
- - linux/netfilter/xt_string.h
- - linux/netfilter/xt_tcpmss.h
- - linux/netfilter/xt_tcpudp.h
- - linux/netfilter/xt_time.h
- - linux/netfilter/xt_u32.h
- - linux/netfilter_arp.h
- - linux/netfilter_arp/arp_tables.h
- - linux/netfilter_arp/arpt_mangle.h
- - linux/netfilter_bridge.h
- - linux/netfilter_bridge/ebt_802_3.h
- - linux/netfilter_bridge/ebt_among.h
- - linux/netfilter_bridge/ebt_arp.h
- - linux/netfilter_bridge/ebt_arpreply.h
- - linux/netfilter_bridge/ebt_ip.h
- - linux/netfilter_bridge/ebt_ip6.h
- - linux/netfilter_bridge/ebt_limit.h
- - linux/netfilter_bridge/ebt_log.h
- - linux/netfilter_bridge/ebt_mark_m.h
- - linux/netfilter_bridge/ebt_mark_t.h
- - linux/netfilter_bridge/ebt_nat.h
- - linux/netfilter_bridge/ebt_nflog.h
- - linux/netfilter_bridge/ebt_pkttype.h
- - linux/netfilter_bridge/ebt_redirect.h
- - linux/netfilter_bridge/ebt_stp.h
- - linux/netfilter_bridge/ebt_vlan.h
- - linux/netfilter_bridge/ebtables.h
- - linux/netfilter_decnet.h
- - linux/netfilter_ipv4.h
- - linux/netfilter_ipv4/ip_tables.h
- - linux/netfilter_ipv4/ipt_CLUSTERIP.h
- - linux/netfilter_ipv4/ipt_ECN.h
- - linux/netfilter_ipv4/ipt_LOG.h
- - linux/netfilter_ipv4/ipt_REJECT.h
- - linux/netfilter_ipv4/ipt_TTL.h
- - linux/netfilter_ipv4/ipt_ah.h
- - linux/netfilter_ipv4/ipt_ecn.h
- - linux/netfilter_ipv4/ipt_ttl.h
- - linux/netfilter_ipv6.h
- - linux/netfilter_ipv6/ip6_tables.h
- - linux/netfilter_ipv6/ip6t_HL.h
- - linux/netfilter_ipv6/ip6t_LOG.h
- - linux/netfilter_ipv6/ip6t_NPT.h
- - linux/netfilter_ipv6/ip6t_REJECT.h
- - linux/netfilter_ipv6/ip6t_ah.h
- - linux/netfilter_ipv6/ip6t_frag.h
- - linux/netfilter_ipv6/ip6t_hl.h
- - linux/netfilter_ipv6/ip6t_ipv6header.h
- - linux/netfilter_ipv6/ip6t_mh.h
- - linux/netfilter_ipv6/ip6t_opts.h
- - linux/netfilter_ipv6/ip6t_rt.h
- - linux/netfilter_ipv6/ip6t_srh.h
- - linux/netlink.h
- - linux/netlink_diag.h
- - linux/netrom.h
- - linux/nexthop.h
- - linux/nfc.h
- - linux/nfs.h
- - linux/nfs2.h
- - linux/nfs3.h
- - linux/nfs4.h
- - linux/nfs4_mount.h
- - linux/nfs_fs.h
- - linux/nfs_idmap.h
- - linux/nfs_mount.h
- - linux/nfsacl.h
- - linux/nfsd/cld.h
- - linux/nfsd/debug.h
- - linux/nfsd/export.h
- - linux/nfsd/nfsfh.h
- - linux/nfsd/stats.h
- - linux/nilfs2_api.h
- - linux/nilfs2_ondisk.h
- - linux/nl80211.h
- - linux/nsfs.h
- - linux/nubus.h
- - linux/nvme_ioctl.h
- - linux/nvram.h
- - linux/omap3isp.h
- - linux/omapfb.h
- - linux/oom.h
- - linux/openat2.h
- - linux/openvswitch.h
- - linux/packet_diag.h
- - linux/param.h
- - linux/parport.h
- - linux/patchkey.h
- - linux/pci.h
- - linux/pci_regs.h
- - linux/pcitest.h
- - linux/perf_event.h
- - linux/personality.h
- - linux/pfkeyv2.h
- - linux/pg.h
- - linux/phantom.h
- - linux/phonet.h
- - linux/pkt_cls.h
- - linux/pkt_sched.h
- - linux/pktcdvd.h
- - linux/pmu.h
- - linux/poll.h
- - linux/posix_acl.h
- - linux/posix_acl_xattr.h
- - linux/posix_types.h
- - linux/ppdev.h
- - linux/ppp-comp.h
- - linux/ppp-ioctl.h
- - linux/ppp_defs.h
- - linux/pps.h
- - linux/pr.h
- - linux/prctl.h
- - linux/psample.h
- - linux/psci.h
- - linux/psp-sev.h
- - linux/ptp_clock.h
- - linux/ptrace.h
- - linux/qemu_fw_cfg.h
- - linux/qnx4_fs.h
- - linux/qnxtypes.h
- - linux/qrtr.h
- - linux/quota.h
- - linux/radeonfb.h
- - linux/raid/md_p.h
- - linux/raid/md_u.h
- - linux/random.h
- - linux/raw.h
- - linux/rds.h
- - linux/reboot.h
- - linux/reiserfs_fs.h
- - linux/reiserfs_xattr.h
- - linux/resource.h
- - linux/rfkill.h
- - linux/rio_cm_cdev.h
- - linux/rio_mport_cdev.h
- - linux/romfs_fs.h
- - linux/rose.h
- - linux/route.h
- - linux/rpl.h
- - linux/rpl_iptunnel.h
- - linux/rpmsg.h
- - linux/rseq.h
- - linux/rtc.h
- - linux/rtnetlink.h
- - linux/rxrpc.h
- - linux/scc.h
- - linux/sched.h
- - linux/sched/types.h
- - linux/scif_ioctl.h
- - linux/screen_info.h
- - linux/sctp.h
- - linux/sdla.h
- - linux/seccomp.h
- - linux/securebits.h
- - linux/sed-opal.h
- - linux/seg6.h
- - linux/seg6_genl.h
- - linux/seg6_hmac.h
- - linux/seg6_iptunnel.h
- - linux/seg6_local.h
- - linux/selinux_netlink.h
- - linux/sem.h
- - linux/serial.h
- - linux/serial_core.h
- - linux/serial_reg.h
- - linux/serio.h
- - linux/shm.h
- - linux/signal.h
- - linux/signalfd.h
- - linux/smc.h
- - linux/smc_diag.h
- - linux/smiapp.h
- - linux/snmp.h
- - linux/sock_diag.h
- - linux/socket.h
- - linux/sockios.h
- - linux/sonet.h
- - linux/sonypi.h
- - linux/sound.h
- - linux/soundcard.h
- - linux/spi/spidev.h
- - linux/stat.h
- - linux/stddef.h
- - linux/stm.h
- - linux/string.h
- - linux/sunrpc/debug.h
- - linux/suspend_ioctls.h
- - linux/swab.h
- - linux/switchtec_ioctl.h
- - linux/sync_file.h
- - linux/synclink.h
- - linux/sysctl.h
- - linux/sysinfo.h
- - linux/target_core_user.h
- - linux/taskstats.h
- - linux/tc_act/tc_bpf.h
- - linux/tc_act/tc_connmark.h
- - linux/tc_act/tc_csum.h
- - linux/tc_act/tc_ct.h
- - linux/tc_act/tc_ctinfo.h
- - linux/tc_act/tc_defact.h
- - linux/tc_act/tc_gact.h
- - linux/tc_act/tc_ife.h
- - linux/tc_act/tc_ipt.h
- - linux/tc_act/tc_mirred.h
- - linux/tc_act/tc_mpls.h
- - linux/tc_act/tc_nat.h
- - linux/tc_act/tc_pedit.h
- - linux/tc_act/tc_sample.h
- - linux/tc_act/tc_skbedit.h
- - linux/tc_act/tc_skbmod.h
- - linux/tc_act/tc_tunnel_key.h
- - linux/tc_act/tc_vlan.h
- - linux/tc_ematch/tc_em_cmp.h
- - linux/tc_ematch/tc_em_ipt.h
- - linux/tc_ematch/tc_em_meta.h
- - linux/tc_ematch/tc_em_nbyte.h
- - linux/tc_ematch/tc_em_text.h
- - linux/tcp.h
- - linux/tcp_metrics.h
- - linux/tee.h
- - linux/termios.h
- - linux/thermal.h
- - linux/time.h
- - linux/time_types.h
- - linux/timerfd.h
- - linux/times.h
- - linux/timex.h
- - linux/tiocl.h
- - linux/tipc.h
- - linux/tipc_config.h
- - linux/tipc_netlink.h
- - linux/tipc_sockets_diag.h
- - linux/tls.h
- - linux/toshiba.h
- - linux/tty.h
- - linux/tty_flags.h
- - linux/types.h
- - linux/udf_fs_i.h
- - linux/udmabuf.h
- - linux/udp.h
- - linux/uhid.h
- - linux/uinput.h
- - linux/uio.h
- - linux/uleds.h
- - linux/ultrasound.h
- - linux/um_timetravel.h
- - linux/un.h
- - linux/unistd.h
- - linux/unix_diag.h
- - linux/usb/audio.h
- - linux/usb/cdc-wdm.h
- - linux/usb/cdc.h
- - linux/usb/ch11.h
- - linux/usb/ch9.h
- - linux/usb/charger.h
- - linux/usb/functionfs.h
- - linux/usb/g_printer.h
- - linux/usb/g_uvc.h
- - linux/usb/gadgetfs.h
- - linux/usb/midi.h
- - linux/usb/raw_gadget.h
- - linux/usb/tmc.h
- - linux/usb/video.h
- - linux/usbdevice_fs.h
- - linux/usbip.h
- - linux/userfaultfd.h
- - linux/userio.h
- - linux/utime.h
- - linux/utsname.h
- - linux/uuid.h
- - linux/uvcvideo.h
- - linux/v4l2-common.h
- - linux/v4l2-controls.h
- - linux/v4l2-dv-timings.h
- - linux/v4l2-mediabus.h
- - linux/v4l2-subdev.h
- - linux/vbox_err.h
- - linux/vbox_vmmdev_types.h
- - linux/vboxguest.h
- - linux/version.h
- - linux/veth.h
- - linux/vfio.h
- - linux/vfio_ccw.h
- - linux/vhost.h
- - linux/vhost_types.h
- - linux/videodev2.h
- - linux/virtio_9p.h
- - linux/virtio_balloon.h
- - linux/virtio_blk.h
- - linux/virtio_config.h
- - linux/virtio_console.h
- - linux/virtio_crypto.h
- - linux/virtio_fs.h
- - linux/virtio_gpu.h
- - linux/virtio_ids.h
- - linux/virtio_input.h
- - linux/virtio_iommu.h
- - linux/virtio_mmio.h
- - linux/virtio_net.h
- - linux/virtio_pci.h
- - linux/virtio_pmem.h
- - linux/virtio_ring.h
- - linux/virtio_rng.h
- - linux/virtio_scsi.h
- - linux/virtio_types.h
- - linux/virtio_vsock.h
- - linux/vm_sockets.h
- - linux/vm_sockets_diag.h
- - linux/vmcore.h
- - linux/vsockmon.h
- - linux/vt.h
- - linux/vtpm_proxy.h
- - linux/wait.h
- - linux/watchdog.h
- - linux/wimax.h
- - linux/wimax/i2400m.h
- - linux/wireguard.h
- - linux/wireless.h
- - linux/wmi.h
- - linux/x25.h
- - linux/xattr.h
- - linux/xdp_diag.h
- - linux/xfrm.h
- - linux/xilinx-v4l2-controls.h
- - linux/zorro.h
- - linux/zorro_ids.h
- - misc/cxl.h
- - misc/fastrpc.h
- - misc/habanalabs.h
- - misc/ocxl.h
- - misc/pvpanic.h
- - misc/uacce/hisi_qm.h
- - misc/uacce/uacce.h
- - misc/xilinx_sdfec.h
- - mtd/inftl-user.h
- - mtd/mtd-abi.h
- - mtd/mtd-user.h
- - mtd/nftl-user.h
- - mtd/ubi-user.h
- - rdma/bnxt_re-abi.h
- - rdma/cxgb4-abi.h
- - rdma/efa-abi.h
- - rdma/hfi/hfi1_ioctl.h
- - rdma/hfi/hfi1_user.h
- - rdma/hns-abi.h
- - rdma/i40iw-abi.h
- - rdma/ib_user_ioctl_cmds.h
- - rdma/ib_user_ioctl_verbs.h
- - rdma/ib_user_mad.h
- - rdma/ib_user_sa.h
- - rdma/ib_user_verbs.h
- - rdma/mlx4-abi.h
- - rdma/mlx5-abi.h
- - rdma/mlx5_user_ioctl_cmds.h
- - rdma/mlx5_user_ioctl_verbs.h
- - rdma/mthca-abi.h
- - rdma/ocrdma-abi.h
- - rdma/qedr-abi.h
- - rdma/rdma_netlink.h
- - rdma/rdma_user_cm.h
- - rdma/rdma_user_ioctl.h
- - rdma/rdma_user_ioctl_cmds.h
- - rdma/rdma_user_rxe.h
- - rdma/rvt-abi.h
- - rdma/siw-abi.h
- - rdma/vmw_pvrdma-abi.h
- - scsi/cxlflash_ioctl.h
- - scsi/fc/fc_els.h
- - scsi/fc/fc_fs.h
- - scsi/fc/fc_gs.h
- - scsi/fc/fc_ns.h
- - scsi/scsi_bsg_fc.h
- - scsi/scsi_bsg_ufs.h
- - scsi/scsi_netlink.h
- - scsi/scsi_netlink_fc.h
- - sound/asequencer.h
- - sound/asoc.h
- - sound/asound.h
- - sound/asound_fm.h
- - sound/compress_offload.h
- - sound/compress_params.h
- - sound/emu10k1.h
- - sound/firewire.h
- - sound/hdsp.h
- - sound/hdspm.h
- - sound/sb16_csp.h
- - sound/sfnt_info.h
- - sound/skl-tplg-interface.h
- - sound/snd_sst_tokens.h
- - sound/sof/abi.h
- - sound/sof/fw.h
- - sound/sof/header.h
- - sound/sof/tokens.h
- - sound/tlv.h
- - sound/usb_stream.h
- - video/edid.h
- - video/sisfb.h
- - video/uvesafb.h
- - xen/evtchn.h
- - xen/gntalloc.h
- - xen/gntdev.h
- - xen/privcmd.h
+# Generated by devtools/yamaker.
+- includes:
+ - asm-generic/auxvec.h
+ - asm-generic/bitsperlong.h
+ - asm-generic/bpf_perf_event.h
+ - asm-generic/errno-base.h
+ - asm-generic/errno.h
+ - asm-generic/fcntl.h
+ - asm-generic/hugetlb_encode.h
+ - asm-generic/int-l64.h
+ - asm-generic/int-ll64.h
+ - asm-generic/ioctl.h
+ - asm-generic/ioctls.h
+ - asm-generic/ipcbuf.h
+ - asm-generic/kvm_para.h
+ - asm-generic/mman-common.h
+ - asm-generic/mman.h
+ - asm-generic/msgbuf.h
+ - asm-generic/param.h
+ - asm-generic/poll.h
+ - asm-generic/posix_types.h
+ - asm-generic/resource.h
+ - asm-generic/sembuf.h
+ - asm-generic/setup.h
+ - asm-generic/shmbuf.h
+ - asm-generic/siginfo.h
+ - asm-generic/signal-defs.h
+ - asm-generic/signal.h
+ - asm-generic/socket.h
+ - asm-generic/sockios.h
+ - asm-generic/stat.h
+ - asm-generic/statfs.h
+ - asm-generic/swab.h
+ - asm-generic/termbits.h
+ - asm-generic/termios.h
+ - asm-generic/types.h
+ - asm-generic/ucontext.h
+ - asm-generic/unistd.h
+ - asm/a.out.h
+ - asm/a.out_x86.h
+ - asm/auxvec.h
+ - asm/auxvec_arm.h
+ - asm/auxvec_arm64.h
+ - asm/auxvec_powerpc.h
+ - asm/auxvec_x86.h
+ - asm/bitsperlong.h
+ - asm/bitsperlong_arm.h
+ - asm/bitsperlong_arm64.h
+ - asm/bitsperlong_powerpc.h
+ - asm/bitsperlong_x86.h
+ - asm/boot.h
+ - asm/boot_x86.h
+ - asm/bootparam.h
+ - asm/bootparam_x86.h
+ - asm/bootx.h
+ - asm/bootx_powerpc.h
+ - asm/bpf_perf_event.h
+ - asm/bpf_perf_event_arm.h
+ - asm/bpf_perf_event_arm64.h
+ - asm/bpf_perf_event_powerpc.h
+ - asm/bpf_perf_event_x86.h
+ - asm/byteorder.h
+ - asm/byteorder_arm.h
+ - asm/byteorder_arm64.h
+ - asm/byteorder_powerpc.h
+ - asm/byteorder_x86.h
+ - asm/cputable.h
+ - asm/cputable_powerpc.h
+ - asm/debugreg.h
+ - asm/debugreg_x86.h
+ - asm/e820.h
+ - asm/e820_x86.h
+ - asm/eeh.h
+ - asm/eeh_powerpc.h
+ - asm/elf.h
+ - asm/elf_powerpc.h
+ - asm/epapr_hcalls.h
+ - asm/epapr_hcalls_powerpc.h
+ - asm/errno.h
+ - asm/errno_arm.h
+ - asm/errno_arm64.h
+ - asm/errno_powerpc.h
+ - asm/errno_x86.h
+ - asm/fcntl.h
+ - asm/fcntl_arm.h
+ - asm/fcntl_arm64.h
+ - asm/fcntl_powerpc.h
+ - asm/fcntl_x86.h
+ - asm/hw_breakpoint.h
+ - asm/hw_breakpoint_x86.h
+ - asm/hwcap.h
+ - asm/hwcap2.h
+ - asm/hwcap2_x86.h
+ - asm/hwcap_arm.h
+ - asm/hwcap_arm64.h
+ - asm/ioctl.h
+ - asm/ioctl_arm.h
+ - asm/ioctl_arm64.h
+ - asm/ioctl_powerpc.h
+ - asm/ioctl_x86.h
+ - asm/ioctls.h
+ - asm/ioctls_arm.h
+ - asm/ioctls_arm64.h
+ - asm/ioctls_powerpc.h
+ - asm/ioctls_x86.h
+ - asm/ipcbuf.h
+ - asm/ipcbuf_arm.h
+ - asm/ipcbuf_arm64.h
+ - asm/ipcbuf_powerpc.h
+ - asm/ipcbuf_x86.h
+ - asm/ist.h
+ - asm/ist_x86.h
+ - asm/kvm.h
+ - asm/kvm_arm64.h
+ - asm/kvm_para.h
+ - asm/kvm_para_arm.h
+ - asm/kvm_para_arm64.h
+ - asm/kvm_para_powerpc.h
+ - asm/kvm_para_x86.h
+ - asm/kvm_perf.h
+ - asm/kvm_perf_x86.h
+ - asm/kvm_powerpc.h
+ - asm/kvm_x86.h
+ - asm/ldt.h
+ - asm/ldt_x86.h
+ - asm/mce.h
+ - asm/mce_x86.h
+ - asm/mman.h
+ - asm/mman_arm.h
+ - asm/mman_arm64.h
+ - asm/mman_powerpc.h
+ - asm/mman_x86.h
+ - asm/msgbuf.h
+ - asm/msgbuf_arm.h
+ - asm/msgbuf_arm64.h
+ - asm/msgbuf_powerpc.h
+ - asm/msgbuf_x86.h
+ - asm/msr.h
+ - asm/msr_x86.h
+ - asm/mtrr.h
+ - asm/mtrr_x86.h
+ - asm/nvram.h
+ - asm/nvram_powerpc.h
+ - asm/opal-prd.h
+ - asm/opal-prd_powerpc.h
+ - asm/param.h
+ - asm/param_arm.h
+ - asm/param_arm64.h
+ - asm/param_powerpc.h
+ - asm/param_x86.h
+ - asm/perf_event.h
+ - asm/perf_event_powerpc.h
+ - asm/perf_regs.h
+ - asm/perf_regs_arm.h
+ - asm/perf_regs_arm64.h
+ - asm/perf_regs_powerpc.h
+ - asm/perf_regs_x86.h
+ - asm/poll.h
+ - asm/posix_types.h
+ - asm/posix_types_32.h
+ - asm/posix_types_32_x86.h
+ - asm/posix_types_64.h
+ - asm/posix_types_64_x86.h
+ - asm/posix_types_arm.h
+ - asm/posix_types_arm64.h
+ - asm/posix_types_powerpc.h
+ - asm/posix_types_x32.h
+ - asm/posix_types_x32_x86.h
+ - asm/posix_types_x86.h
+ - asm/prctl.h
+ - asm/prctl_x86.h
+ - asm/processor-flags.h
+ - asm/processor-flags_x86.h
+ - asm/ps3fb.h
+ - asm/ps3fb_powerpc.h
+ - asm/ptrace-abi.h
+ - asm/ptrace-abi_x86.h
+ - asm/ptrace.h
+ - asm/ptrace_arm.h
+ - asm/ptrace_arm64.h
+ - asm/ptrace_powerpc.h
+ - asm/ptrace_x86.h
+ - asm/resource.h
+ - asm/sembuf.h
+ - asm/sembuf_arm.h
+ - asm/sembuf_arm64.h
+ - asm/sembuf_powerpc.h
+ - asm/sembuf_x86.h
+ - asm/setup.h
+ - asm/setup_arm.h
+ - asm/setup_arm64.h
+ - asm/setup_powerpc.h
+ - asm/setup_x86.h
+ - asm/shmbuf.h
+ - asm/shmbuf_arm.h
+ - asm/shmbuf_arm64.h
+ - asm/shmbuf_powerpc.h
+ - asm/shmbuf_x86.h
+ - asm/sigcontext.h
+ - asm/sigcontext32.h
+ - asm/sigcontext32_x86.h
+ - asm/sigcontext_arm.h
+ - asm/sigcontext_arm64.h
+ - asm/sigcontext_powerpc.h
+ - asm/sigcontext_x86.h
+ - asm/siginfo.h
+ - asm/siginfo_arm.h
+ - asm/siginfo_arm64.h
+ - asm/siginfo_powerpc.h
+ - asm/siginfo_x86.h
+ - asm/signal.h
+ - asm/signal_arm.h
+ - asm/signal_arm64.h
+ - asm/signal_powerpc.h
+ - asm/signal_x86.h
+ - asm/socket.h
+ - asm/socket_arm.h
+ - asm/socket_arm64.h
+ - asm/socket_powerpc.h
+ - asm/socket_x86.h
+ - asm/sockios.h
+ - asm/spu_info.h
+ - asm/spu_info_powerpc.h
+ - asm/stat.h
+ - asm/stat_arm.h
+ - asm/stat_arm64.h
+ - asm/stat_powerpc.h
+ - asm/stat_x86.h
+ - asm/statfs.h
+ - asm/statfs_arm.h
+ - asm/statfs_arm64.h
+ - asm/statfs_powerpc.h
+ - asm/statfs_x86.h
+ - asm/sve_context.h
+ - asm/sve_context_arm64.h
+ - asm/svm.h
+ - asm/svm_x86.h
+ - asm/swab.h
+ - asm/swab_arm.h
+ - asm/swab_arm64.h
+ - asm/swab_powerpc.h
+ - asm/swab_x86.h
+ - asm/termbits.h
+ - asm/termbits_arm.h
+ - asm/termbits_arm64.h
+ - asm/termbits_powerpc.h
+ - asm/termbits_x86.h
+ - asm/termios.h
+ - asm/termios_arm.h
+ - asm/termios_arm64.h
+ - asm/termios_powerpc.h
+ - asm/termios_x86.h
+ - asm/tm.h
+ - asm/tm_powerpc.h
+ - asm/types.h
+ - asm/types_arm.h
+ - asm/types_arm64.h
+ - asm/types_powerpc.h
+ - asm/types_x86.h
+ - asm/ucontext.h
+ - asm/ucontext_arm64.h
+ - asm/ucontext_powerpc.h
+ - asm/ucontext_x86.h
+ - asm/unistd-common.h
+ - asm/unistd-common_arm.h
+ - asm/unistd-eabi.h
+ - asm/unistd-eabi_arm.h
+ - asm/unistd-oabi.h
+ - asm/unistd-oabi_arm.h
+ - asm/unistd.h
+ - asm/unistd_32.h
+ - asm/unistd_32_powerpc.h
+ - asm/unistd_32_x86.h
+ - asm/unistd_64.h
+ - asm/unistd_64_powerpc.h
+ - asm/unistd_64_x86.h
+ - asm/unistd_arm.h
+ - asm/unistd_arm64.h
+ - asm/unistd_powerpc.h
+ - asm/unistd_x32.h
+ - asm/unistd_x32_x86.h
+ - asm/unistd_x86.h
+ - asm/vm86.h
+ - asm/vm86_x86.h
+ - asm/vmx.h
+ - asm/vmx_x86.h
+ - asm/vsyscall.h
+ - asm/vsyscall_x86.h
+ - drm/amdgpu_drm.h
+ - drm/armada_drm.h
+ - drm/drm.h
+ - drm/drm_fourcc.h
+ - drm/drm_mode.h
+ - drm/drm_sarea.h
+ - drm/etnaviv_drm.h
+ - drm/exynos_drm.h
+ - drm/i810_drm.h
+ - drm/i915_drm.h
+ - drm/lima_drm.h
+ - drm/mga_drm.h
+ - drm/msm_drm.h
+ - drm/nouveau_drm.h
+ - drm/omap_drm.h
+ - drm/panfrost_drm.h
+ - drm/qxl_drm.h
+ - drm/r128_drm.h
+ - drm/radeon_drm.h
+ - drm/savage_drm.h
+ - drm/sis_drm.h
+ - drm/tegra_drm.h
+ - drm/v3d_drm.h
+ - drm/vc4_drm.h
+ - drm/vgem_drm.h
+ - drm/via_drm.h
+ - drm/virtgpu_drm.h
+ - drm/vmwgfx_drm.h
+ - linux/a.out.h
+ - linux/a.out_x86.h
+ - linux/acct.h
+ - linux/adb.h
+ - linux/adfs_fs.h
+ - linux/affs_hardblocks.h
+ - linux/agpgart.h
+ - linux/aio_abi.h
+ - linux/am437x-vpfe.h
+ - linux/android/binder.h
+ - linux/android/binderfs.h
+ - linux/apm_bios.h
+ - linux/arcfb.h
+ - linux/arm_sdei.h
+ - linux/aspeed-lpc-ctrl.h
+ - linux/aspeed-p2a-ctrl.h
+ - linux/atalk.h
+ - linux/atm.h
+ - linux/atm_eni.h
+ - linux/atm_he.h
+ - linux/atm_idt77105.h
+ - linux/atm_nicstar.h
+ - linux/atm_tcp.h
+ - linux/atm_zatm.h
+ - linux/atmapi.h
+ - linux/atmarp.h
+ - linux/atmbr2684.h
+ - linux/atmclip.h
+ - linux/atmdev.h
+ - linux/atmioc.h
+ - linux/atmlec.h
+ - linux/atmmpc.h
+ - linux/atmppp.h
+ - linux/atmsap.h
+ - linux/atmsvc.h
+ - linux/audit.h
+ - linux/auto_dev-ioctl.h
+ - linux/auto_fs.h
+ - linux/auto_fs4.h
+ - linux/auxvec.h
+ - linux/ax25.h
+ - linux/batadv_packet.h
+ - linux/batman_adv.h
+ - linux/baycom.h
+ - linux/bcache.h
+ - linux/bcm933xx_hcs.h
+ - linux/bfs_fs.h
+ - linux/binfmts.h
+ - linux/blkpg.h
+ - linux/blktrace_api.h
+ - linux/blkzoned.h
+ - linux/bpf.h
+ - linux/bpf_common.h
+ - linux/bpf_perf_event.h
+ - linux/bpfilter.h
+ - linux/bpqether.h
+ - linux/bsg.h
+ - linux/bt-bmc.h
+ - linux/btf.h
+ - linux/btrfs.h
+ - linux/btrfs_tree.h
+ - linux/byteorder/big_endian.h
+ - linux/byteorder/little_endian.h
+ - linux/caif/caif_socket.h
+ - linux/caif/if_caif.h
+ - linux/can.h
+ - linux/can/bcm.h
+ - linux/can/error.h
+ - linux/can/gw.h
+ - linux/can/j1939.h
+ - linux/can/netlink.h
+ - linux/can/raw.h
+ - linux/can/vxcan.h
+ - linux/capability.h
+ - linux/capi.h
+ - linux/cciss_defs.h
+ - linux/cciss_ioctl.h
+ - linux/cdrom.h
+ - linux/cec-funcs.h
+ - linux/cec.h
+ - linux/cgroupstats.h
+ - linux/chio.h
+ - linux/cifs/cifs_mount.h
+ - linux/cm4000_cs.h
+ - linux/cn_proc.h
+ - linux/coda.h
+ - linux/coff.h
+ - linux/connector.h
+ - linux/const.h
+ - linux/coresight-stm.h
+ - linux/cramfs_fs.h
+ - linux/cryptouser.h
+ - linux/cuda.h
+ - linux/cyclades.h
+ - linux/cycx_cfm.h
+ - linux/dcbnl.h
+ - linux/dccp.h
+ - linux/devlink.h
+ - linux/dlm.h
+ - linux/dlm_device.h
+ - linux/dlm_netlink.h
+ - linux/dlm_plock.h
+ - linux/dlmconstants.h
+ - linux/dm-ioctl.h
+ - linux/dm-log-userspace.h
+ - linux/dma-buf.h
+ - linux/dma-heap.h
+ - linux/dn.h
+ - linux/dns_resolver.h
+ - linux/dqblk_xfs.h
+ - linux/dvb/audio.h
+ - linux/dvb/ca.h
+ - linux/dvb/dmx.h
+ - linux/dvb/frontend.h
+ - linux/dvb/net.h
+ - linux/dvb/osd.h
+ - linux/dvb/version.h
+ - linux/dvb/video.h
+ - linux/edd.h
+ - linux/efs_fs_sb.h
+ - linux/elf-em.h
+ - linux/elf-fdpic.h
+ - linux/elf.h
+ - linux/elfcore.h
+ - linux/errno.h
+ - linux/errqueue.h
+ - linux/erspan.h
+ - linux/ethtool.h
+ - linux/ethtool_netlink.h
+ - linux/eventpoll.h
+ - linux/fadvise.h
+ - linux/falloc.h
+ - linux/fanotify.h
+ - linux/fb.h
+ - linux/fcntl.h
+ - linux/fd.h
+ - linux/fdreg.h
+ - linux/fib_rules.h
+ - linux/fiemap.h
+ - linux/filter.h
+ - linux/firewire-cdev.h
+ - linux/firewire-constants.h
+ - linux/fou.h
+ - linux/fpga-dfl.h
+ - linux/fs.h
+ - linux/fscrypt.h
+ - linux/fsi.h
+ - linux/fsl_hypervisor.h
+ - linux/fsmap.h
+ - linux/fsverity.h
+ - linux/fuse.h
+ - linux/futex.h
+ - linux/gameport.h
+ - linux/gen_stats.h
+ - linux/genetlink.h
+ - linux/genwqe/genwqe_card.h
+ - linux/gfs2_ondisk.h
+ - linux/gpio.h
+ - linux/gsmmux.h
+ - linux/gtp.h
+ - linux/hash_info.h
+ - linux/hdlc.h
+ - linux/hdlc/ioctl.h
+ - linux/hdlcdrv.h
+ - linux/hdreg.h
+ - linux/hid.h
+ - linux/hiddev.h
+ - linux/hidraw.h
+ - linux/hpet.h
+ - linux/hsi/cs-protocol.h
+ - linux/hsi/hsi_char.h
+ - linux/hsr_netlink.h
+ - linux/hw_breakpoint.h
+ - linux/hyperv.h
+ - linux/i2c-dev.h
+ - linux/i2c.h
+ - linux/i2o-dev.h
+ - linux/i8k.h
+ - linux/icmp.h
+ - linux/icmpv6.h
+ - linux/idxd.h
+ - linux/if.h
+ - linux/if_addr.h
+ - linux/if_addrlabel.h
+ - linux/if_alg.h
+ - linux/if_arcnet.h
+ - linux/if_arp.h
+ - linux/if_bonding.h
+ - linux/if_bridge.h
+ - linux/if_cablemodem.h
+ - linux/if_eql.h
+ - linux/if_ether.h
+ - linux/if_fc.h
+ - linux/if_fddi.h
+ - linux/if_frad.h
+ - linux/if_hippi.h
+ - linux/if_infiniband.h
+ - linux/if_link.h
+ - linux/if_ltalk.h
+ - linux/if_macsec.h
+ - linux/if_packet.h
+ - linux/if_phonet.h
+ - linux/if_plip.h
+ - linux/if_ppp.h
+ - linux/if_pppol2tp.h
+ - linux/if_pppox.h
+ - linux/if_slip.h
+ - linux/if_team.h
+ - linux/if_tun.h
+ - linux/if_tunnel.h
+ - linux/if_vlan.h
+ - linux/if_x25.h
+ - linux/if_xdp.h
+ - linux/ife.h
+ - linux/igmp.h
+ - linux/iio/events.h
+ - linux/iio/types.h
+ - linux/ila.h
+ - linux/in.h
+ - linux/in6.h
+ - linux/in_route.h
+ - linux/inet_diag.h
+ - linux/inotify.h
+ - linux/input-event-codes.h
+ - linux/input.h
+ - linux/io_uring.h
+ - linux/ioctl.h
+ - linux/iommu.h
+ - linux/ip.h
+ - linux/ip6_tunnel.h
+ - linux/ip_vs.h
+ - linux/ipc.h
+ - linux/ipmi.h
+ - linux/ipmi_bmc.h
+ - linux/ipmi_msgdefs.h
+ - linux/ipsec.h
+ - linux/ipv6.h
+ - linux/ipv6_route.h
+ - linux/ipx.h
+ - linux/irqnr.h
+ - linux/isdn/capicmd.h
+ - linux/iso_fs.h
+ - linux/isst_if.h
+ - linux/ivtv.h
+ - linux/ivtvfb.h
+ - linux/jffs2.h
+ - linux/joystick.h
+ - linux/kcm.h
+ - linux/kcmp.h
+ - linux/kcov.h
+ - linux/kd.h
+ - linux/kdev_t.h
+ - linux/kernel-page-flags.h
+ - linux/kernel.h
+ - linux/kernelcapi.h
+ - linux/kexec.h
+ - linux/keyboard.h
+ - linux/keyctl.h
+ - linux/kfd_ioctl.h
+ - linux/kvm.h
+ - linux/kvm_arm64.h
+ - linux/kvm_para.h
+ - linux/kvm_powerpc.h
+ - linux/kvm_x86.h
+ - linux/l2tp.h
+ - linux/libc-compat.h
+ - linux/lightnvm.h
+ - linux/limits.h
+ - linux/lirc.h
+ - linux/llc.h
+ - linux/loop.h
+ - linux/lp.h
+ - linux/lwtunnel.h
+ - linux/magic.h
+ - linux/major.h
+ - linux/map_to_7segment.h
+ - linux/matroxfb.h
+ - linux/max2175.h
+ - linux/mdio.h
+ - linux/media-bus-format.h
+ - linux/media.h
+ - linux/mei.h
+ - linux/membarrier.h
+ - linux/memfd.h
+ - linux/mempolicy.h
+ - linux/meye.h
+ - linux/mic_common.h
+ - linux/mic_ioctl.h
+ - linux/mii.h
+ - linux/minix_fs.h
+ - linux/mman.h
+ - linux/mmc/ioctl.h
+ - linux/mmtimer.h
+ - linux/module.h
+ - linux/mount.h
+ - linux/mpls.h
+ - linux/mpls_iptunnel.h
+ - linux/mptcp.h
+ - linux/mqueue.h
+ - linux/mroute.h
+ - linux/mroute6.h
+ - linux/msdos_fs.h
+ - linux/msg.h
+ - linux/mtio.h
+ - linux/n_r3964.h
+ - linux/nbd-netlink.h
+ - linux/nbd.h
+ - linux/ncsi.h
+ - linux/ndctl.h
+ - linux/neighbour.h
+ - linux/net.h
+ - linux/net_dropmon.h
+ - linux/net_namespace.h
+ - linux/net_tstamp.h
+ - linux/netconf.h
+ - linux/netdevice.h
+ - linux/netfilter.h
+ - linux/netfilter/ipset/ip_set.h
+ - linux/netfilter/ipset/ip_set_bitmap.h
+ - linux/netfilter/ipset/ip_set_hash.h
+ - linux/netfilter/ipset/ip_set_list.h
+ - linux/netfilter/nf_conntrack_common.h
+ - linux/netfilter/nf_conntrack_ftp.h
+ - linux/netfilter/nf_conntrack_sctp.h
+ - linux/netfilter/nf_conntrack_tcp.h
+ - linux/netfilter/nf_conntrack_tuple_common.h
+ - linux/netfilter/nf_log.h
+ - linux/netfilter/nf_nat.h
+ - linux/netfilter/nf_synproxy.h
+ - linux/netfilter/nf_tables.h
+ - linux/netfilter/nf_tables_compat.h
+ - linux/netfilter/nfnetlink.h
+ - linux/netfilter/nfnetlink_acct.h
+ - linux/netfilter/nfnetlink_compat.h
+ - linux/netfilter/nfnetlink_conntrack.h
+ - linux/netfilter/nfnetlink_cthelper.h
+ - linux/netfilter/nfnetlink_cttimeout.h
+ - linux/netfilter/nfnetlink_log.h
+ - linux/netfilter/nfnetlink_osf.h
+ - linux/netfilter/nfnetlink_queue.h
+ - linux/netfilter/x_tables.h
+ - linux/netfilter/xt_AUDIT.h
+ - linux/netfilter/xt_CHECKSUM.h
+ - linux/netfilter/xt_CLASSIFY.h
+ - linux/netfilter/xt_CONNMARK.h
+ - linux/netfilter/xt_CONNSECMARK.h
+ - linux/netfilter/xt_CT.h
+ - linux/netfilter/xt_DSCP.h
+ - linux/netfilter/xt_HMARK.h
+ - linux/netfilter/xt_IDLETIMER.h
+ - linux/netfilter/xt_LED.h
+ - linux/netfilter/xt_LOG.h
+ - linux/netfilter/xt_MARK.h
+ - linux/netfilter/xt_NFLOG.h
+ - linux/netfilter/xt_NFQUEUE.h
+ - linux/netfilter/xt_RATEEST.h
+ - linux/netfilter/xt_SECMARK.h
+ - linux/netfilter/xt_SYNPROXY.h
+ - linux/netfilter/xt_TCPMSS.h
+ - linux/netfilter/xt_TCPOPTSTRIP.h
+ - linux/netfilter/xt_TEE.h
+ - linux/netfilter/xt_TPROXY.h
+ - linux/netfilter/xt_addrtype.h
+ - linux/netfilter/xt_bpf.h
+ - linux/netfilter/xt_cgroup.h
+ - linux/netfilter/xt_cluster.h
+ - linux/netfilter/xt_comment.h
+ - linux/netfilter/xt_connbytes.h
+ - linux/netfilter/xt_connlabel.h
+ - linux/netfilter/xt_connlimit.h
+ - linux/netfilter/xt_connmark.h
+ - linux/netfilter/xt_conntrack.h
+ - linux/netfilter/xt_cpu.h
+ - linux/netfilter/xt_dccp.h
+ - linux/netfilter/xt_devgroup.h
+ - linux/netfilter/xt_dscp.h
+ - linux/netfilter/xt_ecn.h
+ - linux/netfilter/xt_esp.h
+ - linux/netfilter/xt_hashlimit.h
+ - linux/netfilter/xt_helper.h
+ - linux/netfilter/xt_ipcomp.h
+ - linux/netfilter/xt_iprange.h
+ - linux/netfilter/xt_ipvs.h
+ - linux/netfilter/xt_l2tp.h
+ - linux/netfilter/xt_length.h
+ - linux/netfilter/xt_limit.h
+ - linux/netfilter/xt_mac.h
+ - linux/netfilter/xt_mark.h
+ - linux/netfilter/xt_multiport.h
+ - linux/netfilter/xt_nfacct.h
+ - linux/netfilter/xt_osf.h
+ - linux/netfilter/xt_owner.h
+ - linux/netfilter/xt_physdev.h
+ - linux/netfilter/xt_pkttype.h
+ - linux/netfilter/xt_policy.h
+ - linux/netfilter/xt_quota.h
+ - linux/netfilter/xt_rateest.h
+ - linux/netfilter/xt_realm.h
+ - linux/netfilter/xt_recent.h
+ - linux/netfilter/xt_rpfilter.h
+ - linux/netfilter/xt_sctp.h
+ - linux/netfilter/xt_set.h
+ - linux/netfilter/xt_socket.h
+ - linux/netfilter/xt_state.h
+ - linux/netfilter/xt_statistic.h
+ - linux/netfilter/xt_string.h
+ - linux/netfilter/xt_tcpmss.h
+ - linux/netfilter/xt_tcpudp.h
+ - linux/netfilter/xt_time.h
+ - linux/netfilter/xt_u32.h
+ - linux/netfilter_arp.h
+ - linux/netfilter_arp/arp_tables.h
+ - linux/netfilter_arp/arpt_mangle.h
+ - linux/netfilter_bridge.h
+ - linux/netfilter_bridge/ebt_802_3.h
+ - linux/netfilter_bridge/ebt_among.h
+ - linux/netfilter_bridge/ebt_arp.h
+ - linux/netfilter_bridge/ebt_arpreply.h
+ - linux/netfilter_bridge/ebt_ip.h
+ - linux/netfilter_bridge/ebt_ip6.h
+ - linux/netfilter_bridge/ebt_limit.h
+ - linux/netfilter_bridge/ebt_log.h
+ - linux/netfilter_bridge/ebt_mark_m.h
+ - linux/netfilter_bridge/ebt_mark_t.h
+ - linux/netfilter_bridge/ebt_nat.h
+ - linux/netfilter_bridge/ebt_nflog.h
+ - linux/netfilter_bridge/ebt_pkttype.h
+ - linux/netfilter_bridge/ebt_redirect.h
+ - linux/netfilter_bridge/ebt_stp.h
+ - linux/netfilter_bridge/ebt_vlan.h
+ - linux/netfilter_bridge/ebtables.h
+ - linux/netfilter_decnet.h
+ - linux/netfilter_ipv4.h
+ - linux/netfilter_ipv4/ip_tables.h
+ - linux/netfilter_ipv4/ipt_CLUSTERIP.h
+ - linux/netfilter_ipv4/ipt_ECN.h
+ - linux/netfilter_ipv4/ipt_LOG.h
+ - linux/netfilter_ipv4/ipt_REJECT.h
+ - linux/netfilter_ipv4/ipt_TTL.h
+ - linux/netfilter_ipv4/ipt_ah.h
+ - linux/netfilter_ipv4/ipt_ecn.h
+ - linux/netfilter_ipv4/ipt_ttl.h
+ - linux/netfilter_ipv6.h
+ - linux/netfilter_ipv6/ip6_tables.h
+ - linux/netfilter_ipv6/ip6t_HL.h
+ - linux/netfilter_ipv6/ip6t_LOG.h
+ - linux/netfilter_ipv6/ip6t_NPT.h
+ - linux/netfilter_ipv6/ip6t_REJECT.h
+ - linux/netfilter_ipv6/ip6t_ah.h
+ - linux/netfilter_ipv6/ip6t_frag.h
+ - linux/netfilter_ipv6/ip6t_hl.h
+ - linux/netfilter_ipv6/ip6t_ipv6header.h
+ - linux/netfilter_ipv6/ip6t_mh.h
+ - linux/netfilter_ipv6/ip6t_opts.h
+ - linux/netfilter_ipv6/ip6t_rt.h
+ - linux/netfilter_ipv6/ip6t_srh.h
+ - linux/netlink.h
+ - linux/netlink_diag.h
+ - linux/netrom.h
+ - linux/nexthop.h
+ - linux/nfc.h
+ - linux/nfs.h
+ - linux/nfs2.h
+ - linux/nfs3.h
+ - linux/nfs4.h
+ - linux/nfs4_mount.h
+ - linux/nfs_fs.h
+ - linux/nfs_idmap.h
+ - linux/nfs_mount.h
+ - linux/nfsacl.h
+ - linux/nfsd/cld.h
+ - linux/nfsd/debug.h
+ - linux/nfsd/export.h
+ - linux/nfsd/nfsfh.h
+ - linux/nfsd/stats.h
+ - linux/nilfs2_api.h
+ - linux/nilfs2_ondisk.h
+ - linux/nl80211.h
+ - linux/nsfs.h
+ - linux/nubus.h
+ - linux/nvme_ioctl.h
+ - linux/nvram.h
+ - linux/omap3isp.h
+ - linux/omapfb.h
+ - linux/oom.h
+ - linux/openat2.h
+ - linux/openvswitch.h
+ - linux/packet_diag.h
+ - linux/param.h
+ - linux/parport.h
+ - linux/patchkey.h
+ - linux/pci.h
+ - linux/pci_regs.h
+ - linux/pcitest.h
+ - linux/perf_event.h
+ - linux/personality.h
+ - linux/pfkeyv2.h
+ - linux/pg.h
+ - linux/phantom.h
+ - linux/phonet.h
+ - linux/pkt_cls.h
+ - linux/pkt_sched.h
+ - linux/pktcdvd.h
+ - linux/pmu.h
+ - linux/poll.h
+ - linux/posix_acl.h
+ - linux/posix_acl_xattr.h
+ - linux/posix_types.h
+ - linux/ppdev.h
+ - linux/ppp-comp.h
+ - linux/ppp-ioctl.h
+ - linux/ppp_defs.h
+ - linux/pps.h
+ - linux/pr.h
+ - linux/prctl.h
+ - linux/psample.h
+ - linux/psci.h
+ - linux/psp-sev.h
+ - linux/ptp_clock.h
+ - linux/ptrace.h
+ - linux/qemu_fw_cfg.h
+ - linux/qnx4_fs.h
+ - linux/qnxtypes.h
+ - linux/qrtr.h
+ - linux/quota.h
+ - linux/radeonfb.h
+ - linux/raid/md_p.h
+ - linux/raid/md_u.h
+ - linux/random.h
+ - linux/raw.h
+ - linux/rds.h
+ - linux/reboot.h
+ - linux/reiserfs_fs.h
+ - linux/reiserfs_xattr.h
+ - linux/resource.h
+ - linux/rfkill.h
+ - linux/rio_cm_cdev.h
+ - linux/rio_mport_cdev.h
+ - linux/romfs_fs.h
+ - linux/rose.h
+ - linux/route.h
+ - linux/rpl.h
+ - linux/rpl_iptunnel.h
+ - linux/rpmsg.h
+ - linux/rseq.h
+ - linux/rtc.h
+ - linux/rtnetlink.h
+ - linux/rxrpc.h
+ - linux/scc.h
+ - linux/sched.h
+ - linux/sched/types.h
+ - linux/scif_ioctl.h
+ - linux/screen_info.h
+ - linux/sctp.h
+ - linux/sdla.h
+ - linux/seccomp.h
+ - linux/securebits.h
+ - linux/sed-opal.h
+ - linux/seg6.h
+ - linux/seg6_genl.h
+ - linux/seg6_hmac.h
+ - linux/seg6_iptunnel.h
+ - linux/seg6_local.h
+ - linux/selinux_netlink.h
+ - linux/sem.h
+ - linux/serial.h
+ - linux/serial_core.h
+ - linux/serial_reg.h
+ - linux/serio.h
+ - linux/shm.h
+ - linux/signal.h
+ - linux/signalfd.h
+ - linux/smc.h
+ - linux/smc_diag.h
+ - linux/smiapp.h
+ - linux/snmp.h
+ - linux/sock_diag.h
+ - linux/socket.h
+ - linux/sockios.h
+ - linux/sonet.h
+ - linux/sonypi.h
+ - linux/sound.h
+ - linux/soundcard.h
+ - linux/spi/spidev.h
+ - linux/stat.h
+ - linux/stddef.h
+ - linux/stm.h
+ - linux/string.h
+ - linux/sunrpc/debug.h
+ - linux/suspend_ioctls.h
+ - linux/swab.h
+ - linux/switchtec_ioctl.h
+ - linux/sync_file.h
+ - linux/synclink.h
+ - linux/sysctl.h
+ - linux/sysinfo.h
+ - linux/target_core_user.h
+ - linux/taskstats.h
+ - linux/tc_act/tc_bpf.h
+ - linux/tc_act/tc_connmark.h
+ - linux/tc_act/tc_csum.h
+ - linux/tc_act/tc_ct.h
+ - linux/tc_act/tc_ctinfo.h
+ - linux/tc_act/tc_defact.h
+ - linux/tc_act/tc_gact.h
+ - linux/tc_act/tc_ife.h
+ - linux/tc_act/tc_ipt.h
+ - linux/tc_act/tc_mirred.h
+ - linux/tc_act/tc_mpls.h
+ - linux/tc_act/tc_nat.h
+ - linux/tc_act/tc_pedit.h
+ - linux/tc_act/tc_sample.h
+ - linux/tc_act/tc_skbedit.h
+ - linux/tc_act/tc_skbmod.h
+ - linux/tc_act/tc_tunnel_key.h
+ - linux/tc_act/tc_vlan.h
+ - linux/tc_ematch/tc_em_cmp.h
+ - linux/tc_ematch/tc_em_ipt.h
+ - linux/tc_ematch/tc_em_meta.h
+ - linux/tc_ematch/tc_em_nbyte.h
+ - linux/tc_ematch/tc_em_text.h
+ - linux/tcp.h
+ - linux/tcp_metrics.h
+ - linux/tee.h
+ - linux/termios.h
+ - linux/thermal.h
+ - linux/time.h
+ - linux/time_types.h
+ - linux/timerfd.h
+ - linux/times.h
+ - linux/timex.h
+ - linux/tiocl.h
+ - linux/tipc.h
+ - linux/tipc_config.h
+ - linux/tipc_netlink.h
+ - linux/tipc_sockets_diag.h
+ - linux/tls.h
+ - linux/toshiba.h
+ - linux/tty.h
+ - linux/tty_flags.h
+ - linux/types.h
+ - linux/udf_fs_i.h
+ - linux/udmabuf.h
+ - linux/udp.h
+ - linux/uhid.h
+ - linux/uinput.h
+ - linux/uio.h
+ - linux/uleds.h
+ - linux/ultrasound.h
+ - linux/um_timetravel.h
+ - linux/un.h
+ - linux/unistd.h
+ - linux/unix_diag.h
+ - linux/usb/audio.h
+ - linux/usb/cdc-wdm.h
+ - linux/usb/cdc.h
+ - linux/usb/ch11.h
+ - linux/usb/ch9.h
+ - linux/usb/charger.h
+ - linux/usb/functionfs.h
+ - linux/usb/g_printer.h
+ - linux/usb/g_uvc.h
+ - linux/usb/gadgetfs.h
+ - linux/usb/midi.h
+ - linux/usb/raw_gadget.h
+ - linux/usb/tmc.h
+ - linux/usb/video.h
+ - linux/usbdevice_fs.h
+ - linux/usbip.h
+ - linux/userfaultfd.h
+ - linux/userio.h
+ - linux/utime.h
+ - linux/utsname.h
+ - linux/uuid.h
+ - linux/uvcvideo.h
+ - linux/v4l2-common.h
+ - linux/v4l2-controls.h
+ - linux/v4l2-dv-timings.h
+ - linux/v4l2-mediabus.h
+ - linux/v4l2-subdev.h
+ - linux/vbox_err.h
+ - linux/vbox_vmmdev_types.h
+ - linux/vboxguest.h
+ - linux/version.h
+ - linux/veth.h
+ - linux/vfio.h
+ - linux/vfio_ccw.h
+ - linux/vhost.h
+ - linux/vhost_types.h
+ - linux/videodev2.h
+ - linux/virtio_9p.h
+ - linux/virtio_balloon.h
+ - linux/virtio_blk.h
+ - linux/virtio_config.h
+ - linux/virtio_console.h
+ - linux/virtio_crypto.h
+ - linux/virtio_fs.h
+ - linux/virtio_gpu.h
+ - linux/virtio_ids.h
+ - linux/virtio_input.h
+ - linux/virtio_iommu.h
+ - linux/virtio_mmio.h
+ - linux/virtio_net.h
+ - linux/virtio_pci.h
+ - linux/virtio_pmem.h
+ - linux/virtio_ring.h
+ - linux/virtio_rng.h
+ - linux/virtio_scsi.h
+ - linux/virtio_types.h
+ - linux/virtio_vsock.h
+ - linux/vm_sockets.h
+ - linux/vm_sockets_diag.h
+ - linux/vmcore.h
+ - linux/vsockmon.h
+ - linux/vt.h
+ - linux/vtpm_proxy.h
+ - linux/wait.h
+ - linux/watchdog.h
+ - linux/wimax.h
+ - linux/wimax/i2400m.h
+ - linux/wireguard.h
+ - linux/wireless.h
+ - linux/wmi.h
+ - linux/x25.h
+ - linux/xattr.h
+ - linux/xdp_diag.h
+ - linux/xfrm.h
+ - linux/xilinx-v4l2-controls.h
+ - linux/zorro.h
+ - linux/zorro_ids.h
+ - misc/cxl.h
+ - misc/fastrpc.h
+ - misc/habanalabs.h
+ - misc/ocxl.h
+ - misc/pvpanic.h
+ - misc/uacce/hisi_qm.h
+ - misc/uacce/uacce.h
+ - misc/xilinx_sdfec.h
+ - mtd/inftl-user.h
+ - mtd/mtd-abi.h
+ - mtd/mtd-user.h
+ - mtd/nftl-user.h
+ - mtd/ubi-user.h
+ - rdma/bnxt_re-abi.h
+ - rdma/cxgb4-abi.h
+ - rdma/efa-abi.h
+ - rdma/hfi/hfi1_ioctl.h
+ - rdma/hfi/hfi1_user.h
+ - rdma/hns-abi.h
+ - rdma/i40iw-abi.h
+ - rdma/ib_user_ioctl_cmds.h
+ - rdma/ib_user_ioctl_verbs.h
+ - rdma/ib_user_mad.h
+ - rdma/ib_user_sa.h
+ - rdma/ib_user_verbs.h
+ - rdma/mlx4-abi.h
+ - rdma/mlx5-abi.h
+ - rdma/mlx5_user_ioctl_cmds.h
+ - rdma/mlx5_user_ioctl_verbs.h
+ - rdma/mthca-abi.h
+ - rdma/ocrdma-abi.h
+ - rdma/qedr-abi.h
+ - rdma/rdma_netlink.h
+ - rdma/rdma_user_cm.h
+ - rdma/rdma_user_ioctl.h
+ - rdma/rdma_user_ioctl_cmds.h
+ - rdma/rdma_user_rxe.h
+ - rdma/rvt-abi.h
+ - rdma/siw-abi.h
+ - rdma/vmw_pvrdma-abi.h
+ - scsi/cxlflash_ioctl.h
+ - scsi/fc/fc_els.h
+ - scsi/fc/fc_fs.h
+ - scsi/fc/fc_gs.h
+ - scsi/fc/fc_ns.h
+ - scsi/scsi_bsg_fc.h
+ - scsi/scsi_bsg_ufs.h
+ - scsi/scsi_netlink.h
+ - scsi/scsi_netlink_fc.h
+ - sound/asequencer.h
+ - sound/asoc.h
+ - sound/asound.h
+ - sound/asound_fm.h
+ - sound/compress_offload.h
+ - sound/compress_params.h
+ - sound/emu10k1.h
+ - sound/firewire.h
+ - sound/hdsp.h
+ - sound/hdspm.h
+ - sound/sb16_csp.h
+ - sound/sfnt_info.h
+ - sound/skl-tplg-interface.h
+ - sound/snd_sst_tokens.h
+ - sound/sof/abi.h
+ - sound/sof/fw.h
+ - sound/sof/header.h
+ - sound/sof/tokens.h
+ - sound/tlv.h
+ - sound/usb_stream.h
+ - video/edid.h
+ - video/sisfb.h
+ - video/uvesafb.h
+ - xen/evtchn.h
+ - xen/gntalloc.h
+ - xen/gntdev.h
+ - xen/privcmd.h
diff --git a/build/sysincl/linux-musl.yml b/build/sysincl/linux-musl.yml
index 5cce4628ed..2c7a11bf06 100644
--- a/build/sysincl/linux-musl.yml
+++ b/build/sysincl/linux-musl.yml
@@ -15,4 +15,4 @@
- source_filter: "^contrib/restricted/boost"
includes:
- - ../include/fenv.h: contrib/libs/musl/include/fenv.h
+ - ../include/fenv.h: contrib/libs/musl/include/fenv.h
diff --git a/build/sysincl/linux.yml b/build/sysincl/linux.yml
index 3300c4e9c1..a92a09bb9c 100644
--- a/build/sysincl/linux.yml
+++ b/build/sysincl/linux.yml
@@ -10,7 +10,7 @@
- bits/fenv.h
- bits/libc-lock.h
- bits/reg.h
- - bits/types.h
+ - bits/types.h
- bits/wordsize.h
- error.h
- execinfo.h
@@ -42,7 +42,7 @@
- sgtty.h
- sys/bitypes.h
- sys/cdefs.h
- - sys/memfd.h
+ - sys/memfd.h
- sys/queue.h
- sys/platform/ppc.h
- sys/socketvar.h
diff --git a/build/sysincl/misc.yml b/build/sysincl/misc.yml
index a7dd1fddc1..e9e6095888 100644
--- a/build/sysincl/misc.yml
+++ b/build/sysincl/misc.yml
@@ -1,12 +1,12 @@
-- includes:
- # Valgrind PEERDIR and ADDINCL are added only in --valgrind builds,
- # but we should resolve headers anyway.
- - valgrind/callgrind.h
- - valgrind/memcheck.h
- - valgrind/valgrind.h
- # DB2_ODBC_CLI
- - sqlcli1.h
-
+- includes:
+ # Valgrind PEERDIR and ADDINCL are added only in --valgrind builds,
+ # but we should resolve headers anyway.
+ - valgrind/callgrind.h
+ - valgrind/memcheck.h
+ - valgrind/valgrind.h
+ # DB2_ODBC_CLI
+ - sqlcli1.h
+
- includes:
- gelf.h: contrib/restricted/libelf/include/libelf/gelf.h
@@ -32,21 +32,21 @@
- includes:
- _cgo_export.h
-# Resolve jni.h from swig/Lib/java/javahead.swg when building non-java .swg
-# since they do not peerdir contrib/libs/jdk.
+# Resolve jni.h from swig/Lib/java/javahead.swg when building non-java .swg
+# since they do not peerdir contrib/libs/jdk.
# Resolve Python.h from swig/Lib/python/pyruntime.swg when building non-python .swg
# since they do not peerdir contrib/libs/python.
- source_filter: "[.]swg([.](h|c(c|pp|xx)?))?$"
- includes:
- - jni.h: contrib/libs/jdk/include/jni.h
+ includes:
+ - jni.h: contrib/libs/jdk/include/jni.h
- Python.h: contrib/libs/python/Include/Python.h
-- source_filter: "^contrib/libs/jdk/include/jni[.]h$"
- includes:
- - jni_md.h:
- - contrib/libs/jdk/include/darwin/jni_md.h
- - contrib/libs/jdk/include/linux/jni_md.h
- - contrib/libs/jdk/include/win32/jni_md.h
-
+- source_filter: "^contrib/libs/jdk/include/jni[.]h$"
+ includes:
+ - jni_md.h:
+ - contrib/libs/jdk/include/darwin/jni_md.h
+ - contrib/libs/jdk/include/linux/jni_md.h
+ - contrib/libs/jdk/include/win32/jni_md.h
+
# libunistring has its own libc header wrappers that are added to ADDINCL and
# need to be added here for consistensy between ADDINCL and sysincl resolving.
# Btw: we don't parse include_next, so we might lose real dependency to musl,
@@ -65,11 +65,11 @@
- wchar.h: contrib/libs/libunistring/wchar.h
- wctype.h: contrib/libs/libunistring/wctype.h
-- source_filter: "^contrib/libs/libidn2/"
- includes:
- - error.h: contrib/libs/libidn2/gl/error.h
- - unistd.h: contrib/libs/libunistring/include/unistd.h
-
+- source_filter: "^contrib/libs/libidn2/"
+ includes:
+ - error.h: contrib/libs/libidn2/gl/error.h
+ - unistd.h: contrib/libs/libunistring/include/unistd.h
+
# Same as libunistring - lftp has own libc header wrappers/replacements.
# However here we have GLOBAL ADDINCL to contrib/libs/lftp{,/trio,/lib}
# that can poison resolving in PEERDIRing projects.
@@ -115,22 +115,22 @@
includes:
- error.h: contrib/libs/cppkafka/include/cppkafka/error.h
-- source_filter: "^contrib/libs/clang11-rt"
- includes:
- - xray/xray_interface.h: contrib/libs/clang11-rt/include/xray/xray_interface.h
-
+- source_filter: "^contrib/libs/clang11-rt"
+ includes:
+ - xray/xray_interface.h: contrib/libs/clang11-rt/include/xray/xray_interface.h
+
- source_filter: "^contrib/libs/clang12-rt"
includes:
- xray/xray_interface.h: contrib/libs/clang12-rt/include/xray/xray_interface.h
-- source_filter: "^contrib/libs/llvm"
- includes:
- - plugin-api.h # GNU linker plugin API.
-
-- source_filter: "^contrib/libs/musl"
+- source_filter: "^contrib/libs/llvm"
includes:
- - atomic.h: contrib/libs/musl/src/internal/atomic.h
- - bits/fenv.h: contrib/libs/musl/arch/x86_64/bits/fenv.h
+ - plugin-api.h # GNU linker plugin API.
+
+- source_filter: "^contrib/libs/musl"
+ includes:
+ - atomic.h: contrib/libs/musl/src/internal/atomic.h
+ - bits/fenv.h: contrib/libs/musl/arch/x86_64/bits/fenv.h
- source_filter: "^contrib/libs/zbar"
includes:
@@ -138,8 +138,8 @@
- source_filter: "^contrib/libs/curl"
includes:
- - http.h: contrib/libs/curl/lib/http.h
- - inet_ntop.h: contrib/libs/curl/lib/inet_ntop.h
+ - http.h: contrib/libs/curl/lib/http.h
+ - inet_ntop.h: contrib/libs/curl/lib/inet_ntop.h
- share.h: contrib/libs/curl/lib/share.h
- source_filter: "^contrib/libs/zeromq"
@@ -162,12 +162,12 @@
- port.h: contrib/libs/glog/missing_includes/port.h
- source_filter: "^contrib/(deprecated/onednn|libs/intel/onednn)"
- includes:
- - mkl_cblas.h: contrib/libs/intel/mkl/include/mkl_cblas.h
- - mkl_version.h: contrib/libs/intel/mkl/include/mkl_version.h
- - mkl_vml_defines.h: contrib/libs/intel/mkl/include/mkl_vml_defines.h
- - mkl_vml_functions.h: contrib/libs/intel/mkl/include/mkl_vml_functions.h
-
+ includes:
+ - mkl_cblas.h: contrib/libs/intel/mkl/include/mkl_cblas.h
+ - mkl_version.h: contrib/libs/intel/mkl/include/mkl_version.h
+ - mkl_vml_defines.h: contrib/libs/intel/mkl/include/mkl_vml_defines.h
+ - mkl_vml_functions.h: contrib/libs/intel/mkl/include/mkl_vml_functions.h
+
- source_filter: "^contrib/libs/nsync"
includes:
- atomic.h: contrib/libs/nsync/platform/c++11/atomic.h
@@ -216,14 +216,14 @@
includes:
- util.h: contrib/libs/numa/internal/util.h
-- source_filter: "^contrib/libs/systemd"
- includes:
- - util.h: contrib/libs/systemd/src/basic/util.h
-
-- source_filter: "^contrib/libs/nvidia/nccl"
- includes:
- - socket.h: contrib/libs/nvidia/nccl/src/include/socket.h
-
+- source_filter: "^contrib/libs/systemd"
+ includes:
+ - util.h: contrib/libs/systemd/src/basic/util.h
+
+- source_filter: "^contrib/libs/nvidia/nccl"
+ includes:
+ - socket.h: contrib/libs/nvidia/nccl/src/include/socket.h
+
- source_filter: "^contrib/libs/tf/tensorflow"
includes:
- cuda.h: contrib/libs/tf/tensorflow/core/platform/cuda.h
@@ -357,7 +357,7 @@
- hwloc.h
- hwloc/cudart.h
-- source_filter: "^contrib/libs/(deprecated|tf)"
+- source_filter: "^contrib/libs/(deprecated|tf)"
includes:
- cblas.h
@@ -365,7 +365,7 @@
includes:
- jni.h
-- source_filter: "^contrib/(libs/(ffmpeg-3|kenlm|kyotocabinet)|tools/ag)"
+- source_filter: "^contrib/(libs/(ffmpeg-3|kenlm|kyotocabinet)|tools/ag)"
includes:
- lzma.h
@@ -381,11 +381,11 @@
includes:
- patchlevel.h
-- source_filter: "^contrib/tools/watchman"
+- source_filter: "^contrib/tools/watchman"
includes:
- pcre.h
-- source_filter: "^contrib/libs/(freetype|leptonica-1.70|libtheora|zbar)"
+- source_filter: "^contrib/libs/(freetype|leptonica-1.70|libtheora|zbar)"
includes:
- png.h
@@ -418,8 +418,8 @@
- sys_elf.h: contrib/restricted/libelf/lib/sys_elf.h
- source_filter: "^contrib/libs/dpdk/"
- includes:
- - process.h: contrib/libs/dpdk/drivers/bus/dpaa/include/process.h
+ includes:
+ - process.h: contrib/libs/dpdk/drivers/bus/dpaa/include/process.h
- source_filter: "^contrib/libs/dpdk_arm64/"
includes:
diff --git a/build/sysincl/nvidia.yml b/build/sysincl/nvidia.yml
index 0ece1734a9..3d6fac79b6 100644
--- a/build/sysincl/nvidia.yml
+++ b/build/sysincl/nvidia.yml
@@ -1,36 +1,36 @@
-# build/platform/cuda (include/ and extras/CUPTI/include/)
-- includes:
- - cooperative_groups.h
- - cuComplex.h
+# build/platform/cuda (include/ and extras/CUPTI/include/)
+- includes:
+ - cooperative_groups.h
+ - cuComplex.h
# Though cub is provided as a part of CUDA HPC SDK,
# we would like to be updatable independently.
# Hence we are using it directly from Arcadia.
# This sysincl enforces such usage.
- cub/cub.cuh: contrib/libs/nvidia/cub/cub/cub.cuh
- - cublas.h
- - cublasLt.h
- - cublas_v2.h
- - cuda.h
+ - cublas.h
+ - cublasLt.h
+ - cublas_v2.h
+ - cuda.h
- cuda_bf16.h
- - cuda_fp16.h
- - cuda_gl_interop.h
- - cuda_runtime.h
- - cuda_runtime_api.h
- - cufft.h
- - cupti.h
- - curand.h
- - curand_kernel.h
- - curand_mtgp32_host.h
- - curand_mtgp32dc_p_11213.h
- - cusolverDn.h
- - cusparse.h
- - driver_types.h
- - host_defines.h
- - library_types.h
- - math_constants.h
- - npp.h
- - nppi.h
- - nvToolsExt.h
+ - cuda_fp16.h
+ - cuda_gl_interop.h
+ - cuda_runtime.h
+ - cuda_runtime_api.h
+ - cufft.h
+ - cupti.h
+ - curand.h
+ - curand_kernel.h
+ - curand_mtgp32_host.h
+ - curand_mtgp32dc_p_11213.h
+ - cusolverDn.h
+ - cusparse.h
+ - driver_types.h
+ - host_defines.h
+ - library_types.h
+ - math_constants.h
+ - npp.h
+ - nppi.h
+ - nvToolsExt.h
# Though thrust is provided as a part of CUDA HPC SDK,
# we would like to be updatable independently.
# Hence we are using it directly from Arcadia.
@@ -39,7 +39,7 @@
- thrust/iterator/iterator_facade.h: contrib/libs/nvidia/thrust/thrust/iterator/iterator_facade.h
- thrust/system/cuda/detail/core/triple_chevron_launch.h: contrib/libs/nvidia/thrust/thrust/system/cuda/detail/core/triple_chevron_launch.h
- thrust/version.h: contrib/libs/nvidia/thrust/thrust/version.h
- - vector_types.h
+ - vector_types.h
# These headers should be provided by TensorRT.
# Proper solution must be found in DTCC-171
- source_filter: "^contrib/libs/tf-2.4/.*"
diff --git a/build/sysincl/python.yml b/build/sysincl/python.yml
index a197a30240..32e8d7ff76 100644
--- a/build/sysincl/python.yml
+++ b/build/sysincl/python.yml
@@ -1,4 +1,4 @@
-- source_filter: "^(?!(contrib/tools/python|library/python/runtime|library/python/symbols))"
+- source_filter: "^(?!(contrib/tools/python|library/python/runtime|library/python/symbols))"
includes:
- Python-ast.h
- Python.h
diff --git a/build/sysincl/stl-to-libcxx.yml b/build/sysincl/stl-to-libcxx.yml
index 9555676117..7d9600f345 100644
--- a/build/sysincl/stl-to-libcxx.yml
+++ b/build/sysincl/stl-to-libcxx.yml
@@ -38,7 +38,7 @@
- unwind.h:
- contrib/libs/cxxsupp/libcxx/include/unwind.h
- contrib/libs/cxxsupp/libcxxrt/unwind.h
- - contrib/libs/libunwind/include/unwind.h
+ - contrib/libs/libunwind/include/unwind.h
- source_filter: "^contrib/libs/cxxsupp/libcxxabi/"
includes:
@@ -114,7 +114,7 @@
- regex: contrib/libs/cxxsupp/libcxx/include/regex
- scoped_allocator: contrib/libs/cxxsupp/libcxx/include/scoped_allocator
- set: contrib/libs/cxxsupp/libcxx/include/set
- - shared_mutex: contrib/libs/cxxsupp/libcxx/include/shared_mutex
+ - shared_mutex: contrib/libs/cxxsupp/libcxx/include/shared_mutex
- span: contrib/libs/cxxsupp/libcxx/include/span
- sstream: contrib/libs/cxxsupp/libcxx/include/sstream
- stack: contrib/libs/cxxsupp/libcxx/include/stack
diff --git a/build/sysincl/stl-to-nothing.yml b/build/sysincl/stl-to-nothing.yml
index 9ed236b827..c7e27d1411 100644
--- a/build/sysincl/stl-to-nothing.yml
+++ b/build/sysincl/stl-to-nothing.yml
@@ -6,7 +6,7 @@
# or some combination of them depending on the build flags.
# We want musl to resolve itself without these sysincls, but its test must have them
-- source_filter: "^(?!contrib/libs/musl).*|^contrib/libs/musl/tests"
+- source_filter: "^(?!contrib/libs/musl).*|^contrib/libs/musl/tests"
includes:
- complex.h
- ctype.h
@@ -98,7 +98,7 @@
- regex
- scoped_allocator
- set
- - shared_mutex
+ - shared_mutex
- span
- sstream
- stack
diff --git a/build/sysincl/swig.yml b/build/sysincl/swig.yml
index 04d92c3466..9931a15e3c 100644
--- a/build/sysincl/swig.yml
+++ b/build/sysincl/swig.yml
@@ -1,292 +1,292 @@
-# Generated by devtools/yamaker.
+# Generated by devtools/yamaker.
- includes:
- - argcargv.i:
- - contrib/tools/swig/Lib/python/argcargv.i
- - arrays_java.i:
- - contrib/tools/swig/Lib/java/arrays_java.i
- - attribute.i:
- - contrib/tools/swig/Lib/attribute.i
- - contrib/tools/swig/Lib/perl5/attribute.i
- - contrib/tools/swig/Lib/python/attribute.i
- - boost_intrusive_ptr.i:
- - contrib/tools/swig/Lib/java/boost_intrusive_ptr.i
- - boost_shared_ptr.i:
- - contrib/tools/swig/Lib/java/boost_shared_ptr.i
- - contrib/tools/swig/Lib/python/boost_shared_ptr.i
- - builtin.swg:
- - contrib/tools/swig/Lib/python/builtin.swg
- - carrays.i:
- - contrib/tools/swig/Lib/carrays.i
- - contrib/tools/swig/Lib/perl5/carrays.i
- - contrib/tools/swig/Lib/python/carrays.i
- - ccomplex.i:
- - contrib/tools/swig/Lib/python/ccomplex.i
- - cdata.i:
- - contrib/tools/swig/Lib/cdata.i
- - contrib/tools/swig/Lib/go/cdata.i
- - contrib/tools/swig/Lib/perl5/cdata.i
- - contrib/tools/swig/Lib/python/cdata.i
- - cmalloc.i:
- - contrib/tools/swig/Lib/cmalloc.i
- - contrib/tools/swig/Lib/perl5/cmalloc.i
- - contrib/tools/swig/Lib/python/cmalloc.i
- - complex.i:
- - contrib/tools/swig/Lib/python/complex.i
- - cpointer.i:
- - contrib/tools/swig/Lib/cpointer.i
- - contrib/tools/swig/Lib/perl5/cpointer.i
- - contrib/tools/swig/Lib/python/cpointer.i
- - cstring.i:
- - contrib/tools/swig/Lib/cstring.i
- - contrib/tools/swig/Lib/perl5/cstring.i
- - contrib/tools/swig/Lib/python/cstring.i
- - cwstring.i:
- - contrib/tools/swig/Lib/cwstring.i
- - contrib/tools/swig/Lib/python/cwstring.i
- - defarg.swg:
- - contrib/tools/swig/Lib/python/defarg.swg
- - director.swg:
- - contrib/tools/swig/Lib/go/director.swg
- - contrib/tools/swig/Lib/java/director.swg
- - contrib/tools/swig/Lib/perl5/director.swg
- - contrib/tools/swig/Lib/python/director.swg
- - embed.i:
- - contrib/tools/swig/Lib/python/embed.i
- - enums.swg:
- - contrib/tools/swig/Lib/java/enums.swg
- - enumsimple.swg:
- - contrib/tools/swig/Lib/java/enumsimple.swg
- - enumtypesafe.swg:
- - contrib/tools/swig/Lib/java/enumtypesafe.swg
- - enumtypeunsafe.swg:
- - contrib/tools/swig/Lib/java/enumtypeunsafe.swg
+ - argcargv.i:
+ - contrib/tools/swig/Lib/python/argcargv.i
+ - arrays_java.i:
+ - contrib/tools/swig/Lib/java/arrays_java.i
+ - attribute.i:
+ - contrib/tools/swig/Lib/attribute.i
+ - contrib/tools/swig/Lib/perl5/attribute.i
+ - contrib/tools/swig/Lib/python/attribute.i
+ - boost_intrusive_ptr.i:
+ - contrib/tools/swig/Lib/java/boost_intrusive_ptr.i
+ - boost_shared_ptr.i:
+ - contrib/tools/swig/Lib/java/boost_shared_ptr.i
+ - contrib/tools/swig/Lib/python/boost_shared_ptr.i
+ - builtin.swg:
+ - contrib/tools/swig/Lib/python/builtin.swg
+ - carrays.i:
+ - contrib/tools/swig/Lib/carrays.i
+ - contrib/tools/swig/Lib/perl5/carrays.i
+ - contrib/tools/swig/Lib/python/carrays.i
+ - ccomplex.i:
+ - contrib/tools/swig/Lib/python/ccomplex.i
+ - cdata.i:
+ - contrib/tools/swig/Lib/cdata.i
+ - contrib/tools/swig/Lib/go/cdata.i
+ - contrib/tools/swig/Lib/perl5/cdata.i
+ - contrib/tools/swig/Lib/python/cdata.i
+ - cmalloc.i:
+ - contrib/tools/swig/Lib/cmalloc.i
+ - contrib/tools/swig/Lib/perl5/cmalloc.i
+ - contrib/tools/swig/Lib/python/cmalloc.i
+ - complex.i:
+ - contrib/tools/swig/Lib/python/complex.i
+ - cpointer.i:
+ - contrib/tools/swig/Lib/cpointer.i
+ - contrib/tools/swig/Lib/perl5/cpointer.i
+ - contrib/tools/swig/Lib/python/cpointer.i
+ - cstring.i:
+ - contrib/tools/swig/Lib/cstring.i
+ - contrib/tools/swig/Lib/perl5/cstring.i
+ - contrib/tools/swig/Lib/python/cstring.i
+ - cwstring.i:
+ - contrib/tools/swig/Lib/cwstring.i
+ - contrib/tools/swig/Lib/python/cwstring.i
+ - defarg.swg:
+ - contrib/tools/swig/Lib/python/defarg.swg
+ - director.swg:
+ - contrib/tools/swig/Lib/go/director.swg
+ - contrib/tools/swig/Lib/java/director.swg
+ - contrib/tools/swig/Lib/perl5/director.swg
+ - contrib/tools/swig/Lib/python/director.swg
+ - embed.i:
+ - contrib/tools/swig/Lib/python/embed.i
+ - enums.swg:
+ - contrib/tools/swig/Lib/java/enums.swg
+ - enumsimple.swg:
+ - contrib/tools/swig/Lib/java/enumsimple.swg
+ - enumtypesafe.swg:
+ - contrib/tools/swig/Lib/java/enumtypesafe.swg
+ - enumtypeunsafe.swg:
+ - contrib/tools/swig/Lib/java/enumtypeunsafe.swg
- exception.i:
- contrib/tools/swig/Lib/exception.i
- - contrib/tools/swig/Lib/go/exception.i
+ - contrib/tools/swig/Lib/go/exception.i
- contrib/tools/swig/Lib/perl5/exception.i
- - contrib/tools/swig/Lib/python/exception.i
- - factory.i:
- - contrib/tools/swig/Lib/perl5/factory.i
- - contrib/tools/swig/Lib/python/factory.i
- - file.i:
- - contrib/tools/swig/Lib/python/file.i
- - go.swg:
- - contrib/tools/swig/Lib/go/go.swg
- - gokw.swg:
- - contrib/tools/swig/Lib/go/gokw.swg
- - goruntime.swg:
- - contrib/tools/swig/Lib/go/goruntime.swg
- - gostring.swg:
- - contrib/tools/swig/Lib/go/gostring.swg
- - implicit.i:
- - contrib/tools/swig/Lib/python/implicit.i
- - java.swg:
- - contrib/tools/swig/Lib/java/java.swg
- - javahead.swg:
- - contrib/tools/swig/Lib/java/javahead.swg
- - javakw.swg:
- - contrib/tools/swig/Lib/java/javakw.swg
- - perl5.swg:
- - contrib/tools/swig/Lib/perl5/perl5.swg
- - perlerrors.swg:
- - contrib/tools/swig/Lib/perl5/perlerrors.swg
- - perlfragments.swg:
- - contrib/tools/swig/Lib/perl5/perlfragments.swg
- - perlhead.swg:
- - contrib/tools/swig/Lib/perl5/perlhead.swg
- - perlinit.swg:
- - contrib/tools/swig/Lib/perl5/perlinit.swg
- - perlkw.swg:
- - contrib/tools/swig/Lib/perl5/perlkw.swg
- - perlmacros.swg:
- - contrib/tools/swig/Lib/perl5/perlmacros.swg
- - perlmain.i:
- - contrib/tools/swig/Lib/perl5/perlmain.i
- - perlopers.swg:
- - contrib/tools/swig/Lib/perl5/perlopers.swg
- - perlprimtypes.swg:
- - contrib/tools/swig/Lib/perl5/perlprimtypes.swg
- - perlrun.swg:
- - contrib/tools/swig/Lib/perl5/perlrun.swg
- - perlruntime.swg:
- - contrib/tools/swig/Lib/perl5/perlruntime.swg
- - perlstrings.swg:
- - contrib/tools/swig/Lib/perl5/perlstrings.swg
- - perltypemaps.swg:
- - contrib/tools/swig/Lib/perl5/perltypemaps.swg
- - perluserdir.swg:
- - contrib/tools/swig/Lib/perl5/perluserdir.swg
- - pyabc.i:
- - contrib/tools/swig/Lib/python/pyabc.i
- - pyapi.swg:
- - contrib/tools/swig/Lib/python/pyapi.swg
- - pybackward.swg:
- - contrib/tools/swig/Lib/python/pybackward.swg
- - pybuffer.i:
- - contrib/tools/swig/Lib/python/pybuffer.i
- - pyclasses.swg:
- - contrib/tools/swig/Lib/python/pyclasses.swg
- - pycomplex.swg:
- - contrib/tools/swig/Lib/python/pycomplex.swg
- - pycontainer.swg:
- - contrib/tools/swig/Lib/python/pycontainer.swg
- - pydocs.swg:
- - contrib/tools/swig/Lib/python/pydocs.swg
- - pyerrors.swg:
- - contrib/tools/swig/Lib/python/pyerrors.swg
- - pyfragments.swg:
- - contrib/tools/swig/Lib/python/pyfragments.swg
- - pyhead.swg:
- - contrib/tools/swig/Lib/python/pyhead.swg
- - pyinit.swg:
- - contrib/tools/swig/Lib/python/pyinit.swg
- - pyiterators.swg:
- - contrib/tools/swig/Lib/python/pyiterators.swg
- - pymacros.swg:
- - contrib/tools/swig/Lib/python/pymacros.swg
- - pyname_compat.i:
- - contrib/tools/swig/Lib/python/pyname_compat.i
- - pyopers.swg:
- - contrib/tools/swig/Lib/python/pyopers.swg
- - pyprimtypes.swg:
- - contrib/tools/swig/Lib/python/pyprimtypes.swg
- - pyrun.swg:
- - contrib/tools/swig/Lib/python/pyrun.swg
- - pyruntime.swg:
- - contrib/tools/swig/Lib/python/pyruntime.swg
- - pystdcommon.swg:
- - contrib/tools/swig/Lib/python/pystdcommon.swg
- - pystrings.swg:
- - contrib/tools/swig/Lib/python/pystrings.swg
- - python.swg:
- - contrib/tools/swig/Lib/python/python.swg
- - pythonkw.swg:
- - contrib/tools/swig/Lib/python/pythonkw.swg
- - pythreads.swg:
- - contrib/tools/swig/Lib/python/pythreads.swg
- - pytuplehlp.swg:
- - contrib/tools/swig/Lib/python/pytuplehlp.swg
- - pytypemaps.swg:
- - contrib/tools/swig/Lib/python/pytypemaps.swg
- - pyuserdir.swg:
- - contrib/tools/swig/Lib/python/pyuserdir.swg
- - pywstrings.swg:
- - contrib/tools/swig/Lib/python/pywstrings.swg
- - reference.i:
- - contrib/tools/swig/Lib/perl5/reference.i
- - std_alloc.i:
- - contrib/tools/swig/Lib/python/std_alloc.i
- - std_array.i:
- - contrib/tools/swig/Lib/java/std_array.i
- - contrib/tools/swig/Lib/python/std_array.i
- - std_auto_ptr.i:
- - contrib/tools/swig/Lib/java/std_auto_ptr.i
- - contrib/tools/swig/Lib/python/std_auto_ptr.i
- - std_basic_string.i:
- - contrib/tools/swig/Lib/python/std_basic_string.i
- - std_carray.i:
- - contrib/tools/swig/Lib/python/std_carray.i
- - std_char_traits.i:
- - contrib/tools/swig/Lib/python/std_char_traits.i
+ - contrib/tools/swig/Lib/python/exception.i
+ - factory.i:
+ - contrib/tools/swig/Lib/perl5/factory.i
+ - contrib/tools/swig/Lib/python/factory.i
+ - file.i:
+ - contrib/tools/swig/Lib/python/file.i
+ - go.swg:
+ - contrib/tools/swig/Lib/go/go.swg
+ - gokw.swg:
+ - contrib/tools/swig/Lib/go/gokw.swg
+ - goruntime.swg:
+ - contrib/tools/swig/Lib/go/goruntime.swg
+ - gostring.swg:
+ - contrib/tools/swig/Lib/go/gostring.swg
+ - implicit.i:
+ - contrib/tools/swig/Lib/python/implicit.i
+ - java.swg:
+ - contrib/tools/swig/Lib/java/java.swg
+ - javahead.swg:
+ - contrib/tools/swig/Lib/java/javahead.swg
+ - javakw.swg:
+ - contrib/tools/swig/Lib/java/javakw.swg
+ - perl5.swg:
+ - contrib/tools/swig/Lib/perl5/perl5.swg
+ - perlerrors.swg:
+ - contrib/tools/swig/Lib/perl5/perlerrors.swg
+ - perlfragments.swg:
+ - contrib/tools/swig/Lib/perl5/perlfragments.swg
+ - perlhead.swg:
+ - contrib/tools/swig/Lib/perl5/perlhead.swg
+ - perlinit.swg:
+ - contrib/tools/swig/Lib/perl5/perlinit.swg
+ - perlkw.swg:
+ - contrib/tools/swig/Lib/perl5/perlkw.swg
+ - perlmacros.swg:
+ - contrib/tools/swig/Lib/perl5/perlmacros.swg
+ - perlmain.i:
+ - contrib/tools/swig/Lib/perl5/perlmain.i
+ - perlopers.swg:
+ - contrib/tools/swig/Lib/perl5/perlopers.swg
+ - perlprimtypes.swg:
+ - contrib/tools/swig/Lib/perl5/perlprimtypes.swg
+ - perlrun.swg:
+ - contrib/tools/swig/Lib/perl5/perlrun.swg
+ - perlruntime.swg:
+ - contrib/tools/swig/Lib/perl5/perlruntime.swg
+ - perlstrings.swg:
+ - contrib/tools/swig/Lib/perl5/perlstrings.swg
+ - perltypemaps.swg:
+ - contrib/tools/swig/Lib/perl5/perltypemaps.swg
+ - perluserdir.swg:
+ - contrib/tools/swig/Lib/perl5/perluserdir.swg
+ - pyabc.i:
+ - contrib/tools/swig/Lib/python/pyabc.i
+ - pyapi.swg:
+ - contrib/tools/swig/Lib/python/pyapi.swg
+ - pybackward.swg:
+ - contrib/tools/swig/Lib/python/pybackward.swg
+ - pybuffer.i:
+ - contrib/tools/swig/Lib/python/pybuffer.i
+ - pyclasses.swg:
+ - contrib/tools/swig/Lib/python/pyclasses.swg
+ - pycomplex.swg:
+ - contrib/tools/swig/Lib/python/pycomplex.swg
+ - pycontainer.swg:
+ - contrib/tools/swig/Lib/python/pycontainer.swg
+ - pydocs.swg:
+ - contrib/tools/swig/Lib/python/pydocs.swg
+ - pyerrors.swg:
+ - contrib/tools/swig/Lib/python/pyerrors.swg
+ - pyfragments.swg:
+ - contrib/tools/swig/Lib/python/pyfragments.swg
+ - pyhead.swg:
+ - contrib/tools/swig/Lib/python/pyhead.swg
+ - pyinit.swg:
+ - contrib/tools/swig/Lib/python/pyinit.swg
+ - pyiterators.swg:
+ - contrib/tools/swig/Lib/python/pyiterators.swg
+ - pymacros.swg:
+ - contrib/tools/swig/Lib/python/pymacros.swg
+ - pyname_compat.i:
+ - contrib/tools/swig/Lib/python/pyname_compat.i
+ - pyopers.swg:
+ - contrib/tools/swig/Lib/python/pyopers.swg
+ - pyprimtypes.swg:
+ - contrib/tools/swig/Lib/python/pyprimtypes.swg
+ - pyrun.swg:
+ - contrib/tools/swig/Lib/python/pyrun.swg
+ - pyruntime.swg:
+ - contrib/tools/swig/Lib/python/pyruntime.swg
+ - pystdcommon.swg:
+ - contrib/tools/swig/Lib/python/pystdcommon.swg
+ - pystrings.swg:
+ - contrib/tools/swig/Lib/python/pystrings.swg
+ - python.swg:
+ - contrib/tools/swig/Lib/python/python.swg
+ - pythonkw.swg:
+ - contrib/tools/swig/Lib/python/pythonkw.swg
+ - pythreads.swg:
+ - contrib/tools/swig/Lib/python/pythreads.swg
+ - pytuplehlp.swg:
+ - contrib/tools/swig/Lib/python/pytuplehlp.swg
+ - pytypemaps.swg:
+ - contrib/tools/swig/Lib/python/pytypemaps.swg
+ - pyuserdir.swg:
+ - contrib/tools/swig/Lib/python/pyuserdir.swg
+ - pywstrings.swg:
+ - contrib/tools/swig/Lib/python/pywstrings.swg
+ - reference.i:
+ - contrib/tools/swig/Lib/perl5/reference.i
+ - std_alloc.i:
+ - contrib/tools/swig/Lib/python/std_alloc.i
+ - std_array.i:
+ - contrib/tools/swig/Lib/java/std_array.i
+ - contrib/tools/swig/Lib/python/std_array.i
+ - std_auto_ptr.i:
+ - contrib/tools/swig/Lib/java/std_auto_ptr.i
+ - contrib/tools/swig/Lib/python/std_auto_ptr.i
+ - std_basic_string.i:
+ - contrib/tools/swig/Lib/python/std_basic_string.i
+ - std_carray.i:
+ - contrib/tools/swig/Lib/python/std_carray.i
+ - std_char_traits.i:
+ - contrib/tools/swig/Lib/python/std_char_traits.i
- std_common.i:
- - contrib/tools/swig/Lib/go/std_common.i
- - contrib/tools/swig/Lib/java/std_common.i
- - contrib/tools/swig/Lib/perl5/std_common.i
+ - contrib/tools/swig/Lib/go/std_common.i
+ - contrib/tools/swig/Lib/java/std_common.i
+ - contrib/tools/swig/Lib/perl5/std_common.i
- contrib/tools/swig/Lib/python/std_common.i
- - std_complex.i:
- - contrib/tools/swig/Lib/python/std_complex.i
- - std_container.i:
- - contrib/tools/swig/Lib/python/std_container.i
- - std_deque.i:
- - contrib/tools/swig/Lib/go/std_deque.i
- - contrib/tools/swig/Lib/java/std_deque.i
- - contrib/tools/swig/Lib/perl5/std_deque.i
- - contrib/tools/swig/Lib/python/std_deque.i
+ - std_complex.i:
+ - contrib/tools/swig/Lib/python/std_complex.i
+ - std_container.i:
+ - contrib/tools/swig/Lib/python/std_container.i
+ - std_deque.i:
+ - contrib/tools/swig/Lib/go/std_deque.i
+ - contrib/tools/swig/Lib/java/std_deque.i
+ - contrib/tools/swig/Lib/perl5/std_deque.i
+ - contrib/tools/swig/Lib/python/std_deque.i
- std_except.i:
- - contrib/tools/swig/Lib/go/std_except.i
- - contrib/tools/swig/Lib/java/std_except.i
- - contrib/tools/swig/Lib/perl5/std_except.i
+ - contrib/tools/swig/Lib/go/std_except.i
+ - contrib/tools/swig/Lib/java/std_except.i
+ - contrib/tools/swig/Lib/perl5/std_except.i
- contrib/tools/swig/Lib/python/std_except.i
- - std_ios.i:
- - contrib/tools/swig/Lib/python/std_ios.i
- - std_iostream.i:
- - contrib/tools/swig/Lib/python/std_iostream.i
- - std_list.i:
- - contrib/tools/swig/Lib/go/std_list.i
- - contrib/tools/swig/Lib/java/std_list.i
- - contrib/tools/swig/Lib/perl5/std_list.i
- - contrib/tools/swig/Lib/python/std_list.i
+ - std_ios.i:
+ - contrib/tools/swig/Lib/python/std_ios.i
+ - std_iostream.i:
+ - contrib/tools/swig/Lib/python/std_iostream.i
+ - std_list.i:
+ - contrib/tools/swig/Lib/go/std_list.i
+ - contrib/tools/swig/Lib/java/std_list.i
+ - contrib/tools/swig/Lib/perl5/std_list.i
+ - contrib/tools/swig/Lib/python/std_list.i
- std_map.i:
- - contrib/tools/swig/Lib/go/std_map.i
- - contrib/tools/swig/Lib/java/std_map.i
- - contrib/tools/swig/Lib/perl5/std_map.i
+ - contrib/tools/swig/Lib/go/std_map.i
+ - contrib/tools/swig/Lib/java/std_map.i
+ - contrib/tools/swig/Lib/perl5/std_map.i
- contrib/tools/swig/Lib/python/std_map.i
- - std_multimap.i:
- - contrib/tools/swig/Lib/python/std_multimap.i
- - std_multiset.i:
- - contrib/tools/swig/Lib/python/std_multiset.i
+ - std_multimap.i:
+ - contrib/tools/swig/Lib/python/std_multimap.i
+ - std_multiset.i:
+ - contrib/tools/swig/Lib/python/std_multiset.i
- std_pair.i:
- - contrib/tools/swig/Lib/go/std_pair.i
- - contrib/tools/swig/Lib/java/std_pair.i
- - contrib/tools/swig/Lib/perl5/std_pair.i
+ - contrib/tools/swig/Lib/go/std_pair.i
+ - contrib/tools/swig/Lib/java/std_pair.i
+ - contrib/tools/swig/Lib/perl5/std_pair.i
- contrib/tools/swig/Lib/python/std_pair.i
- - std_set.i:
- - contrib/tools/swig/Lib/java/std_set.i
- - contrib/tools/swig/Lib/python/std_set.i
+ - std_set.i:
+ - contrib/tools/swig/Lib/java/std_set.i
+ - contrib/tools/swig/Lib/python/std_set.i
- std_shared_ptr.i:
- - contrib/tools/swig/Lib/java/std_shared_ptr.i
+ - contrib/tools/swig/Lib/java/std_shared_ptr.i
- contrib/tools/swig/Lib/python/std_shared_ptr.i
- - std_sstream.i:
- - contrib/tools/swig/Lib/python/std_sstream.i
- - std_streambuf.i:
- - contrib/tools/swig/Lib/python/std_streambuf.i
- - std_string.i:
- - contrib/tools/swig/Lib/go/std_string.i
- - contrib/tools/swig/Lib/java/std_string.i
- - contrib/tools/swig/Lib/perl5/std_string.i
- - contrib/tools/swig/Lib/python/std_string.i
- - std_unordered_map.i:
- - contrib/tools/swig/Lib/java/std_unordered_map.i
- - contrib/tools/swig/Lib/python/std_unordered_map.i
- - std_unordered_multimap.i:
- - contrib/tools/swig/Lib/python/std_unordered_multimap.i
- - std_unordered_multiset.i:
- - contrib/tools/swig/Lib/python/std_unordered_multiset.i
- - std_unordered_set.i:
- - contrib/tools/swig/Lib/java/std_unordered_set.i
- - contrib/tools/swig/Lib/python/std_unordered_set.i
- - std_vector.i:
- - contrib/tools/swig/Lib/go/std_vector.i
- - contrib/tools/swig/Lib/java/std_vector.i
- - contrib/tools/swig/Lib/perl5/std_vector.i
- - contrib/tools/swig/Lib/python/std_vector.i
- - std_vectora.i:
- - contrib/tools/swig/Lib/python/std_vectora.i
- - std_wios.i:
- - contrib/tools/swig/Lib/python/std_wios.i
- - std_wiostream.i:
- - contrib/tools/swig/Lib/python/std_wiostream.i
- - std_wsstream.i:
- - contrib/tools/swig/Lib/python/std_wsstream.i
- - std_wstreambuf.i:
- - contrib/tools/swig/Lib/python/std_wstreambuf.i
- - std_wstring.i:
- - contrib/tools/swig/Lib/java/std_wstring.i
- - contrib/tools/swig/Lib/python/std_wstring.i
- - stl.i:
- - contrib/tools/swig/Lib/go/stl.i
- - contrib/tools/swig/Lib/java/stl.i
- - contrib/tools/swig/Lib/perl5/stl.i
- - contrib/tools/swig/Lib/python/stl.i
- - swiginterface.i:
- - contrib/tools/swig/Lib/java/swiginterface.i
- - typemaps.i:
- - contrib/tools/swig/Lib/go/typemaps.i
- - contrib/tools/swig/Lib/java/typemaps.i
- - contrib/tools/swig/Lib/perl5/typemaps.i
- - contrib/tools/swig/Lib/python/typemaps.i
- - various.i:
- - contrib/tools/swig/Lib/java/various.i
+ - std_sstream.i:
+ - contrib/tools/swig/Lib/python/std_sstream.i
+ - std_streambuf.i:
+ - contrib/tools/swig/Lib/python/std_streambuf.i
+ - std_string.i:
+ - contrib/tools/swig/Lib/go/std_string.i
+ - contrib/tools/swig/Lib/java/std_string.i
+ - contrib/tools/swig/Lib/perl5/std_string.i
+ - contrib/tools/swig/Lib/python/std_string.i
+ - std_unordered_map.i:
+ - contrib/tools/swig/Lib/java/std_unordered_map.i
+ - contrib/tools/swig/Lib/python/std_unordered_map.i
+ - std_unordered_multimap.i:
+ - contrib/tools/swig/Lib/python/std_unordered_multimap.i
+ - std_unordered_multiset.i:
+ - contrib/tools/swig/Lib/python/std_unordered_multiset.i
+ - std_unordered_set.i:
+ - contrib/tools/swig/Lib/java/std_unordered_set.i
+ - contrib/tools/swig/Lib/python/std_unordered_set.i
+ - std_vector.i:
+ - contrib/tools/swig/Lib/go/std_vector.i
+ - contrib/tools/swig/Lib/java/std_vector.i
+ - contrib/tools/swig/Lib/perl5/std_vector.i
+ - contrib/tools/swig/Lib/python/std_vector.i
+ - std_vectora.i:
+ - contrib/tools/swig/Lib/python/std_vectora.i
+ - std_wios.i:
+ - contrib/tools/swig/Lib/python/std_wios.i
+ - std_wiostream.i:
+ - contrib/tools/swig/Lib/python/std_wiostream.i
+ - std_wsstream.i:
+ - contrib/tools/swig/Lib/python/std_wsstream.i
+ - std_wstreambuf.i:
+ - contrib/tools/swig/Lib/python/std_wstreambuf.i
+ - std_wstring.i:
+ - contrib/tools/swig/Lib/java/std_wstring.i
+ - contrib/tools/swig/Lib/python/std_wstring.i
+ - stl.i:
+ - contrib/tools/swig/Lib/go/stl.i
+ - contrib/tools/swig/Lib/java/stl.i
+ - contrib/tools/swig/Lib/perl5/stl.i
+ - contrib/tools/swig/Lib/python/stl.i
+ - swiginterface.i:
+ - contrib/tools/swig/Lib/java/swiginterface.i
+ - typemaps.i:
+ - contrib/tools/swig/Lib/go/typemaps.i
+ - contrib/tools/swig/Lib/java/typemaps.i
+ - contrib/tools/swig/Lib/perl5/typemaps.i
+ - contrib/tools/swig/Lib/python/typemaps.i
+ - various.i:
+ - contrib/tools/swig/Lib/java/various.i
- wchar.i:
- contrib/tools/swig/Lib/python/wchar.i
- contrib/tools/swig/Lib/wchar.i
diff --git a/build/sysincl/unsorted.yml b/build/sysincl/unsorted.yml
index fe9b8eefae..a889b923a0 100644
--- a/build/sysincl/unsorted.yml
+++ b/build/sysincl/unsorted.yml
@@ -500,7 +500,7 @@
- ioLib.h
- iosLib.h
- resolvLib.h
- - rtpLib.h
+ - rtpLib.h
- pipeDrv.h
- selectLib.h
#endif
@@ -543,7 +543,7 @@
- perliol.h
#endif
#if defined(__NetBSD__)
- - lwp.h
+ - lwp.h
- perfuse.h
#endif
#if V8_OS_QNX
@@ -551,7 +551,7 @@
#endif
#if V8_OS_AIX
- sys/systemcfg.h
- - sys/thread.h
+ - sys/thread.h
#endif
- mbarrier.h
- iostream.h
@@ -675,7 +675,7 @@
- tr1/complex
- tbb/scalable_allocator.h
- libmemcached/dtrace_probes.h
- # unknown
+ # unknown
- win_stdint.h
- probes.h
- thread.h
@@ -965,7 +965,7 @@
#endif
- zend_exceptions.h
#if MATLAB_MEX_FILE
- # unknown
+ # unknown
- GL/glx.h
- CL/va_ext.h
- sys/sysconf.h
diff --git a/build/ya.conf.json b/build/ya.conf.json
index 266c744c9d..5f7cc875d6 100644
--- a/build/ya.conf.json
+++ b/build/ya.conf.json
@@ -7,13 +7,13 @@
"description": "Run C++ compiler"
},
"clang-format": {
- "description": "Run Clang-Format source code formatter"
+ "description": "Run Clang-Format source code formatter"
+ },
+ "clang-rename": {
+ "description": "Run Clang-Rename refactoring tool"
},
- "clang-rename": {
- "description": "Run Clang-Rename refactoring tool"
- },
"clang-tidy": {
- "description": "Run Clang-Tidy source code linter"
+ "description": "Run Clang-Tidy source code linter"
},
"clang-apply-replacements": {
"description": "Run clang-apply-replacements companion for clang-tidy"
@@ -94,9 +94,9 @@
"description": "Run Python 3",
"visible": false
},
- "jar": {
- "description": "Run jar"
- },
+ "jar": {
+ "description": "Run jar"
+ },
"java": {
"description": "Run java"
},
@@ -115,24 +115,24 @@
"javac11": {
"description": "Run javac 11"
},
- "jar15": {
- "description": "Run jar from jdk15"
- },
+ "jar15": {
+ "description": "Run jar from jdk15"
+ },
"java15": {
"description": "Run java 15"
},
"javac15": {
"description": "Run javac 15"
},
- "jar17": {
+ "jar17": {
"description": "Run jar from jdk15"
},
- "java17": {
- "description": "Run java 15"
- },
- "javac17": {
- "description": "Run javac 15"
- },
+ "java17": {
+ "description": "Run java 15"
+ },
+ "javac17": {
+ "description": "Run javac 15"
+ },
"jq": {
"description": "Run jq"
},
@@ -3309,49 +3309,49 @@
}
]
},
- "jdk17": {
- "tools": {
- "jar17": {
- "bottle": "jdk17",
- "executable": "jar"
- },
- "java17": {
- "bottle": "jdk17",
- "executable": "java"
- },
- "javac17": {
- "bottle": "jdk17",
- "executable": "javac"
- }
- },
- "platforms": [
- {
- "host": {
- "os": "LINUX"
- },
- "default": true
- },
- {
- "host": {
- "os": "WIN"
- },
- "default": true
- },
- {
- "host": {
- "os": "DARWIN"
- },
- "default": true
- },
- {
- "host": {
- "os": "DARWIN",
- "arch": "arm64"
- },
- "default": true
- }
- ]
- },
+ "jdk17": {
+ "tools": {
+ "jar17": {
+ "bottle": "jdk17",
+ "executable": "jar"
+ },
+ "java17": {
+ "bottle": "jdk17",
+ "executable": "java"
+ },
+ "javac17": {
+ "bottle": "jdk17",
+ "executable": "javac"
+ }
+ },
+ "platforms": [
+ {
+ "host": {
+ "os": "LINUX"
+ },
+ "default": true
+ },
+ {
+ "host": {
+ "os": "WIN"
+ },
+ "default": true
+ },
+ {
+ "host": {
+ "os": "DARWIN"
+ },
+ "default": true
+ },
+ {
+ "host": {
+ "os": "DARWIN",
+ "arch": "arm64"
+ },
+ "default": true
+ }
+ ]
+ },
"svn110": {
"tools": {
"svn": {
@@ -3741,7 +3741,7 @@
},
"env": {
"TERMINFO": [
- "$(ROOT)/share/terminfo"
+ "$(ROOT)/share/terminfo"
]
},
"platforms": [
@@ -6054,31 +6054,31 @@
]
}
},
- "jdk17": {
- "formula": {
- "sandbox_id": [
- 1086829307,
- 1086824941,
- 1086822428,
- 1086827917
- ],
- "match": "openjdk"
- },
- "executable": {
- "jar": [
- "bin",
- "jar"
- ],
- "java": [
- "bin",
- "java"
- ],
- "javac": [
- "bin",
- "javac"
- ]
- }
- },
+ "jdk17": {
+ "formula": {
+ "sandbox_id": [
+ 1086829307,
+ 1086824941,
+ 1086822428,
+ 1086827917
+ ],
+ "match": "openjdk"
+ },
+ "executable": {
+ "jar": [
+ "bin",
+ "jar"
+ ],
+ "java": [
+ "bin",
+ "java"
+ ],
+ "javac": [
+ "bin",
+ "javac"
+ ]
+ }
+ },
"clang12": {
"formula": {
"sandbox_id": [
@@ -6125,14 +6125,14 @@
],
"llvm-nm": [
"bin",
- "llvm-nm"
- ],
- "llvm-strip": [
- "bin",
- "llvm-strip"
- ],
- "llvm-objcopy": [
- "bin",
+ "llvm-nm"
+ ],
+ "llvm-strip": [
+ "bin",
+ "llvm-strip"
+ ],
+ "llvm-objcopy": [
+ "bin",
"llvm-objcopy"
]
}
@@ -6781,7 +6781,7 @@
},
"valgrind": {
"formula": {
- "sandbox_id": 944969271,
+ "sandbox_id": 944969271,
"match": "Valgrind"
},
"executable": {
@@ -6911,9 +6911,9 @@
},
"tmux": {
"formula": {
- "sandbox_id": [
- 1105659071
- ],
+ "sandbox_id": [
+ 1105659071
+ ],
"match": "tmux"
},
"executable": {
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index 5c7f76fb0d..081833998b 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -21,11 +21,11 @@ SRCDIR=
YMAKE=ymake
ECHO=echo
INCLUDE_EXTS=.h .hh .hpp .rli .cuh .inc .i
-CPP_EXT=.cpp
+CPP_EXT=.cpp
OBJ_SUF=
CFLAGS=
EXTRA_C_FLAGS=
-SFLAGS=
+SFLAGS=
AUTOCHECK_BALANCING_OPTIONS=
SO_OTPUTS=no
@@ -318,17 +318,17 @@ ${output_include;hide:"omp.h"}
CYTHON_CPP_OUTPUT_INCLUDES=${output_include;hide:"contrib/tools/cython/generated_cpp_headers.h"}
# tag:cython-specific
-CYTHON_OPTIONS=
-when ($OS_LINUX) {
- CYTHON_OPTIONS += -E UNAME_SYSNAME=Linux
-}
-elsewhen ($OS_DARWIN) {
- CYTHON_OPTIONS += -E UNAME_SYSNAME=Darwin
-}
-elsewhen ($OS_WINDOWS) {
- CYTHON_OPTIONS += -E UNAME_SYSNAME=Windows
-}
-
+CYTHON_OPTIONS=
+when ($OS_LINUX) {
+ CYTHON_OPTIONS += -E UNAME_SYSNAME=Linux
+}
+elsewhen ($OS_DARWIN) {
+ CYTHON_OPTIONS += -E UNAME_SYSNAME=Darwin
+}
+elsewhen ($OS_WINDOWS) {
+ CYTHON_OPTIONS += -E UNAME_SYSNAME=Windows
+}
+
when ($USE_LOCAL_SWIG != "yes") {
_SWIG_TOOL=${tool:"contrib/tools/swig"}
_SWIG_LIBRARY=contrib/tools/swig/Lib
@@ -339,8 +339,8 @@ otherwise {
_SWIG_LIBRARY=$SWIG_LIBRARY
_SWIG_LIBRARY_ABS=$SWIG_LIBRARY
}
-SWIG_IMPLICIT_INCLUDES = swig.swg go.swg java.swg perl5.swg python.swg
-
+SWIG_IMPLICIT_INCLUDES = swig.swg go.swg java.swg perl5.swg python.swg
+
FATAL_ERROR_MODULE=no
FATAL_ERROR_MESSAGE=
@@ -442,7 +442,7 @@ when ($SANITIZER_TYPE) {
###
### @see https://a.yandex-team.ru/arc/trunk/arcadia/build/scripts/check_config_h.py for exact details
macro CHECK_CONFIG_H(Conf) {
- .CMD=$YMAKE_PYTHON ${input:"build/scripts/check_config_h.py"} ${input;rootrel:Conf} ${output;nopath;noext:Conf.config.cpp} ${kv;hide:"p CH"} ${kv;hide:"pc yellow"}
+ .CMD=$YMAKE_PYTHON ${input:"build/scripts/check_config_h.py"} ${input;rootrel:Conf} ${output;nopath;noext:Conf.config.cpp} ${kv;hide:"p CH"} ${kv;hide:"pc yellow"}
OUTPUT_INCLUDES=$Conf
}
@@ -611,7 +611,7 @@ macro _PROTO_PLUGIN_ARGS_BASE(Name, Tool, OutParm...) {
# tag:proto tag:python-specific
macro _ADD_PY_PROTO_OUT(Suf) {
- SET_APPEND(PY_PROTO_OUTS \${output;hide;noauto;norel;nopath;noext;suf=$Suf:File})
+ SET_APPEND(PY_PROTO_OUTS \${output;hide;noauto;norel;nopath;noext;suf=$Suf:File})
SET_APPEND(PY_PROTO_OUTS_INTERNAL \${output;hide;noauto;norel;nopath;noext;suf=__int__$Suf:File} \${hide;kv:"ext_out_name_for_\${nopath;noext;suf=__int__$Suf:File} \${nopath;noext;suf=$Suf:File}"})
# XXX fix variable expansion in plugins
SET(PY_PROTO_SUFFIXES $PY_PROTO_SUFFIXES $Suf)
@@ -954,7 +954,7 @@ macro XS_PROTO(File, Dir, Outputs...) {
###
### Produce flatbuf schema out of protobuf description.
macro PROTO2FBS(File) {
- .CMD=${cwd:BINDIR} ${tool:"contrib/tools/flatc"} -I . -I ${ARCADIA_ROOT} --proto ${input:File} ${output;hide;nopath;noext:File.fbs} ${kv;hide:"p FBS"} ${kv;hide:"pc yellow"}
+ .CMD=${cwd:BINDIR} ${tool:"contrib/tools/flatc"} -I . -I ${ARCADIA_ROOT} --proto ${input:File} ${output;hide;nopath;noext:File.fbs} ${kv;hide:"p FBS"} ${kv;hide:"pc yellow"}
}
# tag:proto tag:python-specific
@@ -980,7 +980,7 @@ macro _PY_EVLOG_CMD_INTERNAL(File) {
# tag:java-specific tag:proto
macro _JAVA_EVLOG_CMD(File) {
- .CMD=$COPY_CMD ${input:File} ${output;nopath;noext;norel;suf=_ev.proto:File} ${kv;hide:"p EV"} ${kv;hide:"pc yellow"}
+ .CMD=$COPY_CMD ${input:File} ${output;nopath;noext;norel;suf=_ev.proto:File} ${kv;hide:"p EV"} ${kv;hide:"pc yellow"}
.PEERDIR=library/cpp/eventlog/proto
}
@@ -1105,15 +1105,15 @@ PYTHON2=no
PYTHON3=no
# tag:python-specific
-when (!$ARCADIA_PYTHON_UNICODE_SIZE) {
- when ($OS_WINDOWS) {
- ARCADIA_PYTHON_UNICODE_SIZE=2
- }
- otherwise {
- ARCADIA_PYTHON_UNICODE_SIZE=4
- }
-}
-
+when (!$ARCADIA_PYTHON_UNICODE_SIZE) {
+ when ($OS_WINDOWS) {
+ ARCADIA_PYTHON_UNICODE_SIZE=2
+ }
+ otherwise {
+ ARCADIA_PYTHON_UNICODE_SIZE=4
+ }
+}
+
### @usage: _BARE_UNIT # internal
###
### The base of all modules describing default bare minimum for all modules.
@@ -1261,10 +1261,10 @@ module _BASE_UNIT: _BARE_UNIT {
PEERDIR+=$COMPILER_PLATFORM
}
- when ($OS_LINUX && $NEED_PLATFORM_PEERDIRS == "yes") {
- PEERDIR+=contrib/libs/linux-headers
- }
-
+ when ($OS_LINUX && $NEED_PLATFORM_PEERDIRS == "yes") {
+ PEERDIR+=contrib/libs/linux-headers
+ }
+
# Adding PEERDIR from trigger doesn't always work. In this case it
# cause troubles in contrib/libs/libc_compat/ubuntu_14 under musl
# Workaround this issue by setting variable with PEERDIR in trigger
@@ -1289,7 +1289,7 @@ module _BASE_UNIT: _BARE_UNIT {
}
when ($MUSL == "yes") {
- CFLAGS += -D_musl_
+ CFLAGS += -D_musl_
LINK_DYN_LIB_FLAGS += --musl
LINK_SCRIPT_EXE_FLAGS += --musl
PEERDIR+=contrib/libs/musl/include
@@ -1332,8 +1332,8 @@ module _BASE_UNIT: _BARE_UNIT {
}
}
- _REGISTER_NO_CHECK_IMPORTS()
-
+ _REGISTER_NO_CHECK_IMPORTS()
+
DEFAULT(PACKAGE_PREFIX_ARGS)
DEFAULT(BYACC_FLAGS -v)
@@ -1384,26 +1384,26 @@ LINK_ADDITIONAL_SECTIONS=
LINK_ADDITIONAL_SECTIONS_COMMAND=
when ($COMMON_LINK_SETTINGS == "yes") {
- when ($_LINKER_ID == "lld" || $_LINKER_ID == "gold") {
- LDFLAGS += -Wl,--gdb-index
- }
-
+ when ($_LINKER_ID == "lld" || $_LINKER_ID == "gold") {
+ LDFLAGS += -Wl,--gdb-index
+ }
+
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") {
LDFLAGS+=-Wl,--cref ${output;stdout;pre=$MODULE_PREFIX;suf=.ldcref:REALPRJNAME} -Wl,--no-demangle
}
-
+
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") {
LDFLAGS+=-Wl,-Map=${output;rootrel;pre=$MODULE_PREFIX;suf=.map.$_LINKER_ID:REALPRJNAME}
}
-
+
when ($USE_MKL == "yes") {
NOPLATFORM=yes
}
@@ -1493,9 +1493,9 @@ when ($COMMON_LINK_SETTINGS == "yes") {
when ($ALLOCATOR == "SYSTEM") {
PEERDIR+=library/cpp/malloc/system
}
- when ($WERROR != "no") {
+ when ($WERROR != "no") {
when ($WERROR_MODE == "all" || ($WERROR_MODE == "compiler_specific" && $WERROR == "yes")) {
- C_WARNING_OPTS += $WERROR_FLAG
+ C_WARNING_OPTS += $WERROR_FLAG
}
}
@@ -1627,15 +1627,15 @@ module _BASE_PROGRAM: _LINK_UNIT {
PEERDIR+=contrib/libs/asmlib
}
- when ($MUSL == "yes") {
+ when ($MUSL == "yes") {
when ($MUSL_LITE == "yes") {
PEERDIR += contrib/libs/musl
}
otherwise {
PEERDIR += contrib/libs/musl/full
}
- }
-
+ }
+
DEFAULT(CPU_CHECK yes)
when ($USE_SSE4 != "yes" || $NOUTIL == "yes" || $ALLOCATOR == "FAKE") {
CPU_CHECK = no
@@ -1912,7 +1912,7 @@ module FUZZ: _BASE_PROGRAM {
PEERDIR+=$LIBFUZZER_PATH
}
when ($USE_AFL == "yes") {
- PEERDIR+=$LIBFUZZER_PATH/afl
+ PEERDIR+=$LIBFUZZER_PATH/afl
}
when (!$SANITIZER_TYPE || $SANITIZER_TYPE == "no") {
@@ -2390,9 +2390,9 @@ module _LIBRARY: _BASE_UNIT {
}
}
- when ($WERROR != "no") {
+ when ($WERROR != "no") {
when ($WERROR_MODE == "all" || ($WERROR_MODE == "compiler_specific" && $WERROR == "yes")) {
- C_WARNING_OPTS += $WERROR_FLAG
+ C_WARNING_OPTS += $WERROR_FLAG
}
}
@@ -2600,7 +2600,7 @@ module DLL_UNIT: _LINK_UNIT {
.ALLOWED=WHOLE_ARCHIVE
DYNAMIC_LINK=yes
ALLOCATOR(FAKE)
- SET(MODULE_TYPE DLL)
+ SET(MODULE_TYPE DLL)
SET(MODULE_TAG DLL)
SET(MODULE_LANG CPP)
ADD_CLANG_TIDY()
@@ -2817,11 +2817,11 @@ module DLL: DLL_UNIT {
###}
}
-### DLL_TOOL is a DLL that can be used as a LD_PRELOAD tool.
-module DLL_TOOL: DLL {
- # ymake resolves only program nodes as tools.
- .NODE_TYPE=Program
-}
+### DLL_TOOL is a DLL that can be used as a LD_PRELOAD tool.
+module DLL_TOOL: DLL {
+ # ymake resolves only program nodes as tools.
+ .NODE_TYPE=Program
+}
### @usage: SO_PROGRAM(name major_ver [minor_ver] [EXPORTS symlist_file] [PREFIX prefix])
###
@@ -2842,8 +2842,8 @@ module SO_PROGRAM: DLL {
}
}
-DLL_PROXY_CMD_MF=$GENERATE_MF && $COPY_CMD $AUTO_INPUT $TARGET
-
+DLL_PROXY_CMD_MF=$GENERATE_MF && $COPY_CMD $AUTO_INPUT $TARGET
+
# tag:internal
### @usage: DEV_DLL_PROXY() # internal
###
@@ -3360,7 +3360,7 @@ macro DOCS_INCLUDE_SOURCES(Args...) {
}
# tag:python-specific
-PY_NAMESPACE_VALUE=
+PY_NAMESPACE_VALUE=
# tag:python-specific
### @usage: PY_NAMESPACE(prefix)
@@ -3369,8 +3369,8 @@ PY_NAMESPACE_VALUE=
### Especially suitable in PROTO_LIBRARY where Python sources are generated and there is no PY_SRCS to place NAMESPACE parameter.
macro PY_NAMESPACE(Arg) {
SET(PY_NAMESPACE_VALUE $Arg)
-}
-
+}
+
# tag:internal
### @usage: _SRCS_NO_GLOBAL(files...) # internal
###
@@ -4110,21 +4110,21 @@ module PY3_LIBRARY: _PY3_LIBRARY {
module _BASE_PY_PROGRAM: _BASE_PROGRAM {
.CMD=PY_PROGRAM_LINK_EXE
_ARCADIA_PYTHON_ADDINCL()
-
+
when ($SANITIZER_TYPE && $SANITIZER_TYPE != "no") {
NO_CHECK_IMPORTS_FOR_VALUE=
}
- ADD_CHECK_PY_IMPORTS()
+ ADD_CHECK_PY_IMPORTS()
when ($NO_PYTHON_INCLS != "yes") {
- PEERDIR += contrib/libs/python
+ PEERDIR += contrib/libs/python
}
when ($USE_ARCADIA_PYTHON == "yes") {
- PEERDIR += library/python/runtime/main
- PEERDIR += contrib/python/subprocess32
- when ($PYTHON_SQLITE3 != "no") {
- PEERDIR += contrib/tools/python/src/Modules/_sqlite
- }
+ PEERDIR += library/python/runtime/main
+ PEERDIR += contrib/python/subprocess32
+ when ($PYTHON_SQLITE3 != "no") {
+ PEERDIR += contrib/tools/python/src/Modules/_sqlite
+ }
}
when ($PYTHON_COVERAGE == "yes") {
PEERDIR+=library/python/coverage
@@ -4172,14 +4172,14 @@ module _BASE_PY3_PROGRAM: _BASE_PROGRAM {
.CMD=PY3_PROGRAM_LINK_EXE
_ARCADIA_PYTHON3_ADDINCL()
PEERDIR(library/python/runtime_py3/main)
- when ($PYTHON_SQLITE3 != "no") {
- PEERDIR += contrib/tools/python3/src/Modules/_sqlite
- }
+ when ($PYTHON_SQLITE3 != "no") {
+ PEERDIR += contrib/tools/python3/src/Modules/_sqlite
+ }
when ($SANITIZER_TYPE && $SANITIZER_TYPE != "no") {
NO_CHECK_IMPORTS_FOR_VALUE=
}
- ADD_CHECK_PY_IMPORTS()
+ ADD_CHECK_PY_IMPORTS()
when ($ARCH_PPC64LE == "yes") {
_MY_ALLOCATOR=SYSTEM
@@ -5121,7 +5121,7 @@ macro _PYTHON_ADDINCL() {
SET(PYTHON3 no)
when ($USE_ARCADIA_PYTHON == "yes") {
ADDINCL+=GLOBAL contrib/libs/python/Include
- CFLAGS+=-DARCADIA_PYTHON_UNICODE_SIZE=$ARCADIA_PYTHON_UNICODE_SIZE
+ CFLAGS+=-DARCADIA_PYTHON_UNICODE_SIZE=$ARCADIA_PYTHON_UNICODE_SIZE
}
otherwise {
when ($USE_SYSTEM_PYTHON) {
@@ -5761,17 +5761,17 @@ macro _SRC("fml", SRC, SRCFLAGS...) {
# tag:src-processing
macro _SRC("fml2", SRC, SRCFLAGS...) {
- .CMD=$FML_TOOL $CHECKFLAG -b -o ${output;nopath;noext:SRC.fml.inc} -2 -O ${output;nopath;noext:SRC.fml.cpp} -T ${input:SRC} ${SRCFLAGS} ${kv;hide:"p FM"} ${kv;hide:"pc yellow"}
+ .CMD=$FML_TOOL $CHECKFLAG -b -o ${output;nopath;noext:SRC.fml.inc} -2 -O ${output;nopath;noext:SRC.fml.cpp} -T ${input:SRC} ${SRCFLAGS} ${kv;hide:"p FM"} ${kv;hide:"pc yellow"}
}
# tag:src-processing
macro _SRC("fml3", SRC, SRCFLAGS...) {
- .CMD=$FML_TOOL $CHECKFLAG -b -o ${output;nopath;noext:SRC.fml.inc} -3 -O ${output;nopath;noext:SRC.fml.cpp} -L ${input;nopath;noext:SRC.list} -P ${nopath;noext:SRC} -T ${input:SRC} ${SRCFLAGS} ${kv;hide:"p FM"} ${kv;hide:"pc yellow"}
+ .CMD=$FML_TOOL $CHECKFLAG -b -o ${output;nopath;noext:SRC.fml.inc} -3 -O ${output;nopath;noext:SRC.fml.cpp} -L ${input;nopath;noext:SRC.list} -P ${nopath;noext:SRC} -T ${input:SRC} ${SRCFLAGS} ${kv;hide:"p FM"} ${kv;hide:"pc yellow"}
}
# tag:src-processing
macro _SRC("sfdl", SRC, SRCFLAGS...) {
- .CMD=$CXX_COMPILER $C_FLAGS_PLATFORM $CXXFLAGS $SFDL_FLAG ${SRCFLAGS} ${input:SRC} && ${tool:"tools/calcstaticopt"} -i ${tmp:SRC.tmp} -a $ARCADIA_ROOT ${output;stdout;nopath;noext;defext=.inc:SRC} ${kv;hide:"p SF"} ${kv;hide:"pc yellow"} $TOOLCHAIN_ENV
+ .CMD=$CXX_COMPILER $C_FLAGS_PLATFORM $CXXFLAGS $SFDL_FLAG ${SRCFLAGS} ${input:SRC} && ${tool:"tools/calcstaticopt"} -i ${tmp:SRC.tmp} -a $ARCADIA_ROOT ${output;stdout;nopath;noext;defext=.inc:SRC} ${kv;hide:"p SF"} ${kv;hide:"pc yellow"} $TOOLCHAIN_ENV
}
# tag:src-processing
@@ -5781,7 +5781,7 @@ macro _SRC("xs", SRC, SRCFLAGS...) {
# tag:src-processing
macro _SRC("y", SRC, SRCFLAGS...) {
- # .CMD=${tool:"contrib/tools/byacc"} $BYACC_FLAGS ${nopath;noext;output:SRC.cpp} ${input:SRC} ${nopath;noext;hide;output;addincl:SRC.h} ${kv;hide:"p YC"} ${kv;hide:"pc light-green"}
+ # .CMD=${tool:"contrib/tools/byacc"} $BYACC_FLAGS ${nopath;noext;output:SRC.cpp} ${input:SRC} ${nopath;noext;hide;output;addincl:SRC.h} ${kv;hide:"p YC"} ${kv;hide:"pc light-green"}
.CMD=${tool:"contrib/tools/bison/bison"} $BISON_FLAGS --m4=${tool:"contrib/tools/bison/m4"} -d -o ${nopath;noext;output;main;hide:SRC.h} ${nopath;noext;output:SRC.cpp} ${input:SRC} ${SRCFLAGS} && $YMAKE_PYTHON ${input:"build/scripts/preprocess.py"} $_ADD_HIDDEN_INPUTS($CPP_BISON_SKELS) ${nopath;noext;output;addincl:SRC.h} ${kv;hide:"p YC"} ${kv;hide:"pc light-green"}
}
@@ -5792,7 +5792,7 @@ macro _SRC("ypp", SRC, SRCFLAGS...) {
# tag:src-processing
macro _SRC("gperf", SRC, SRCFLAGS...) {
- .CMD=$RUN_NO_SANITIZE ${tool:"contrib/tools/gperf"} $GP_FLAGS ${SRCFLAGS} ${pre=-Nin_;suf=_set;nopath;noallext:SRC} ${input:SRC} ${output;stdout;nopath;noext;defext=.gperf.cpp:SRC} ${kv;hide:"p GP"} ${kv;hide:"pc yellow"}
+ .CMD=$RUN_NO_SANITIZE ${tool:"contrib/tools/gperf"} $GP_FLAGS ${SRCFLAGS} ${pre=-Nin_;suf=_set;nopath;noallext:SRC} ${input:SRC} ${output;stdout;nopath;noext;defext=.gperf.cpp:SRC} ${kv;hide:"p GP"} ${kv;hide:"pc yellow"}
}
# tag:src-processing
@@ -5834,7 +5834,7 @@ macro _SRC("lpp", SRC, SRCFLAGS...) {
# tag:src-processing
macro _SRC("pln", SRC, SRCFLAGS...) {
- .CMD=$FML_TOOL -b -o ${output;pre=pln.;nopath;noext:SRC.cpp} -f ${input:SRC} ${SRCFLAGS} ${kv;hide:"p FM"} ${kv;hide:"pc yellow"}
+ .CMD=$FML_TOOL -b -o ${output;pre=pln.;nopath;noext:SRC.cpp} -f ${input:SRC} ${SRCFLAGS} ${kv;hide:"p FM"} ${kv;hide:"pc yellow"}
}
# tag:src-processing
@@ -5875,7 +5875,7 @@ macro _SRC("pyx", SRC, SRCFLAGS...) {
# tag:src-processing
macro _SRC("in", SRC, SRCFLAGS...) {
- .CMD=$CONFIGURE_FILE(${SRC} ${nopath;noext:SRC})
+ .CMD=$CONFIGURE_FILE(${SRC} ${nopath;noext:SRC})
}
# tag:src-processing
@@ -5884,10 +5884,10 @@ macro _SRC("sc", SRC, SRCFLAGS...) {
}
# tag:src-processing
-macro _SRC("ssqls", SRC, SRCFLAGS...) {
- .CMD=${tool:"metrika/core/tools/ssqls"} ${input;notransformbuilddir:SRC} -S $ARCADIA_ROOT -B $ARCADIA_BUILD_ROOT $SRCFLAGS ${output;noext;hide:SRC.cpp} ${output;noext;hide:SRC.h} ${kv;hide:"p SS"} ${kv;hide:"pc yellow"}
-}
-
+macro _SRC("ssqls", SRC, SRCFLAGS...) {
+ .CMD=${tool:"metrika/core/tools/ssqls"} ${input;notransformbuilddir:SRC} -S $ARCADIA_ROOT -B $ARCADIA_BUILD_ROOT $SRCFLAGS ${output;noext;hide:SRC.cpp} ${output;noext;hide:SRC.h} ${kv;hide:"p SS"} ${kv;hide:"pc yellow"}
+}
+
# tag:src-processing
macro _SRC("f", SRC, SRCFLAGS...) {
.CMD=$YMAKE_PYTHON ${input:"build/scripts/f2c.py"} -t ${tool:"contrib/tools/f2c"} -c ${input:SRC} -o ${output:SRC.c} ${requirements;hide:CC_REQUIREMENTS} ${kv;hide:"p FT"} ${kv;hide:"pc light-green"}
@@ -6287,8 +6287,8 @@ macro BUILDWITH_CYTHON_CPP(Src, Options...) {
macro _BUILDWITH_CYTHON_CPP_DEP(Src, Dep, Options...) {
.CMD=$RUN_CYTHON_SCRIPT $CYTHON_OPTIONS ${Options} --cplus ${CYTHON_CPP_OUTPUT_INCLUDES} ${pre=-I:_CYTHON__INCLUDE} ${input:Src} ${input;hide:Dep} -o ${output;tobindir:Src.cpp} $CYTHON_OUTPUT_INCLUDES ${requirements;hide:PY_REQUIREMENTS} ${kv;hide:"p CY"} ${kv;hide:"pc yellow"}
ADDINCL(FOR cython contrib/tools/cython/Cython/Includes)
-}
-
+}
+
# tag:python-processing tag:cython
### @usage: BUILDWITH_CYTHON_C(Src Options...)
###
@@ -6306,50 +6306,50 @@ macro BUILDWITH_CYTHON_C(Src, Options...) {
macro _BUILDWITH_CYTHON_C_DEP(Src, Dep, Options...) {
.CMD=$RUN_CYTHON_SCRIPT $CYTHON_OPTIONS ${Options} ${pre=-I:_CYTHON__INCLUDE} ${input:Src} ${input;hide:Dep} -o ${output;tobindir:Src.c} $CYTHON_OUTPUT_INCLUDES ${requirements;hide:PY_REQUIREMENTS} ${kv;hide:"p CY"} ${kv;hide:"pc yellow"}
ADDINCL(FOR cython contrib/tools/cython/Cython/Includes)
-}
-
+}
+
# tag:python-processing tag:cython tag:internal
### @usage: _BUILDWITH_CYTHON_C_H(Src Dep Options...) # internal
-###
-### BUILDWITH_CYTHON_C without .pyx infix and with cdef public .h file.
+###
+### BUILDWITH_CYTHON_C without .pyx infix and with cdef public .h file.
macro _BUILDWITH_CYTHON_C_H(Src, Dep, Options...) {
.CMD=$RUN_CYTHON_SCRIPT $CYTHON_OPTIONS ${Options} ${pre=-I:_CYTHON__INCLUDE} ${input:Src} ${input;hide:Dep} -o ${output;noext;tobindir:Src.c} ${output;hide;addincl;noext;tobindir:Src.h} $CYTHON_OUTPUT_INCLUDES ${requirements;hide:PY_REQUIREMENTS} ${kv;hide:"p CY"} ${kv;hide:"pc yellow"}
ADDINCL(FOR cython contrib/tools/cython/Cython/Includes)
-}
-
+}
+
# tag:python-processing tag:cython tag:internal
### @usage: _BUILDWITH_CYTHON_C_API_H(Src Dep Options...) # internal
-###
-### BUILDWITH_CYTHON_C_H with cdef api _api.h file.
+###
+### BUILDWITH_CYTHON_C_H with cdef api _api.h file.
macro _BUILDWITH_CYTHON_C_API_H(Src, Dep, Options...) {
.CMD=$RUN_CYTHON_SCRIPT $CYTHON_OPTIONS ${Options} ${pre=-I:_CYTHON__INCLUDE} ${input:Src} ${input;hide:Dep} -o ${output;noext;tobindir:Src.c} ${output;hide;addincl;noext;tobindir:Src.h} ${output;hide;addincl;noext;defext=_api.h;tobindir:Src} $CYTHON_OUTPUT_INCLUDES ${requirements;hide:PY_REQUIREMENTS} ${kv;hide:"p CY"} ${kv;hide:"pc yellow"}
ADDINCL(FOR cython contrib/tools/cython/Cython/Includes)
-}
-
+}
+
# tag:python-processing tag:internal
-### @usage: _SWIG_PYTHON_CPP(Src, DstSubPrefix) # internal
-###
-### Run swig on Src to produce DstSubPrefix.py and DstSubPrefix_swg.cpp that
-### provides DstSubPrefix_swg python module.
-macro _SWIG_PYTHON_CPP(Src, DstSubPrefix) {
+### @usage: _SWIG_PYTHON_CPP(Src, DstSubPrefix) # internal
+###
+### Run swig on Src to produce DstSubPrefix.py and DstSubPrefix_swg.cpp that
+### provides DstSubPrefix_swg python module.
+macro _SWIG_PYTHON_CPP(Src, DstSubPrefix) {
.CMD=$_SWIG_TOOL -I$ARCADIA_BUILD_ROOT -I$ARCADIA_ROOT -I$_SWIG_LIBRARY_ABS/python -I$_SWIG_LIBRARY_ABS -c++ -python -module ${nopath:DstSubPrefix} -interface ${nopath;suf=_swg:DstSubPrefix} -o ${output;suf=.swg.cpp:DstSubPrefix} ${input:Src} ${output;noauto;hide;suf=.py:DstSubPrefix} ${kv;hide:"p SW"} ${kv;hide:"pc yellow"}
ADDINCL(FOR swig $_SWIG_LIBRARY/python FOR swig $_SWIG_LIBRARY)
-}
-
+}
+
# tag:python-processing tag:internal
-### @usage: _SWIG_PYTHON_C(Src, DstSubPrefix) # internal
-###
-### Like _SWIG_PYTHON_CPP but generate DstSubPrefix_swg.c.
-macro _SWIG_PYTHON_C(Src, DstSubPrefix) {
+### @usage: _SWIG_PYTHON_C(Src, DstSubPrefix) # internal
+###
+### Like _SWIG_PYTHON_CPP but generate DstSubPrefix_swg.c.
+macro _SWIG_PYTHON_C(Src, DstSubPrefix) {
.CMD=$_SWIG_TOOL -I$ARCADIA_BUILD_ROOT -I$ARCADIA_ROOT -I$_SWIG_LIBRARY_ABS/python -I$_SWIG_LIBRARY_ABS -python -module ${nopath:DstSubPrefix} -interface ${nopath;suf=_swg:DstSubPrefix} -o ${output;suf=.swg.c:DstSubPrefix} ${input:Src} ${output;noauto;hide;suf=.py:DstSubPrefix} ${kv;hide:"p SW"} ${kv;hide:"pc yellow"}
ADDINCL(FOR swig $_SWIG_LIBRARY/python FOR swig $_SWIG_LIBRARY)
-}
-
+}
+
### @usage: BUILDWITH_RAGEL6(Src Options...)
###
### Compile .rl file using Ragel6.
macro BUILDWITH_RAGEL6(Src, Options...) {
- .CMD=$RUN_NO_SANITIZE ${tool:"contrib/tools/ragel6"} $RAGEL6_FLAGS ${Options} -I${ARCADIA_ROOT} -o ${output;nopath;noext;defext=.rl6.cpp:Src} ${input:Src} ${kv;hide:"p R6"} ${kv;hide:"pc yellow"}
+ .CMD=$RUN_NO_SANITIZE ${tool:"contrib/tools/ragel6"} $RAGEL6_FLAGS ${Options} -I${ARCADIA_ROOT} -o ${output;nopath;noext;defext=.rl6.cpp:Src} ${input:Src} ${kv;hide:"p R6"} ${kv;hide:"pc yellow"}
}
# tag:python-processing tag:internal
@@ -6441,11 +6441,11 @@ macro ARCHIVE_BY_KEYS(NAME="", KEYS="", DONTCOMPRESS?"-p":"", REQUIREMENTS[], Fi
BUILDVERSION_SCRIPT=build/scripts/build_info_gen.py
SVNVERSION_JAVA_MARKER=output-java-class
SVNVERSION_GO_MARKER=output-go
-VCS_C_OBJ=$BINDIR/__vcs_version__.c$OBJECT_SUF
-VCS_C_OBJ_RR=$MODDIR/__vcs_version__.c$OBJECT_SUF
-VCS_C=$BINDIR/__vcs_version__.c
-VCS_GO=$BINDIR/__vcs_version__.go
-VCS_JAVA=$BINDIR/__vcs_version__.mf
+VCS_C_OBJ=$BINDIR/__vcs_version__.c$OBJECT_SUF
+VCS_C_OBJ_RR=$MODDIR/__vcs_version__.c$OBJECT_SUF
+VCS_C=$BINDIR/__vcs_version__.c
+VCS_GO=$BINDIR/__vcs_version__.go
+VCS_JAVA=$BINDIR/__vcs_version__.mf
VCS_INFO_DISABLE_CACHE__NO_UID__=
YASM_DEBUG_INFO_DISABLE_CACHE__NO_UID__=
CL_DEBUG_INFO_DISABLE_CACHE__NO_UID__=
@@ -6588,14 +6588,14 @@ macro CUDA_NVCC_FLAGS(Flags...) {
}
# tag:flags
-### @usage: NVCC_DEVICE_LINK(file.cu...)
-### Run nvcc --device-link on objects compiled from srcs with --device-c.
-### This generates a stub object devlink.o that supplies missing pieces for the
-### host linker to link relocatable device objects into the final executable.
-macro NVCC_DEVICE_LINK(Srcs...) {
- .CMD=$NVCC $NVCC_FLAGS -o ${output;suf=${OBJ_SUF}${NVCC_OBJ_EXT}:"devlink"} -dlink ${input;suf=${OBJ_SUF}${NVCC_OBJ_EXT}:Srcs} ${kv;hide:"p DL"} ${kv;hide:"pc light-blue"}
-}
-
+### @usage: NVCC_DEVICE_LINK(file.cu...)
+### Run nvcc --device-link on objects compiled from srcs with --device-c.
+### This generates a stub object devlink.o that supplies missing pieces for the
+### host linker to link relocatable device objects into the final executable.
+macro NVCC_DEVICE_LINK(Srcs...) {
+ .CMD=$NVCC $NVCC_FLAGS -o ${output;suf=${OBJ_SUF}${NVCC_OBJ_EXT}:"devlink"} -dlink ${input;suf=${OBJ_SUF}${NVCC_OBJ_EXT}:Srcs} ${kv;hide:"p DL"} ${kv;hide:"pc light-blue"}
+}
+
### @usage: STRIP()
### Strip debug info from a PROGRAM, DLL or TEST.
### This macro doesn't work in LIBRARY's, UNION's and PACKAGE's.
@@ -6716,7 +6716,7 @@ macro USE_UTIL() {
### @usage: NO_JOIN_SRC() # deprecated, does-nothing
### This macro currently does nothing. This is default behavior which cannot be overridden at module level.
macro NO_JOIN_SRC() {
- ENABLE(UNUSED_MACRO)
+ ENABLE(UNUSED_MACRO)
}
# tag:deprecated
@@ -6785,7 +6785,7 @@ macro _LUAJIT_21_OBJDUMP(Src, OUT="") {
}
macro _MX_BIN_TO_INFO(Src) {
- .CMD=${tool:"tools/mx_bin2info"} ${input:Src} ${output;nopath;noext;noauto:Src.info} ${kv;hide:"p MX"} ${kv;hide:"pc yellow"}
+ .CMD=${tool:"tools/mx_bin2info"} ${input:Src} ${output;nopath;noext;noauto:Src.info} ${kv;hide:"p MX"} ${kv;hide:"pc yellow"}
}
MX_GEN_TABLE_INCLS=${output_include;hide:"yabs_mx_calc_table.h"} \
@@ -6970,24 +6970,24 @@ macro SYMLINK(From, To) {
}
### @usage: RUN_PROGRAM(tool_path args... [CWD dir] [ENV key=value...] [TOOL tools...] [IN inputs...] [OUT[_NOAUTO] outputs...] [STDOUT[_NOAUTO] output] [OUTPUT_INCLUDES output_includes...] [REQUIREMENTS reqs])
-###
-### Run a program from arcadia.
-### These macros are similar: RUN_PROGRAM, LUA, PYTHON.
-###
-### Parameters:
-### - tool_path - Path to the directory of the tool.
-### - args... - Program arguments. Relative paths listed in TOOL, IN, OUT, STDOUT become absolute.
-### - CWD dir - Absolute path of the working directory.
-### - ENV key=value... - Environment variables.
-### - TOOL tools... - Auxiliary tool directories.
+###
+### Run a program from arcadia.
+### These macros are similar: RUN_PROGRAM, LUA, PYTHON.
+###
+### Parameters:
+### - tool_path - Path to the directory of the tool.
+### - args... - Program arguments. Relative paths listed in TOOL, IN, OUT, STDOUT become absolute.
+### - CWD dir - Absolute path of the working directory.
+### - ENV key=value... - Environment variables.
+### - TOOL tools... - Auxiliary tool directories.
### - IN inputs... - Input files
-### - OUT[_NOAUTO] outputs... - Output files. NOAUTO outputs are not automatically added to the build process.
-### - STDOUT[_NOAUTO] output - Redirect the standard output to the output file.
-### - OUTPUT_INCLUDES output_includes... - Includes of the output files that are needed to build them.
+### - OUT[_NOAUTO] outputs... - Output files. NOAUTO outputs are not automatically added to the build process.
+### - STDOUT[_NOAUTO] output - Redirect the standard output to the output file.
+### - OUTPUT_INCLUDES output_includes... - Includes of the output files that are needed to build them.
### - REQUIREMENTS - Override default requirements for CPU and RAM
-###
-### For absolute paths use ${ARCADIA_ROOT} and ${ARCADIA_BUILD_ROOT}, or
-### ${CURDIR} and ${BINDIR} which are expanded where the outputs are used.
+###
+### For absolute paths use ${ARCADIA_ROOT} and ${ARCADIA_BUILD_ROOT}, or
+### ${CURDIR} and ${BINDIR} which are expanded where the outputs are used.
### Note that Tool is always built for the host platform, so be careful to provide that tool can be built for all Arcadia major host platforms (Linux, MacOS and Windows).
macro RUN_PROGRAM(Tool, IN{input}[], OUT{output}[], OUT_NOAUTO{output}[], TOOL{tool}[], OUTPUT_INCLUDES[], IN_DEPS[], STDOUT="", STDOUT_NOAUTO="", CWD="", ENV[], REQUIREMENTS[], Args...) {
.CMD=${cwd:CWD} ${env:ENV} ${tool:Tool} $Args ${input;hide:IN} ${input;hide:IN_DEPS} ${output_include;hide:OUTPUT_INCLUDES} ${tool;hide:TOOL} ${output;hide:OUT} ${output;noauto;hide:OUT_NOAUTO} ${output;stdout:STDOUT} ${output;stdout;noauto:STDOUT_NOAUTO} ${requirements;hide:REQUIREMENTS} ${requirements;hide:"network:restricted"} ${kv;hide:"p PR"} ${kv;hide:"pc yellow"} ${kv;hide:"show_out"}
@@ -6996,23 +6996,23 @@ macro RUN_PROGRAM(Tool, IN{input}[], OUT{output}[], OUT_NOAUTO{output}[], TOOL{t
# tag:lua-specific
### @usage: LUA(script_path args... [CWD dir] [ENV key=value...] [TOOL tools...] [IN inputs...] [OUT[_NOAUTO] outputs...] [STDOUT[_NOAUTO] output] [OUTPUT_INCLUDES output_includes...][ REQUIREMENTS reqs])
###
-### Run a lua script.
-### These macros are similar: RUN_PROGRAM, LUA, PYTHON.
+### Run a lua script.
+### These macros are similar: RUN_PROGRAM, LUA, PYTHON.
###
-### Parameters:
+### Parameters:
### - script_path - Path to the script.3
-### - args... - Program arguments. Relative paths listed in TOOL, IN, OUT, STDOUT become absolute.
-### - CWD dir - Absolute path of the working directory.
-### - ENV key=value... - Environment variables.
-### - TOOL tools... - Auxiliary tool directories.
-### - IN inputs... - Input files.
-### - OUT[_NOAUTO] outputs... - Output files. NOAUTO outputs are not automatically added to the build process.
-### - STDOUT[_NOAUTO] output - Redirect the standard output to the output file.
-### - OUTPUT_INCLUDES output_includes... - Includes of the output files that are needed to build them.
+### - args... - Program arguments. Relative paths listed in TOOL, IN, OUT, STDOUT become absolute.
+### - CWD dir - Absolute path of the working directory.
+### - ENV key=value... - Environment variables.
+### - TOOL tools... - Auxiliary tool directories.
+### - IN inputs... - Input files.
+### - OUT[_NOAUTO] outputs... - Output files. NOAUTO outputs are not automatically added to the build process.
+### - STDOUT[_NOAUTO] output - Redirect the standard output to the output file.
+### - OUTPUT_INCLUDES output_includes... - Includes of the output files that are needed to build them.
### - REQUIREMENTS - Override default requirements for CPU and RAM
-###
-### For absolute paths use ${ARCADIA_ROOT} and ${ARCADIA_BUILD_ROOT}, or
-### ${CURDIR} and ${BINDIR} which are expanded where the outputs are used.
+###
+### For absolute paths use ${ARCADIA_ROOT} and ${ARCADIA_BUILD_ROOT}, or
+### ${CURDIR} and ${BINDIR} which are expanded where the outputs are used.
macro LUA(ScriptPath, IN{input}[], OUT{output}[], OUT_NOAUTO{output}[], TOOL{tool}[], OUTPUT_INCLUDES[], IN_DEPS[], STDOUT="", STDOUT_NOAUTO="", CWD="", ENV[], REQUIREMENTS[], Args...) {
.CMD=${cwd:CWD} ${env:ENV} $LUA_TOOL ${input:ScriptPath} $Args ${input;hide:IN} ${input;hide:IN_DEPS} ${output_include;hide:OUTPUT_INCLUDES} ${tool;hide:TOOL} ${output;hide:OUT} ${output;noauto;hide:OUT_NOAUTO} ${output;stdout:STDOUT} ${output;stdout;noauto:STDOUT_NOAUTO} ${requirements;hide:REQUIREMENTS} ${requirements;hide:"network:restricted"} ${kv;hide:"p LU"} ${kv;hide:"pc yellow"} ${kv;hide:"show_out"}
}
@@ -7020,23 +7020,23 @@ macro LUA(ScriptPath, IN{input}[], OUT{output}[], OUT_NOAUTO{output}[], TOOL{too
# tag:python-specific
### @usage: PYTHON(script_path args... [CWD dir] [ENV key=value...] [TOOL tools...] [IN inputs...] [OUT[_NOAUTO] outputs...] [STDOUT[_NOAUTO] output] [OUTPUT_INCLUDES output_includes...] [REQUIREMENTS reqs])
###
-### Run a python script with $(PYTHON)/python built from devtools/huge_python.
-### These macros are similar: RUN_PROGRAM, LUA, PYTHON.
-###
-### Parameters:
-### - script_path - Path to the script.
-### - args... - Program arguments. Relative paths listed in TOOL, IN, OUT, STDOUT become absolute.
-### - CWD dir - Absolute path of the working directory.
-### - ENV key=value... - Environment variables.
-### - TOOL tools... - Auxiliary tool directories.
-### - IN inputs... - Input files.
-### - OUT[_NOAUTO] outputs... - Output files. NOAUTO outputs are not automatically added to the build process.
-### - STDOUT[_NOAUTO] output - Redirect the standard output to the output file.
-### - OUTPUT_INCLUDES output_includes... - Includes of the output files that are needed to build them.
+### Run a python script with $(PYTHON)/python built from devtools/huge_python.
+### These macros are similar: RUN_PROGRAM, LUA, PYTHON.
+###
+### Parameters:
+### - script_path - Path to the script.
+### - args... - Program arguments. Relative paths listed in TOOL, IN, OUT, STDOUT become absolute.
+### - CWD dir - Absolute path of the working directory.
+### - ENV key=value... - Environment variables.
+### - TOOL tools... - Auxiliary tool directories.
+### - IN inputs... - Input files.
+### - OUT[_NOAUTO] outputs... - Output files. NOAUTO outputs are not automatically added to the build process.
+### - STDOUT[_NOAUTO] output - Redirect the standard output to the output file.
+### - OUTPUT_INCLUDES output_includes... - Includes of the output files that are needed to build them.
### - REQUIREMENTS - Override default requirements for CPU and RAM
-###
-### For absolute paths use ${ARCADIA_ROOT} and ${ARCADIA_BUILD_ROOT}, or
-### ${CURDIR} and ${BINDIR} which are expanded where the outputs are used.
+###
+### For absolute paths use ${ARCADIA_ROOT} and ${ARCADIA_BUILD_ROOT}, or
+### ${CURDIR} and ${BINDIR} which are expanded where the outputs are used.
macro PYTHON(ScriptPath, IN{input}[], OUT{output}[], OUT_NOAUTO{output}[], TOOL{tool}[], OUTPUT_INCLUDES[], IN_DEPS[], STDOUT="", STDOUT_NOAUTO="", CWD="", ENV[], REQUIREMENTS[], Args...) {
.CMD=${cwd:CWD} ${env:ENV} $YMAKE_PYTHON ${input:ScriptPath} $Args ${input;hide:IN} ${input;hide:IN_DEPS} ${output_include;hide:OUTPUT_INCLUDES} ${tool;hide:TOOL} ${output;hide:OUT} ${output;noauto;hide:OUT_NOAUTO} ${output;stdout:STDOUT} ${output;stdout;noauto:STDOUT_NOAUTO} ${requirements;hide:REQUIREMENTS} ${requirements;hide:"network:restricted"} ${kv;hide:"p PY"} ${kv;hide:"pc yellow"} ${kv;hide:"show_out"}
}
@@ -7045,21 +7045,21 @@ macro PYTHON(ScriptPath, IN{input}[], OUT{output}[], OUT_NOAUTO{output}[], TOOL{
macro _RUN_JAVA(IN{input}[], OUT{output}[], OUT_NOAUTO{output}[], OUTPUT_INCLUDES[], TOOL[], STDOUT="", STDOUT_NOAUTO="", CWD="", ENV[], HIDE_OUTPUT?"stderr2stdout":"stdout2stderr", REQUIREMENTS[], Args...) {
PEERDIR(build/platform/java/jdk $JDK_RESOURCE_PEERDIR)
.CMD=${cwd:CWD} ${env:ENV} $YMAKE_PYTHON ${input;pre=build/scripts/:HIDE_OUTPUT.py} $JDK_RESOURCE/bin/java $Args ${tool;hide:TOOL} ${input;hide:IN} ${output_include;hide:OUTPUT_INCLUDES} ${output;hide:OUT} ${output;noauto;hide:OUT_NOAUTO} ${output;stdout:STDOUT} ${output;stdout;noauto:STDOUT_NOAUTO} ${requirements;hide:REQUIREMENTS} ${kv;hide:"p JV"} ${kv;hide:"pc light-blue"} ${kv;hide:"show_out"}
-}
-
+}
+
### @usage: FROM_SANDBOX([FILE] resource_id [AUTOUPDATED script] [RENAME <resource files>] OUT_[NOAUTO] <output files> [EXECUTABLE] [OUTPUT_INCLUDES <include files>])
###
-### Download the resource from the Sandbox, unpack (if not explicitly specified word FILE) and add OUT files to the build. EXECUTABLE makes them executable.
+### Download the resource from the Sandbox, unpack (if not explicitly specified word FILE) and add OUT files to the build. EXECUTABLE makes them executable.
### You may specify extra dependencies that output files bring using OUTPUT_INCLUDES. The change of these may e.g. lead to recompilation of .cpp files extracted from resource.
### If there is no default processing for OUT files or you need process them specially use OUT_NOAUTO instead of OUT.
###
### It is disallowed to specify directory as OUT/OUT_NOAUTO since all outputs of commands shall be known to build system.
###
-### RENAME renames files to the corresponding OUT and OUT_NOAUTO outputs:
-### FROM_SANDBOX(resource_id RENAME in_file1 in_file2 OUT out_file1 out_file2 out_file3)
-### FROM_SANDBOX(resource_id RENAME in_file1 OUT out_file1 RENAME in_file2 OUT out_file2)
-### FROM_SANDBOX(FILE resource_id RENAME resource_file OUT out_name)
-###
+### RENAME renames files to the corresponding OUT and OUT_NOAUTO outputs:
+### FROM_SANDBOX(resource_id RENAME in_file1 in_file2 OUT out_file1 out_file2 out_file3)
+### FROM_SANDBOX(resource_id RENAME in_file1 OUT out_file1 RENAME in_file2 OUT out_file2)
+### FROM_SANDBOX(FILE resource_id RENAME resource_file OUT out_name)
+###
### RENAME RESOURCE allows to rename the resource without specifying its file name.
###
### If AUTOUPDATED is specified than macro will be regularly updated according to autoupdate script. The dedicated Sandbox task scans the arcadia and
@@ -7070,11 +7070,11 @@ macro FROM_SANDBOX(Id, OUT{output}[], OUT_NOAUTO{output}[], OUTPUT_INCLUDES[], F
ADD_CHECK(check.resource $Id)
}
-### @usage: FROM_MDS([FILE] key [RENAME <resource files>] OUT_[NOAUTO] <output files> [EXECUTABLE])
+### @usage: FROM_MDS([FILE] key [RENAME <resource files>] OUT_[NOAUTO] <output files> [EXECUTABLE])
###
-### Download resource from MDS with the specified key and process like [FROM_SANDBOX()](#macro_FROM_SANDBOX).
-macro FROM_MDS(Key, OUT{output}[], OUT_NOAUTO{output}[], OUTPUT_INCLUDES[], FILE?"--copy-to-dir":"--untar-to", PREFIX=".", RENAME[], EXECUTABLE?"--executable":"") {
- .CMD=${cwd:BINDIR} $YMAKE_PYTHON ${input:"build/scripts/fetch_from_mds.py"} --key $Key $FILE $PREFIX ${pre=--rename :RENAME} $EXECUTABLE -- $OUT $OUT_NOAUTO ${input;hide:"build/scripts/fetch_from.py"} ${output_include;hide:OUTPUT_INCLUDES} ${output;hide:OUT} ${output;noauto;hide:OUT_NOAUTO} ${requirements;hide:"network:full"} ${kv;hide:"p MD"} ${kv;hide:"pc yellow"} ${kv;hide:"show_out"}
+### Download resource from MDS with the specified key and process like [FROM_SANDBOX()](#macro_FROM_SANDBOX).
+macro FROM_MDS(Key, OUT{output}[], OUT_NOAUTO{output}[], OUTPUT_INCLUDES[], FILE?"--copy-to-dir":"--untar-to", PREFIX=".", RENAME[], EXECUTABLE?"--executable":"") {
+ .CMD=${cwd:BINDIR} $YMAKE_PYTHON ${input:"build/scripts/fetch_from_mds.py"} --key $Key $FILE $PREFIX ${pre=--rename :RENAME} $EXECUTABLE -- $OUT $OUT_NOAUTO ${input;hide:"build/scripts/fetch_from.py"} ${output_include;hide:OUTPUT_INCLUDES} ${output;hide:OUT} ${output;noauto;hide:OUT_NOAUTO} ${requirements;hide:"network:full"} ${kv;hide:"p MD"} ${kv;hide:"pc yellow"} ${kv;hide:"show_out"}
ADD_CHECK(check.mds $Key)
}
@@ -7108,7 +7108,7 @@ macro FROM_ARCHIVE(Src, OUT{output}[], OUT_NOAUTO{output}[], OUTPUT_INCLUDES[],
}
when ($MSVC == "yes") {
- C_AS_CXX_FLAGS=/TP /std:c++17
+ C_AS_CXX_FLAGS=/TP /std:c++17
}
otherwise {
C_AS_CXX_FLAGS=-x c++ -std=c++17
@@ -7135,11 +7135,11 @@ macro NO_DEBUG_INFO() {
###
### Documentation: https://a.yandex-team.ru/arc/trunk/arcadia/contrib/libs/ctemplate/README.md
macro CTEMPLATE_VARNAMES(File) {
- .CMD=${tool:"contrib/libs/ctemplate/make_tpl_varnames_h"} -f ${output;addincl;nopath;noallext:File.varnames.h} ${input:File}
+ .CMD=${tool:"contrib/libs/ctemplate/make_tpl_varnames_h"} -f ${output;addincl;nopath;noallext:File.varnames.h} ${input:File}
}
LLVM_OPTS=
-CLANG_ROOT=$CLANG_RESOURCE_GLOBAL
+CLANG_ROOT=$CLANG_RESOURCE_GLOBAL
### @usage: GENERATED_SRCS(srcs... PARSE_META_FROM cpp_srcs... [OUTPUT_INCLUDES output_includes...] [OPTIONS])
###
@@ -7165,34 +7165,34 @@ CLANG_ROOT=$CLANG_RESOURCE_GLOBAL
### More information will be available (eventually:) here: https://wiki.yandex-team.ru/Users/denisk/codegenerator/
macro GENERATED_SRCS(PARSE_META_FROM{input}[], OUTPUT_INCLUDES[], OPTIONS[], TEMPLATES...) {
.CMD=${tool:"market/tools/code_generator"} --cpp-file ${input:PARSE_META_FROM} --templates-dir / ${ARCADIA_ROOT} --templates ${input:TEMPLATES.markettemplate} --generated-files ${output:TEMPLATES} ${output_include;hide:OUTPUT_INCLUDES} ${output_include;hide:PARSE_META_FROM} --arcadia-root ${ARCADIA_ROOT} --arcadia-build-root ${ARCADIA_BUILD_ROOT} --clang-root $CLANG_ROOT ${OPTIONS} -- $C_FLAGS_PLATFORM $CXXFLAGS ${pre=-I:_C__INCLUDE} -std=c++17 -Wno-unknown-warning-option -Wno-unused-parameter -Wno-undefined-inline -Wno-undefined-internal -Wno-unused-function $LLVM_OPTS -fno-lto
- PEERDIR(build/platform/clang)
+ PEERDIR(build/platform/clang)
}
### @usage: CLANG_EMIT_AST_CXX(Input Output Opts...)
###
-### Emit Clang AST from .cpp file. CXXFLAGS and LLVM_OPTS are passed in, while CFLAGS and C_FLAGS_PLATFORM are not.
+### Emit Clang AST from .cpp file. CXXFLAGS and LLVM_OPTS are passed in, while CFLAGS and C_FLAGS_PLATFORM are not.
### Note: Output name is used as is, no extension added.
macro CLANG_EMIT_AST_CXX(Input, Output, Opts...) {
.CMD=$YMAKE_PYTHON ${input:"build/scripts/clang_wrapper.py"} $WINDOWS $CLANG_ROOT/bin/clang++ ${pre=-I:_C__INCLUDE} $CXXFLAGS -Wno-unknown-warning-option $LLVM_OPTS -std=c++17 -fno-lto -emit-ast -c ${input:Input} -o ${output;noauto:Output} $Opts ${kv;hide:"p ST"} ${kv;hide:"pc light-green"}
- PEERDIR(build/platform/clang)
+ PEERDIR(build/platform/clang)
}
### @usage: LLVM_COMPILE_CXX(Input Output Opts...)
###
-### Emit LLVM bytecode from .cpp file. BC_CXXFLAGS, LLVM_OPTS and C_FLAGS_PLATFORM are passed in, while CFLAGS are not.
+### Emit LLVM bytecode from .cpp file. BC_CXXFLAGS, LLVM_OPTS and C_FLAGS_PLATFORM are passed in, while CFLAGS are not.
### Note: Output name is used as is, no extension added.
macro LLVM_COMPILE_CXX(Input, Output, Opts...) {
.CMD=$YMAKE_PYTHON ${input:"build/scripts/clang_wrapper.py"} $WINDOWS $CLANG_ROOT/bin/clang++ ${pre=-I:_C__INCLUDE} $BC_CXXFLAGS $C_FLAGS_PLATFORM -Wno-unknown-warning-option $LLVM_OPTS -std=c++17 -fno-lto -emit-llvm -c ${input:Input} -o ${output;noauto:Output} $Opts ${kv;hide:"p BC"} ${kv;hide:"pc light-green"}
- PEERDIR(build/platform/clang)
+ PEERDIR(build/platform/clang)
}
### @usage: LLVM_COMPILE_C(Input Output Opts...)
###
-### Emit LLVM bytecode from .c file. BC_CFLAGS, LLVM_OPTS and C_FLAGS_PLATFORM are passed in, while CFLAGS are not.
+### Emit LLVM bytecode from .c file. BC_CFLAGS, LLVM_OPTS and C_FLAGS_PLATFORM are passed in, while CFLAGS are not.
### Note: Output name is used as is, no extension added.
macro LLVM_COMPILE_C(Input, Output, Opts...) {
.CMD=$YMAKE_PYTHON ${input:"build/scripts/clang_wrapper.py"} $WINDOWS $CLANG_ROOT/bin/clang ${pre=-I:_C__INCLUDE} $BC_CFLAGS $C_FLAGS_PLATFORM $LLVM_OPTS -fno-lto -emit-llvm -c ${input:Input} -o ${output;noauto:Output} $Opts ${kv;hide:"p BC"} ${kv;hide:"pc light-green"}
- PEERDIR(build/platform/clang)
+ PEERDIR(build/platform/clang)
}
### @usage: BPF(Input Output Opts...)
@@ -7219,7 +7219,7 @@ macro BPF_STATIC(Input, Output, Opts...) {
### Note: Output name is used as is, no extension added.
macro LLVM_COMPILE_LL(Input, Output, Opts...) {
.CMD=$CLANG_ROOT/bin/llvm-as ${input:Input} -o ${output;noauto:Output} ${kv;hide:"p BC"} ${kv;hide:"pc light-green"}
- PEERDIR(build/platform/clang)
+ PEERDIR(build/platform/clang)
}
### @usage: LLVM_LINK(Output Inputs...)
@@ -7228,7 +7228,7 @@ macro LLVM_COMPILE_LL(Input, Output, Opts...) {
### Note: Unlike many other macros output argument goes first. Output name is used as is, no extension added.
macro LLVM_LINK(Output, Inputs...) {
.CMD=$CLANG_ROOT/bin/llvm-link ${input:Inputs} -o ${output;noauto:Output} ${kv;hide:"p LD"} ${requirements;hide:LD_REQUIREMENTS} ${kv;hide:"pc light-red"}
- PEERDIR(build/platform/clang)
+ PEERDIR(build/platform/clang)
}
### @usage: LLVM_OPT(Input Output Opts...)
@@ -7237,7 +7237,7 @@ macro LLVM_LINK(Output, Inputs...) {
### Note: Output name is used as is, no extension added.
macro LLVM_OPT(Input, Output, Opts...) {
.CMD=$YMAKE_PYTHON ${input:"build/scripts/llvm_opt_wrapper.py"} $CLANG_ROOT/bin/opt ${input:Input} -o ${output;noauto:Output} $Opts ${kv;hide:"p OP"} ${kv;hide:"pc yellow"}
- PEERDIR(build/platform/clang)
+ PEERDIR(build/platform/clang)
}
when ($NO_DEBUGINFO == "yes") {
@@ -8565,7 +8565,7 @@ module GO_PROGRAM: _GO_BASE_UNIT {
ENABLE(COMMON_LINK_SETTINGS)
when ($MUSL == "yes") {
- PEERDIR += contrib/libs/musl/full
+ PEERDIR += contrib/libs/musl/full
}
when ($MSVC == "yes" || $CYGWIN == "yes") {
diff --git a/build/ymake_conf.py b/build/ymake_conf.py
index 02d39dbef5..30219eb85e 100755
--- a/build/ymake_conf.py
+++ b/build/ymake_conf.py
@@ -1357,10 +1357,10 @@ class GnuCompiler(Compiler):
'-Wall',
'-Wextra',
]
- self.cxx_warnings = [
+ self.cxx_warnings = [
# Issue a warning if certain overload is hidden due to inheritance
'-Woverloaded-virtual',
- ]
+ ]
# Disable some warnings which will fail compilation at the time
self.c_warnings += [
@@ -1377,8 +1377,8 @@ class GnuCompiler(Compiler):
])
self.c_defines.extend([
- '-D_THREAD_SAFE', '-D_PTHREADS', '-D_REENTRANT', '-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES',
- '-D_LARGEFILE_SOURCE', '-D__STDC_CONSTANT_MACROS', '-D__STDC_FORMAT_MACROS',
+ '-D_THREAD_SAFE', '-D_PTHREADS', '-D_REENTRANT', '-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES',
+ '-D_LARGEFILE_SOURCE', '-D__STDC_CONSTANT_MACROS', '-D__STDC_FORMAT_MACROS',
])
if not self.target.is_android:
@@ -1401,7 +1401,7 @@ class GnuCompiler(Compiler):
self.extra_compile_opts = []
self.c_flags = ['$CL_DEBUG_INFO', '$CL_DEBUG_INFO_DISABLE_CACHE__NO_UID__']
- self.c_flags += self.tc.arch_opt + ['-pipe']
+ self.c_flags += self.tc.arch_opt + ['-pipe']
self.sfdl_flags = ['-E', '-C', '-x', 'c++']
@@ -1410,10 +1410,10 @@ class GnuCompiler(Compiler):
if self.target.is_x86_64:
self.c_flags.append('-m64')
- self.debug_info_flags = ['-g']
- if self.target.is_linux:
- self.debug_info_flags.append('-ggnu-pubnames')
-
+ self.debug_info_flags = ['-g']
+ if self.target.is_linux:
+ self.debug_info_flags.append('-ggnu-pubnames')
+
self.cross_suffix = '' if is_positive('FORCE_NO_PIC') else '.pic'
self.optimize = None
@@ -1423,9 +1423,9 @@ class GnuCompiler(Compiler):
if self.tc.is_clang:
self.sfdl_flags.append('-Qunused-arguments')
- self.cxx_warnings += [
- '-Wimport-preprocessor-directive-pedantic',
- '-Wno-undefined-var-template',
+ self.cxx_warnings += [
+ '-Wimport-preprocessor-directive-pedantic',
+ '-Wno-undefined-var-template',
'-Wno-return-std-move',
'-Wno-address-of-packed-member',
'-Wno-defaulted-function-deleted',
@@ -1436,17 +1436,17 @@ class GnuCompiler(Compiler):
'-Wno-deprecated-enum-float-conversion',
'-Wno-ambiguous-reversed-operator',
'-Wno-deprecated-volatile',
- ]
+ ]
self.c_warnings += [
'-Wno-implicit-const-int-float-conversion',
# For nvcc to accept the above.
'-Wno-unknown-warning-option',
]
-
+
elif self.tc.is_gcc:
- self.c_foptions.append('-fno-delete-null-pointer-checks')
- self.c_foptions.append('-fabi-version=8')
+ self.c_foptions.append('-fno-delete-null-pointer-checks')
+ self.c_foptions.append('-fabi-version=8')
# Split all functions and data into separate sections for DCE and ICF linker passes
# NOTE: iOS build uses -fembed-bitcode which conflicts with -ffunction-sections (only relevant for ELF targets)
@@ -1458,7 +1458,7 @@ class GnuCompiler(Compiler):
self.c_defines.append('-DWITH_VALGRIND=1')
if self.build.is_debug:
- self.c_foptions.append('$FSTACK')
+ self.c_foptions.append('$FSTACK')
if self.build.is_fast_debug:
self.c_flags.append('-Og')
@@ -1486,7 +1486,7 @@ class GnuCompiler(Compiler):
self.c_defines.append('-UNDEBUG')
if self.build.profiler_type in (Profiler.Generic, Profiler.GProf):
- self.c_foptions.append('-fno-omit-frame-pointer')
+ self.c_foptions.append('-fno-omit-frame-pointer')
if self.build.profiler_type == Profiler.GProf:
self.c_flags.append('-pg')
@@ -1499,11 +1499,11 @@ class GnuCompiler(Compiler):
emit('OPTIMIZE', self.optimize)
emit('WERROR_MODE', self.tc.werror_mode)
emit('FSTACK', self.gcc_fstack)
- append('C_DEFINES', self.c_defines)
+ append('C_DEFINES', self.c_defines)
emit('DUMP_DEPS')
emit('GCC_PREPROCESSOR_OPTS', '$DUMP_DEPS', '$C_DEFINES')
- append('C_WARNING_OPTS', self.c_warnings)
- append('CXX_WARNING_OPTS', self.cxx_warnings)
+ append('C_WARNING_OPTS', self.c_warnings)
+ append('CXX_WARNING_OPTS', self.cxx_warnings)
# PIE is only valid for executables, while PIC implies a shared library
# `-pie` with a shared library is either ignored or fails to link
@@ -1527,24 +1527,24 @@ class GnuCompiler(Compiler):
emit('WERROR_FLAG', '-Werror')
# TODO(somov): Убрать чтение настройки из os.environ
emit('USE_ARC_PROFILE', 'yes' if preset('USE_ARC_PROFILE') or os.environ.get('USE_ARC_PROFILE') else 'no')
- emit('DEBUG_INFO_FLAGS', self.debug_info_flags)
+ emit('DEBUG_INFO_FLAGS', self.debug_info_flags)
emit_big('''
- when ($NO_WSHADOW == "yes") {
- C_WARNING_OPTS += -Wno-shadow
- }
+ when ($NO_WSHADOW == "yes") {
+ C_WARNING_OPTS += -Wno-shadow
+ }
when ($NO_COMPILER_WARNINGS == "yes") {
- C_WARNING_OPTS = -w
+ C_WARNING_OPTS = -w
CXX_WARNING_OPTS = -Wno-everything
}
when ($NO_OPTIMIZE == "yes") {
- OPTIMIZE = -O0
+ OPTIMIZE = -O0
}
when ($SAVE_TEMPS == "yes") {
CXXFLAGS += -save-temps
}
when ($NOGCCSTACKCHECK != "yes") {
- FSTACK += -fstack-check
+ FSTACK += -fstack-check
}''')
c_builtins = [
@@ -1766,11 +1766,11 @@ class Linker(object):
return Linker.LLD
elif self.build.target.is_linux:
- # DEVTOOLS-6782: LLD8 fails to link LTO builds with in-memory ELF objects larger than 4 GiB
- blacklist_lld = is_positive('CLANG7') and is_positive('USE_LTO') and not is_positive('MUSL')
- if self.tc.is_clang and not blacklist_lld:
- return Linker.LLD
- else:
+ # DEVTOOLS-6782: LLD8 fails to link LTO builds with in-memory ELF objects larger than 4 GiB
+ blacklist_lld = is_positive('CLANG7') and is_positive('USE_LTO') and not is_positive('MUSL')
+ if self.tc.is_clang and not blacklist_lld:
+ return Linker.LLD
+ else:
# GCC et al.
if self.tc.is_gcc and is_positive('MUSL'):
@@ -1884,9 +1884,9 @@ class LD(Linker):
# https://github.com/android/ndk/issues/1196
self.ld_flags.append('-Wl,--no-rosegment')
elif target.is_macos:
- self.ld_flags.append('-Wl,-no_deduplicate')
- if not self.tc.is_clang:
- self.ld_flags.append('-Wl,-no_compact_unwind')
+ self.ld_flags.append('-Wl,-no_deduplicate')
+ if not self.tc.is_clang:
+ self.ld_flags.append('-Wl,-no_compact_unwind')
self.thread_library = select([
(target.is_linux or target.is_macos, '-lpthread'),
@@ -2002,8 +2002,8 @@ class LD(Linker):
dwarf_tool = self.tc.dwarf_tool
if dwarf_tool is None and self.tc.is_clang and (self.target.is_macos or self.target.is_ios):
- dsymutil = '{}/bin/{}dsymutil'.format(self.tc.name_marker, '' if self.tc.version_at_least(7) else 'llvm-')
- dwarf_tool = '${YMAKE_PYTHON} ${input:"build/scripts/run_llvm_dsymutil.py"} ' + dsymutil
+ dsymutil = '{}/bin/{}dsymutil'.format(self.tc.name_marker, '' if self.tc.version_at_least(7) else 'llvm-')
+ dwarf_tool = '${YMAKE_PYTHON} ${input:"build/scripts/run_llvm_dsymutil.py"} ' + dsymutil
if self.tc.version_at_least(5, 0):
dwarf_tool += ' -flat'
@@ -2037,7 +2037,7 @@ class LD(Linker):
emit('LINKER_TIME_TRACE_FLAG')
exe_flags = [
- '$C_FLAGS_PLATFORM', '$BEFORE_PEERS', self.start_group, '${rootrel:PEERS}', self.end_group, '$AFTER_PEERS',
+ '$C_FLAGS_PLATFORM', '$BEFORE_PEERS', self.start_group, '${rootrel:PEERS}', self.end_group, '$AFTER_PEERS',
'$EXPORTS_VALUE $LINKER_SCRIPT_VALUE $LDFLAGS $LDFLAGS_GLOBAL $OBJADDE $OBJADDE_LIB',
'$C_LIBRARY_PATH $C_SYSTEM_LIBRARIES_INTERCEPT $C_SYSTEM_LIBRARIES $STRIP_FLAG $DCE_FLAG $ICF_FLAG $LINKER_TIME_TRACE_FLAG']
@@ -2375,17 +2375,17 @@ class MSVCCompiler(MSVC, Compiler):
defines = [
'/DARCADIA_ROOT=${ARCADIA_ROOT}',
'/DARCADIA_BUILD_ROOT=${ARCADIA_BUILD_ROOT}',
- '/DFAKEID=$CPP_FAKEID',
- '/DWIN32',
- '/D_WIN32',
- '/D_WINDOWS',
- '/D_CRT_SECURE_NO_WARNINGS',
- '/D_CRT_NONSTDC_NO_WARNINGS',
- '/D_USE_MATH_DEFINES',
- '/D__STDC_CONSTANT_MACROS',
- '/D__STDC_FORMAT_MACROS',
- '/D_USING_V110_SDK71_',
- '/D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES',
+ '/DFAKEID=$CPP_FAKEID',
+ '/DWIN32',
+ '/D_WIN32',
+ '/D_WINDOWS',
+ '/D_CRT_SECURE_NO_WARNINGS',
+ '/D_CRT_NONSTDC_NO_WARNINGS',
+ '/D_USE_MATH_DEFINES',
+ '/D__STDC_CONSTANT_MACROS',
+ '/D__STDC_FORMAT_MACROS',
+ '/D_USING_V110_SDK71_',
+ '/D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES',
'/DNOMINMAX',
'/DWIN32_LEAN_AND_MEAN',
]
@@ -2398,10 +2398,10 @@ class MSVCCompiler(MSVC, Compiler):
]
if target.is_x86_64:
- defines.extend(('/D_WIN64', '/DWIN64'))
+ defines.extend(('/D_WIN64', '/DWIN64'))
if target.is_armv7:
- defines.extend(('/D_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE', '/D__arm__'))
+ defines.extend(('/D_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE', '/D__arm__'))
winapi_unicode = False
@@ -2421,14 +2421,14 @@ class MSVCCompiler(MSVC, Compiler):
]
flags += self.tc.arch_opt
- c_warnings = ['/we{}'.format(code) for code in warns_as_error]
- c_warnings += ['/w1{}'.format(code) for code in warns_enabled]
- c_warnings += ['/wd{}'.format(code) for code in warns_disabled]
- cxx_warnings = []
+ c_warnings = ['/we{}'.format(code) for code in warns_as_error]
+ c_warnings += ['/w1{}'.format(code) for code in warns_enabled]
+ c_warnings += ['/wd{}'.format(code) for code in warns_disabled]
+ cxx_warnings = []
+
+ flags_debug = ['/Ob0', '/Od', '/D_DEBUG']
+ flags_release = ['/Ox', '/Ob2', '/Oi', '/DNDEBUG']
- flags_debug = ['/Ob0', '/Od', '/D_DEBUG']
- flags_release = ['/Ox', '/Ob2', '/Oi', '/DNDEBUG']
-
flags_c_only = []
cxx_flags = [
# Provide proper __cplusplus value
@@ -2475,7 +2475,7 @@ class MSVCCompiler(MSVC, Compiler):
'-Wno-unknown-warning-option',
))
- cxx_warnings += [
+ cxx_warnings += [
'-Woverloaded-virtual',
'-Wno-register', # IGNIETFERRO-722 needed for contrib
'-Wimport-preprocessor-directive-pedantic',
@@ -2503,7 +2503,7 @@ class MSVCCompiler(MSVC, Compiler):
flags.append('-fms-compatibility-version=19.21')
if self.tc.ide_msvs:
- cxx_warnings += [
+ cxx_warnings += [
'-Wno-unused-command-line-argument',
]
@@ -2515,12 +2515,12 @@ class MSVCCompiler(MSVC, Compiler):
emit('OBJ_CROSS_SUF', '$OBJ_SUF')
emit('OBJECT_SUF', '$OBJ_SUF.obj')
emit('WIN32_WINNT', '{value}'.format(value=win32_winnt))
- defines.append('/D{name}=$WIN32_WINNT'.format(name=self.WIN32_WINNT.Macro))
+ defines.append('/D{name}=$WIN32_WINNT'.format(name=self.WIN32_WINNT.Macro))
if winapi_unicode:
- defines += ['/DUNICODE', '/D_UNICODE']
+ defines += ['/DUNICODE', '/D_UNICODE']
else:
- defines += ['/D_MBCS']
+ defines += ['/D_MBCS']
# https://msdn.microsoft.com/en-us/library/abx4dbyh.aspx
if is_positive('DLL_RUNTIME'): # XXX
@@ -2564,8 +2564,8 @@ class MSVCCompiler(MSVC, Compiler):
emit('CFLAGS_RELEASE', flags_release)
emit('MASMFLAGS', '')
emit('DEBUG_INFO_FLAGS', debug_info_flags)
- append('C_WARNING_OPTS', c_warnings)
- append('CXX_WARNING_OPTS', cxx_warnings)
+ append('C_WARNING_OPTS', c_warnings)
+ append('CXX_WARNING_OPTS', cxx_warnings)
if self.build.is_release:
emit('CFLAGS_PER_TYPE', '$CFLAGS_RELEASE')
@@ -2574,12 +2574,12 @@ class MSVCCompiler(MSVC, Compiler):
if self.build.is_ide:
emit('CFLAGS_PER_TYPE', '@[debug|$CFLAGS_DEBUG]@[release|$CFLAGS_RELEASE]')
- append('CFLAGS', flags, flags_msvs_only, '$CFLAGS_PER_TYPE', '$DEBUG_INFO_FLAGS', '$C_WARNING_OPTS', '$C_DEFINES', '$USER_CFLAGS', '$USER_CFLAGS_GLOBAL')
+ append('CFLAGS', flags, flags_msvs_only, '$CFLAGS_PER_TYPE', '$DEBUG_INFO_FLAGS', '$C_WARNING_OPTS', '$C_DEFINES', '$USER_CFLAGS', '$USER_CFLAGS_GLOBAL')
append('CXXFLAGS', '$CFLAGS', '/std:' + self.tc.cxx_std, cxx_flags, cxx_defines, '$CXX_WARNING_OPTS', '$USER_CXXFLAGS', '$USER_CXXFLAGS_GLOBAL')
append('CONLYFLAGS', flags_c_only, '$USER_CONLYFLAGS', '$USER_CONLYFLAGS_GLOBAL')
- append('BC_CFLAGS', '$CFLAGS')
- append('BC_CXXFLAGS', '$BC_CFLAGS', '$CXXFLAGS')
+ append('BC_CFLAGS', '$CFLAGS')
+ append('BC_CXXFLAGS', '$BC_CFLAGS', '$CXXFLAGS')
ucrt_include = os.path.join(self.tc.kit_includes, 'ucrt') if not self.tc.ide_msvs else "$(UniversalCRT_IncludePath.Split(';')[0].Replace('\\','/'))"
@@ -2589,19 +2589,19 @@ class MSVCCompiler(MSVC, Compiler):
append('CFLAGS', '/DY_MSVC_INCLUDE="%s"' % vc_include)
emit_big('''
- when ($NO_WSHADOW == "yes") {
- C_WARNING_OPTS += /wd4456 /wd4457
- }
- when ($NO_COMPILER_WARNINGS == "yes") {
- C_WARNING_OPTS = /w
- CXX_WARNING_OPTS =
- }
- when ($NO_OPTIMIZE == "yes") {
- OPTIMIZE = /Od
- }''')
+ when ($NO_WSHADOW == "yes") {
+ C_WARNING_OPTS += /wd4456 /wd4457
+ }
+ when ($NO_COMPILER_WARNINGS == "yes") {
+ C_WARNING_OPTS = /w
+ CXX_WARNING_OPTS =
+ }
+ when ($NO_OPTIMIZE == "yes") {
+ OPTIMIZE = /Od
+ }''')
emit('SFDL_FLAG', ['/E', '/C', '/P', '/TP', '/Fi$SFDL_TMP_OUT'])
- emit('WERROR_FLAG', '/WX')
+ emit('WERROR_FLAG', '/WX')
emit('WERROR_MODE', self.tc.werror_mode)
if not self.tc.under_wine:
@@ -3005,10 +3005,10 @@ class Cuda(object):
self.peerdirs = ['build/platform/cuda']
self.nvcc_std = '-std=c++14'
- if self.build.tc.type == 'msvc':
- self.nvcc_std = self.nvcc_std.replace('-std=', '/std:')
-
- self.nvcc_flags = []
+ if self.build.tc.type == 'msvc':
+ self.nvcc_std = self.nvcc_std.replace('-std=', '/std:')
+
+ self.nvcc_flags = []
if not self.have_cuda.value:
return
@@ -3049,9 +3049,9 @@ class Cuda(object):
emit('NVCC_UNQUOTED', self.build.host.exe('$CUDA_ROOT', 'bin', 'nvcc'))
emit('NVCC', '${quo:NVCC_UNQUOTED}')
- emit('NVCC_STD', self.nvcc_std)
+ emit('NVCC_STD', self.nvcc_std)
emit('NVCC_FLAGS', self.nvcc_flags, '$CUDA_NVCC_FLAGS')
- emit('NVCC_OBJ_EXT', '.o' if not self.build.target.is_windows else '.obj')
+ emit('NVCC_OBJ_EXT', '.o' if not self.build.target.is_windows else '.obj')
def print_macros(self):
if not self.cuda_use_clang.value: