Skip to content

Commit

Permalink
Merge pull request PaddlePaddle#52 from mthreads/fix_build.sh
Browse files Browse the repository at this point in the history
[MTAI-484] fix(ci): fix bug in build.sh
  • Loading branch information
mingyuanw-mt authored and mt-robot committed Aug 16, 2023
2 parents 2bde4ba + d2601d6 commit 579d91c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pipeline {
container('main') {
sh """#!/bin/bash
cd ${env.paddle_musa_working_dir}
/bin/bash ci/build.sh -j64
/opt/conda/condabin/conda run -n py38 --no-capture-output /bin/bash ci/build.sh -j64
"""
}
}
Expand All @@ -78,7 +78,7 @@ pipeline {
cd ${env.paddle_musa_working_dir}/build
ctest -V -R system_allocator_test
"""
// sh '/bin/bash --login -c "cd build && ctest -V -R system_allocator_test"'
// sh '/bin/bash --login -c "/opt/conda/condabin/conda run -n py38 --no-capture-output cd build && ctest -V -R system_allocator_test"'
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ fi

git diff --name-only ${ref_revision} | xargs touch

find build -name "CMakeCache*" | xargs rm
rm build -rf
export MAX_JOBS=${MAX_JOBS}
WITH_MKL=ON WITH_AVX=ON WITH_TESTING=ON python setup.py install
# WITH_MKL=ON WITH_AVX=ON PY_VERSION=3.8 /bin/bash paddle/scripts/paddle_build.sh build_only ${MAX_JOBS}
Expand Down

0 comments on commit 579d91c

Please sign in to comment.