Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a build issue: /MP was not enabled correctly #19190

Merged
merged 20 commits into from
Jan 29, 2024

update

b977673
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Fix a build issue: /MP was not enabled correctly #19190

update
b977673
Select commit
Loading
Failed to load commit list.
GitHub Actions / shellcheck completed Jan 25, 2024 in 1s

reviewdog [shellcheck] report

reported by reviewdog 🐶

Findings (68)

tools/scripts/python_test.sh|13 col 4| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|13 col 83| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|15 col 27| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|16 col 10| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|17 col 4| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|17 col 122| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|18 col 27| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|21 col 14| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|22 col 8| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|22 col 19| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|22 col 39| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|22 col 50| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|23 col 24| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|23 col 35| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|25 col 10| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|26 col 7| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|26 col 18| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|27 col 9| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|27 col 54| Double quote to prevent globbing and word splitting.
tools/scripts/python_test.sh|27 col 98| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_linux_python_package.sh|18 col 4| Variable was used as an array but is now assigned a string.
tools/ci_build/github/linux/build_linux_python_package.sh|47 col 26| See if you can use ${variable//search/replace} instead.
tools/ci_build/github/linux/build_linux_python_package.sh|47 col 31| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/build_full_ort_and_create_ort_files.sh|22 col 17| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/build_full_ort_and_create_ort_files.sh|34 col 31| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/build_full_ort_and_create_ort_files.sh|69 col 25| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/build_minimal_ort_and_run_tests.sh|71 col 17| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/build_minimal_ort_and_run_tests.sh|78 col 29| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/build_minimal_ort_and_run_tests.sh|83 col 5| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/build_minimal_ort_and_run_tests.sh|89 col 5| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/ort_minimal/build_minimal_ort_and_run_tests.sh|92 col 5| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_tensorrt_c_api_package.sh|3 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_tensorrt_c_api_package.sh|4 col 123| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_tensorrt_c_api_package.sh|4 col 173| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_tensorrt_c_api_package.sh|5 col 49| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_tensorrt_c_api_package.sh|5 col 120| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_tensorrt_c_api_package.sh|7 col 149| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_tensorrt_c_api_package.sh|7 col 191| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|14 col 4| Invalid flags are not handled. Add a *) case.
tools/ci_build/github/linux/run_build.sh|24 col 6| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|26 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|34 col 7| ShellCheck can't follow non-constant source. Use a directive to specify location.
tools/ci_build/github/linux/run_build.sh|35 col 11| This alias can't be defined and used in the same parsing unit. Use a function instead.
tools/ci_build/github/linux/run_build.sh|35 col 56| This expands when defined, not when used. Consider escaping.
tools/ci_build/github/linux/run_build.sh|36 col 5| Since they're in the same parsing unit, this command will not refer to the previously mentioned alias.
tools/ci_build/github/linux/run_build.sh|38 col 12| Quote this to prevent word splitting.
tools/ci_build/github/linux/run_build.sh|42 col 10| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|43 col 31| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|43 col 31| Possible misspelling: CUDNN_VERSION may not be assigned. Did you mean _CUDNN_VERSION?
tools/ci_build/github/linux/run_build.sh|44 col 17| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|45 col 30| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|48 col 43| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|48 col 64| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|50 col 14| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|52 col 16| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|56 col 31| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|57 col 17| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|58 col 30| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|61 col 53| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|63 col 17| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|64 col 30| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/run_build.sh|64 col 49| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_cuda_c_api_package.sh|4 col 1| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_cuda_c_api_package.sh|4 col 51| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_cuda_c_api_package.sh|5 col 106| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_cuda_c_api_package.sh|7 col 118| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_cuda_c_api_package.sh|8 col 29| Double quote to prevent globbing and word splitting.
tools/ci_build/github/linux/build_cuda_c_api_package.sh|8 col 72| Double quote to prevent globbing and word splitting.

Filtered Findings (865)

