Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Jan 18, 2025
1 parent 4fa0412 commit 5b45d5d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ stages:
-e BUILD_BUILDNUMBER \
-e CCACHE_DIR=/cache \
$(Repository) \
/bin/bash -c "
/bin/bash -c '
set -ex; \
env; \
ccache -s; \
Expand All @@ -125,7 +125,7 @@ stages:
--use_cache \
--cmake_extra_defines 'CMAKE_CUDA_ARCHITECTURES=75;86' ; \
ccache -sv; \
ccache -z"
ccache -z'
workingDirectory: $(Build.SourcesDirectory)

- task: CmdLine@2
Expand Down
13 changes: 6 additions & 7 deletions tools/ci_build/github/azure-pipelines/linux-ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,17 @@ stages:
-e NIGHTLY_BUILD \
-e BUILD_BUILDNUMBER \
onnxruntimecpubuildcentos8x64 \
/bin/bash -c '
set -ex; \
/bin/bash -c 'set -ex; \
python3 /onnxruntime_src/tools/ci_build/build.py \
--build_dir /build --cmake_generator 'Ninja' \
--build_dir /build --cmake_generator Ninja \
--config Debug \
--skip_submodule_sync \
--build_shared_lib \
--parallel --use_binskim_compliant_compile_flags \
--enable_onnx_tests --enable_address_sanitizer \
--update --build;
python3 /onnxruntime_src/tools/ci_build/build.py \
--build_dir /build --cmake_generator 'Ninja' \
--build_dir /build --cmake_generator Ninja \
--config Debug \
--skip_submodule_sync \
--build_shared_lib \
Expand Down Expand Up @@ -208,11 +207,11 @@ stages:
-e BUILD_BUILDNUMBER \
-e CCACHE_DIR=/cache \
onnxruntimecpubuild \
/bin/bash -c "
/bin/bash -c '
set -ex; \
ccache -s; \
PATH=/opt/python/cp310-cp310/bin:$PATH python /onnxruntime_src/tools/ci_build/build.py \
--build_dir /build --cmake_generator 'Ninja' \
--build_dir /build --cmake_generator Ninja \
--config Release \
--skip_submodule_sync \
--build_shared_lib \
Expand All @@ -224,7 +223,7 @@ stages:
--use_cache \
--update --build --cmake_extra_defines onnxruntime_BUILD_BENCHMARKS=ON; \
ccache -sv; \
ccache -z"
ccache -z'
workingDirectory: $(Build.SourcesDirectory)

- script: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
-e NIGHTLY_BUILD \
-e BUILD_BUILDNUMBER \
onnxruntimecpubuild \
PATH=/opt/python/cp310-cp310/bin:$PATH python /onnxruntime_src/tools/ci_build/build.py \
bash -c 'PATH=/opt/python/cp310-cp310/bin:$PATH python /onnxruntime_src/tools/ci_build/build.py \
--build_dir /build \
--config Debug Release \
--skip_submodule_sync \
Expand All @@ -71,7 +71,7 @@ jobs:
--enable_pybind \
--enable_onnx_tests \
--build_java \
--use_dnnl
--use_dnnl'
workingDirectory: $(Build.SourcesDirectory)

- task: PublishTestResults@2
Expand Down

0 comments on commit 5b45d5d

Please sign in to comment.