summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/conf/ts/ts.conf11
-rw-r--r--build/conf/ts/ts_next.conf1
-rw-r--r--build/conf/ts/ts_proto.conf1
-rw-r--r--build/conf/ts/ts_tsc.conf1
-rw-r--r--build/conf/ts/ts_vite.conf1
-rw-r--r--build/conf/ts/ts_webpack.conf1
6 files changed, 11 insertions, 5 deletions
diff --git a/build/conf/ts/ts.conf b/build/conf/ts/ts.conf
index e2b9db57f9d..c938fa7349f 100644
--- a/build/conf/ts/ts.conf
+++ b/build/conf/ts/ts.conf
@@ -40,11 +40,22 @@ NOTS_TOOL_BASE_ARGS=\
NOTS_TOOL_BUILD_ENV=
+# All variable that potentially can affect CMD are listed for UID generation
+# Requirements does not have effect on output
+# By adding __NO_UID__ suffix we show that this variable is not a part of the UID
+NOTS_TOOL_BUILD_REQUIREMENTS__NO_UID__=
+
+when($AUTOCHECK == "yes") {
+ # we don't want to have requirements for local runs
+ NOTS_TOOL_BUILD_REQUIREMENTS__NO_UID__=${requirements;hide:"cpu:4"}
+}
+
# Arguments for builders' commands, passed after the command
NOTS_TOOL_COMMON_BUILDER_ARGS=\
--output-file ${output:TS_OUTPUT_FILE} ${output;hide:TS_OUTPUT_FILE_UUID} \
--tsconfigs $TS_CONFIG_PATH \
--vcs-info "${VCS_INFO_FILE}" \
+ $NOTS_TOOL_BUILD_REQUIREMENTS__NO_UID__ \
$NOTS_TOOL_BUILD_ENV
ERM_PACKAGES_PATH=devtools/frontend_build_platform/erm/erm-packages.json
diff --git a/build/conf/ts/ts_next.conf b/build/conf/ts/ts_next.conf
index 9130cdd828e..e41f08182fd 100644
--- a/build/conf/ts/ts_next.conf
+++ b/build/conf/ts/ts_next.conf
@@ -40,7 +40,6 @@ TS_NEXT_CMD=$TOUCH_UNIT \
$_NODE_MODULES_INOUTS ${hide:PEERS} \
${input;hide:"package.json"} ${TS_CONFIG_FILES} $_AS_HIDDEN_INPUTS(IN $TS_INPUT_FILES) \
${output;hide:"package.json"} \
- ${requirements;hide:"cpu:2"} \
${kv;hide:"pc magenta"} ${kv;hide:"p TS_NXT"}
### @usage: TS_NEXT([name])
diff --git a/build/conf/ts/ts_proto.conf b/build/conf/ts/ts_proto.conf
index 7d8cee24afa..9ab222e8c92 100644
--- a/build/conf/ts/ts_proto.conf
+++ b/build/conf/ts/ts_proto.conf
@@ -9,7 +9,6 @@ _TS_PROTO_IMPL_CMD=$TOUCH_UNIT \
${input;hide:"package.json"} ${TS_CONFIG_FILES} $_AS_HIDDEN_INPUTS(IN $TS_INPUT_FILES) \
${output;hide:"package.json"} \
${hide:PROTO_FAKEID} \
- ${requirements;hide:"cpu:2"} \
${kv;hide:"pc magenta"} ${kv;hide:"p TS_PRO"}
diff --git a/build/conf/ts/ts_tsc.conf b/build/conf/ts/ts_tsc.conf
index 4fb73d97312..7dd51b29acd 100644
--- a/build/conf/ts/ts_tsc.conf
+++ b/build/conf/ts/ts_tsc.conf
@@ -4,7 +4,6 @@ TS_TSC_CMD=$TOUCH_UNIT \
$_NODE_MODULES_INOUTS ${hide:PEERS} \
${input;hide:"package.json"} ${TS_CONFIG_FILES} $_AS_HIDDEN_INPUTS(IN $TS_INPUT_FILES) \
${output;hide:"package.json"} \
- ${requirements;hide:"cpu:2"} \
${kv;hide:"pc magenta"} ${kv;hide:"p TS_TSC"}
### @usage: TS_TSC([name])
diff --git a/build/conf/ts/ts_vite.conf b/build/conf/ts/ts_vite.conf
index cde00c8bace..ca6ff048f91 100644
--- a/build/conf/ts/ts_vite.conf
+++ b/build/conf/ts/ts_vite.conf
@@ -42,7 +42,6 @@ TS_VITE_CMD=$TOUCH_UNIT \
$_NODE_MODULES_INOUTS ${hide:PEERS} \
${input;hide:"package.json"} ${TS_CONFIG_FILES} $_AS_HIDDEN_INPUTS(IN $TS_INPUT_FILES) \
${output;hide:"package.json"} \
- ${requirements;hide:"cpu:2"} \
${kv;hide:"pc magenta"} ${kv;hide:"p TS_VIT"}
### @usage: TS_VITE([name])
diff --git a/build/conf/ts/ts_webpack.conf b/build/conf/ts/ts_webpack.conf
index 2a27e2f88b4..6cea71c0e3e 100644
--- a/build/conf/ts/ts_webpack.conf
+++ b/build/conf/ts/ts_webpack.conf
@@ -39,7 +39,6 @@ TS_WEBPACK_CMD=$TOUCH_UNIT \
$_NODE_MODULES_INOUTS ${hide:PEERS} \
${input;hide:"package.json"} ${TS_CONFIG_FILES} $_AS_HIDDEN_INPUTS(IN $TS_INPUT_FILES) \
${output;hide:"package.json"} \
- ${requirements;hide:"cpu:2"} \
${kv;hide:"pc magenta"} ${kv;hide:"p TS_WPK"}
### @usage: TS_WEBPACK([name])