dockerfiles/scripts/install_common_deps.sh|2 col 1| DEBIAN_FRONTEND appears unused. Verify use (or export if used externally).
dockerfiles/scripts/install_rocm_deps.sh|3 col 1| DEBIAN_FRONTEND appears unused. Verify use (or export if used externally).
dockerfiles/scripts/install_rocm_deps.sh|19 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|21 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|33 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|35 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|47 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|49 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|61 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|63 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|76 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_rocm_deps.sh|78 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
dockerfiles/scripts/install_cmake.sh|7 col 10| Use $(...) notation instead of legacy backticks ....
dockerfiles/scripts/install_cmake.sh|9 col 100| Double quote to prevent globbing and word splitting.
dockerfiles/scripts/docker_run_vitisai.sh|8 col 6| Use $(...) notation instead of legacy backticks ....
dockerfiles/scripts/docker_run_vitisai.sh|9 col 5| Use $(...) notation instead of legacy backticks ....
dockerfiles/scripts/docker_run_vitisai.sh|10 col 5| Use $(...) notation instead of legacy backticks ....
dockerfiles/scripts/docker_run_vitisai.sh|26 col 5| Double quote to prevent globbing and word splitting.
dockerfiles/scripts/docker_run_vitisai.sh|29 col 13| Double quote to prevent globbing and word splitting.
dockerfiles/scripts/docker_run_vitisai.sh|29 col 26| Double quote to prevent globbing and word splitting.
dockerfiles/scripts/docker_run_vitisai.sh|29 col 38| Double quote to prevent globbing and word splitting.
dockerfiles/scripts/docker_run_vitisai.sh|30 col 8| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|15 col 4| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|19 col 6| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|23 col 31| Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|29 col 18| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|29 col 142| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|30 col 8| Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|35 col 8| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|35 col 61| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|37 col 45| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|38 col 10| Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|42 col 49| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|43 col 11| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|45 col 45| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|47 col 17| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|49 col 8| Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|55 col 4| OldDir is referenced but not assigned.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests/runtest.sh|55 col 4| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/runmobiletests.sh|5 col 1| locallatestAndroidTestRunId appears unused. Verify use (or export if used externally).
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/runmobiletests.sh|36 col 7| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/runmobiletests.sh|36 col 41| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/runmobiletests.sh|39 col 7| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/runmobiletests.sh|39 col 41| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/runmobiletests.sh|68 col 1| i appears unused. Verify use (or export if used externally).
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/runmobiletests.sh|80 col 9| This pattern always overrides a later one on line 80.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/runmobiletests.sh|80 col 14| This pattern never matches because of a previous pattern on line 80.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/runmobiletests.sh|124 col 1| startAndroidTests appears unused. Verify use (or export if used externally).
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/runmobiletests.sh|127 col 16| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/runmobiletests.sh|130 col 17| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/runmobiletests.sh|131 col 24| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/runmobiletests.sh|138 col 1| startiOSTests appears unused. Verify use (or export if used externally).
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/runmobiletests.sh|141 col 16| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/runmobiletests.sh|144 col 17| Double quote to prevent globbing and word splitting.
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile/runmobiletests.sh|145 col 24| Double quote to prevent globbing and word splitting.
onnxruntime/test/python/transformers/sharded_moe/run_script.sh|1 col 1| Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
onnxruntime/test/python/transformers/benchmark_mha.sh|1 col 1| Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|8 col 4| Invalid flags are not handled. Add a *) case.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|23 col 9| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|28 col 9| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|33 col 6| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|35 col 5| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|35 col 8| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|38 col 111| Quote this to prevent word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|41 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|41 col 4| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|44 col 1| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|52 col 6| Quote this to prevent word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|53 col 136| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|54 col 6| Quote this to prevent word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|61 col 11| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|63 col 36| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|64 col 23| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|65 col 24| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|69 col 12| Quote this to prevent word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|98 col 11| Quote this to prevent word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|110 col 9| -e doesn't work with globs. Use a for loop.
onnxruntime/python/tools/tensorrt/perf/mem_test/run.sh|115 col 10| Quote this to prevent word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run_mem_test_docker.sh|7 col 4| Invalid flags are not handled. Add a *) case.
onnxruntime/python/tools/tensorrt/perf/mem_test/run_mem_test_docker.sh|22 col 9| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run_mem_test_docker.sh|27 col 31| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run_mem_test_docker.sh|27 col 111| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run_mem_test_docker.sh|27 col 191| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run_mem_test_docker.sh|27 col 211| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/mem_test/run_mem_test_docker.sh|27 col 233| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/setup_scripts/setup_many_models.sh|1 col 2| Remove spaces between # and ! in the shebang.
onnxruntime/python/tools/tensorrt/perf/setup_scripts/setup_many_models.sh|5 col 7| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_machine.sh|5 col 4| Invalid flags are not handled. Add a *) case.
onnxruntime/python/tools/tensorrt/perf/run_perf_machine.sh|16 col 14| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_machine.sh|16 col 35| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|5 col 4| Invalid flags are not handled. Add a *) case.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|21 col 26| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|21 col 56| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|21 col 70| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|21 col 94| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|21 col 102| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|21 col 175| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|21 col 186| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/run_perf_docker.sh|21 col 201| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/perf.sh|4 col 4| Invalid flags are not handled. Add a *) case.
onnxruntime/python/tools/tensorrt/perf/perf.sh|17 col 6| Use -n instead of ! -z.
onnxruntime/python/tools/tensorrt/perf/perf.sh|24 col 6| Use -n instead of ! -z.
onnxruntime/python/tools/tensorrt/perf/perf.sh|24 col 11| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/perf.sh|26 col 24| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/perf.sh|27 col 5| Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
onnxruntime/python/tools/tensorrt/perf/perf.sh|27 col 8| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/perf.sh|46 col 19| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/perf.sh|61 col 9| Use 'find .. -print0 | xargs -0 ..' or 'find .. -exec .. +' to allow non-alphanumeric filenames.
onnxruntime/python/tools/tensorrt/perf/perf.sh|68 col 48| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/perf.sh|68 col 70| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/tensorrt/perf/perf.sh|68 col 78| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|1 col 1| Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
onnxruntime/python/tools/transformers/run_benchmark.sh|66 col 167| run_cpu is referenced but not assigned.
onnxruntime/python/tools/transformers/run_benchmark.sh|66 col 229| sequence_length is referenced but not assigned (did you mean 'sequence_lengths'?).
onnxruntime/python/tools/transformers/run_benchmark.sh|133 col 19| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|133 col 40| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|133 col 43| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|133 col 64| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|133 col 67| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|133 col 70| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|134 col 19| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|134 col 40| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|134 col 43| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|134 col 62| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|134 col 65| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|134 col 68| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|136 col 16| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|136 col 37| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|136 col 40| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|136 col 61| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|136 col 64| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|136 col 67| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|137 col 16| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|137 col 37| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|137 col 40| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|137 col 59| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|137 col 62| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|137 col 65| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|143 col 19| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|143 col 40| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|143 col 43| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|143 col 64| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|143 col 77| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|143 col 80| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|143 col 83| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|144 col 19| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|144 col 40| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|144 col 43| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|144 col 62| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|144 col 75| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|144 col 78| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|144 col 81| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|146 col 16| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|146 col 37| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|146 col 40| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|146 col 61| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|146 col 74| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|146 col 77| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|146 col 80| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|147 col 16| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|147 col 37| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|147 col 40| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|147 col 59| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|147 col 72| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|147 col 75| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|147 col 78| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|152 col 19| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|152 col 49| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|152 col 52| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|152 col 71| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|152 col 74| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|152 col 77| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|154 col 16| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|154 col 46| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|154 col 49| Double quote to prevent globbing and word splitting.
onnxruntime/python/tools/transformers/run_benchmark.sh|154 col 68| Double quote to prevent globbing and word splitting.
... (Too many findings. Dropped some findings)

