aboutsummaryrefslogtreecommitdiffstats
path: root/build/conf/misc.conf
diff options
context:
space:
mode:
authorsnermolaev <snermolaev@yandex-team.com>2023-08-03 09:19:49 +0300
committersnermolaev <snermolaev@yandex-team.com>2023-08-03 09:19:49 +0300
commitc2d75710b43de2d3555c204330816767fa2c4d96 (patch)
tree6fdc4828c282db1f414acf365eae1460d5a31b7e /build/conf/misc.conf
parentb412c39082a836debcd635c7a4d1f56bfc92471c (diff)
downloadydb-c2d75710b43de2d3555c204330816767fa2c4d96.tar.gz
move more stuff to specific confs
Diffstat (limited to 'build/conf/misc.conf')
-rw-r--r--build/conf/misc.conf37
1 files changed, 37 insertions, 0 deletions
diff --git a/build/conf/misc.conf b/build/conf/misc.conf
new file mode 100644
index 0000000000..d640f6ff4c
--- /dev/null
+++ b/build/conf/misc.conf
@@ -0,0 +1,37 @@
+
+# tag:external-build
+CONTAINER_LAYER_CMD=$YMAKE_PYTHON ${input:"build/scripts/make_container_layer.py"} -s $SQUASHFS_RESOURCE_GLOBAL -o $TARGET $AUTO_INPUT ${cwd:ARCADIA_BUILD_ROOT} ${kv;hide:"p CL"} ${kv;hide:"pc blue"}
+CONTAINER_CMD=$YMAKE_PYTHON ${input:"build/scripts/make_container.py"} -s $SQUASHFS_RESOURCE_GLOBAL -o $TARGET ${rootrel:PEERS} ${cwd:ARCADIA_BUILD_ROOT} ${kv;hide:"p CN"} ${kv;hide:"pc blue"}
+
+# tag:external-build
+module CONTAINER_LAYER: _BARE_UNIT {
+ .CMD=CONTAINER_LAYER_CMD
+ PEERDIR(build/external_resources/squashfs_tools)
+
+ MODULE_SUFFIX=.container_layer
+ CHECK_ALLOWED_PATH()
+ CHECK_DEPENDENT_DIRS(ALLOW_ONLY PEERDIRS base_layers build/external_resources/squashfs_tools build/platform/python/ymake_python3 junk)
+}
+
+# tag:external-build
+module CONTAINER: _BARE_UNIT {
+ .NODE_TYPE=Bundle
+ .PEERDIR_POLICY=as_build_from
+ .FINAL_TARGET=yes
+ .CMD=CONTAINER_CMD
+ PEERDIR(build/external_resources/squashfs_tools)
+ PEERDIR(devtools/contrib/cake/entry)
+}
+
+# tag:external-build
+CUSTOM_BUILD_LIBRARY_USE=
+CUSTOM_BUILD_LIBRARY_CMD=$GENERATE_MF && ${tool:"devtools/experimental/solar/outbuild/runner"} ${hide:PEERS} --script=${input:CUSTOM_SCRIPT} --output $TARGET --python=${tool:"contrib/tools/python3"} --isolator=${tool:"devtools/experimental/solar/outbuild/isolator"} $CUSTOM_BUILD_LIBRARY_USE
+
+# tag:external-build
+module CUSTOM_BUILD_LIBRARY: LIBRARY {
+ .NODE_TYPE=Bundle
+ .PEERDIR_POLICY=as_build_from
+ .PROXY=yes
+ .CMD=CUSTOM_BUILD_LIBRARY_CMD
+ DISABLE(NEED_ADD_FAKE_SRC)
+}