driazati commented on a change in pull request #10642:
URL: https://github.com/apache/tvm/pull/10642#discussion_r828337691
##########
File path: tests/scripts/task_cpp_unittest.sh
##########
@@ -32,7 +32,7 @@ export OMP_NUM_THREADS=1
# Build cpptest suite
python3 tests/scripts/task_build.py \
- --num-executors "${CI_NUM_EXECUTORS}" \
+ --num-executors "${CI_NUM_EXECUTORS:-1}" \
Review comment:
actually could you only use the default if the `CI` env variable isn’t
set? just so we don’t end up triggering this behavior in CI where num executors
should always be set. it also might be easier to put the logic in
`task_build.py` and remove the `num-executors` flag
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]