Annotations

Check notice on line 13 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L13 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:13:4: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 13 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L13 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:13:83: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 15 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L15 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:15:27: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 16 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L16 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:16:10: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 17 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L17 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:17:4: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 17 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L17 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:17:122: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 18 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L18 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:18:27: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 21 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L21 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:21:14: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 22 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L22 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:22:8: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 22 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L22 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:22:19: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 22 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L22 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:22:39: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 22 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L22 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:22:50: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 23 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L23 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:23:24: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 23 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L23 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:23:35: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 25 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L25 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:25:10: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 26 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L26 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:26:7: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 26 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L26 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:26:18: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 27 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L27 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:27:9: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 27 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L27 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:27:54: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 27 in tools/scripts/python_test.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/scripts/python_test.sh#L27 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/scripts/python_test.sh:27:98: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check warning on line 18 in tools/ci_build/github/linux/build_linux_python_package.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/build_linux_python_package.sh#L18 <ShellCheck.SC2178>

Variable was used as an array but is now assigned a string.
Raw output
./tools/ci_build/github/linux/build_linux_python_package.sh:18:4: warning: Variable was used as an array but is now assigned a string. (ShellCheck.SC2178)

Check notice on line 47 in tools/ci_build/github/linux/build_linux_python_package.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/build_linux_python_package.sh#L47 <ShellCheck.SC2001>

See if you can use ${variable//search/replace} instead.
Raw output
./tools/ci_build/github/linux/build_linux_python_package.sh:47:26: info: See if you can use ${variable//search/replace} instead. (ShellCheck.SC2001)

Check notice on line 47 in tools/ci_build/github/linux/build_linux_python_package.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/build_linux_python_package.sh#L47 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/build_linux_python_package.sh:47:31: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 22 in tools/ci_build/github/linux/ort_minimal/build_full_ort_and_create_ort_files.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/ort_minimal/build_full_ort_and_create_ort_files.sh#L22 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/ort_minimal/build_full_ort_and_create_ort_files.sh:22:17: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)

Check notice on line 34 in tools/ci_build/github/linux/ort_minimal/build_full_ort_and_create_ort_files.sh

@github-actions github-actions / shellcheck

[shellcheck] tools/ci_build/github/linux/ort_minimal/build_full_ort_and_create_ort_files.sh#L34 <ShellCheck.SC2086>

Double quote to prevent globbing and word splitting.
Raw output
./tools/ci_build/github/linux/ort_minimal/build_full_ort_and_create_ort_files.sh:34:31: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)