onnxruntime/tools/ci_build/github/linux
Changming Sun e91d91ae4f
Fix a build issue: /MP was not enabled correctly (#19190)
### Description

In PR #19073 I mistunderstood the value of "--parallel". Instead of
testing if args.parallel is None or not , I should test the returned
value of number_of_parallel_jobs function.

If build.py was invoked without --parallel, then args.parallel equals to
1. Because it is the default value. Then we should not add "/MP".
However, the current code adds it. Because if `args.paralllel` is
evaluated to `if 1` , which is True.
If build.py was invoked with --parallel with additional numbers, then
args.parallel equals to 0. Because it is unspecified. Then we should add
"/MP". However, the current code does not add it. Because `if
args.paralllel` is evaluated to `if 0` , which is False.

This also adds a new build flag: use_binskim_compliant_compile_flags, which is intended to be only used in ONNX Runtime team's build pipelines for compliance reasons. 

### Motivation and Context
2024-01-29 12:45:38 -08:00
..
docker Enable Address Sanitizer in CI (#19073) 2024-01-12 07:24:40 -08:00
ort_minimal Fix a build issue: /MP was not enabled correctly (#19190) 2024-01-29 12:45:38 -08:00
tvm Fix TVM pipelines (#15653) 2023-04-26 09:55:05 +02:00
build_cuda_c_api_package.sh Fix a build issue: /MP was not enabled correctly (#19190) 2024-01-29 12:45:38 -08:00
build_linux_python_package.sh Fix a build issue: /MP was not enabled correctly (#19190) 2024-01-29 12:45:38 -08:00
build_rocm_c_api_package.sh Enable Address Sanitizer in CI (#19073) 2024-01-12 07:24:40 -08:00
build_tensorrt_c_api_package.sh Fix a build issue: /MP was not enabled correctly (#19190) 2024-01-29 12:45:38 -08:00
build_yocto.sh Bring code coverage dashboard back (#8394) 2021-08-16 20:54:39 -07:00
copy_strip_binary.sh Add cuda context headers to zip (#18330) 2023-11-09 14:53:58 -08:00
create_package.sh Pull the latest image before running docker build 2019-11-22 13:48:37 -08:00
extract_and_bundle_gpu_package.sh [TensorRT EP] Refactor OrtTensorRTProviderOptions initialization and make it easy to add new field (#17617) 2023-10-06 14:12:20 -07:00
java_copy_strip_binary.sh Change native folder name for java macos arm64 (#12335) 2022-07-27 15:13:07 -07:00
java_linux_final_test.sh Update protobuf-java to version 3.21.7 (#13630) 2022-11-17 15:04:42 -08:00
run_build.sh Fix a build issue: /MP was not enabled correctly (#19190) 2024-01-29 12:45:38 -08:00
run_dockerbuild.sh Fix Multi GPU TensorRT tests (#17269) 2023-08-25 20:30:45 -07:00
run_python_dockerbuild.sh Create a new Python Package pipeline for CUDA 12 (#18348) 2023-11-20 09:48:28 -08:00
run_python_dockertest.sh Remove dnf update from docker build scripts (#17551) 2023-09-21 07:33:29 -07:00
run_python_tests.sh Upgrade Ubuntu machine pool from 20.04 to 22.04 (#19117) 2024-01-16 17:25:18 -08:00
test_custom_ops_pytorch_export.sh Change "Export PyTorch CustomOp" build pipeline to use Ubuntu 20.04 (#8158) 2021-06-28 16:13:55 -07:00
upload_code_coverage_data.sh Pin version of post to dashboard scripts' dependencies and update them to work with recent version. (#10353) 2022-01-21 19:35:58 -08:00
upload_ortsrv_binaries.sh Refactor Onnx runtime Server to only use public APIs (#1271) 2019-07-04 01:08:14 -07:00
yocto_build_toolchain.sh Bring code coverage dashboard back (#8394) 2021-08-16 20:54:39 -07:00