Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Oct 11, 2024
1 parent ee18bf7 commit a30a844
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
-e BUILD_BUILDNUMBER \
-e CCACHE_DIR=/cache \
onnxruntimecpubuildpythonx86_64 \
/onnxruntime_src/tools/ci_build/github/linux/build_linux_python_package.sh -p /opt/python/cp312-cp312/bin/python3 -e -x "--enable_training"
/onnxruntime_src/tools/ci_build/github/linux/build_linux_python_package.sh -p /opt/python/cp312-cp312/bin/python3 -e -x "--enable_training" -c Release -d CPU
workingDirectory: $(Build.SourcesDirectory)

- task: PublishTestResults@2
Expand Down
3 changes: 1 addition & 2 deletions tools/ci_build/github/linux/build_linux_python_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if [ "$ENABLE_CACHE" = true ] ; then
# No release binary for ccache aarch64, so we need to build it from source.
if ! [ -x "$(command -v ccache)" ]; then
ccache_url="https://github.com/ccache/ccache/archive/refs/tags/v4.8.tar.gz"
pushd .
cd /build
curl -sSL --retry 5 --retry-delay 10 --create-dirs --fail -L -o ccache_src.tar.gz $ccache_url
mkdir ccache_main
cd ccache_main
Expand All @@ -49,7 +49,6 @@ if [ "$ENABLE_CACHE" = true ] ; then
make install
export PATH=/build/bin:$PATH
which ccache
popd
rm -f ccache_src.tar.gz
rm -rf ccache_src
fi
Expand Down

0 comments on commit a30a844

Please sign in to comment.