File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
tools/ci_build/github/linux Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 18
18
mkdir -p " ${HOME} /.onnx"
19
19
DOCKER_SCRIPT_OPTIONS=" -d ${DEVICE} -c ${BUILD_CONFIG} "
20
20
21
+ if [ " ${PYTHON_EXES} " != " " ] ; then
22
+ DOCKER_SCRIPT_OPTIONS+=" -p ${PYTHON_EXES} "
23
+ fi
24
+
21
25
if [ " ${BUILD_EXTR_PAR} " != " " ] ; then
22
26
DOCKER_SCRIPT_OPTIONS+=" -x ${BUILD_EXTR_PAR} "
23
27
fi
@@ -34,7 +38,7 @@ docker run --rm \
34
38
-e ORT_DISABLE_PYTHON_PACKAGE_LOCAL_VERSION \
35
39
-e DEFAULT_TRAINING_PACKAGE_DEVICE \
36
40
$ADDITIONAL_DOCKER_PARAMETER \
37
- $DOCKER_IMAGE tools/ci_build/github/linux/build_linux_python_package.sh -c $BUILD_CONFIG -p $PYTHON_EXES $DOCKER_SCRIPT_OPTIONS
41
+ $DOCKER_IMAGE tools/ci_build/github/linux/build_linux_python_package.sh $DOCKER_SCRIPT_OPTIONS
38
42
39
43
sudo rm -rf " ${BUILD_BINARIESDIRECTORY} /${BUILD_CONFIG} /onnxruntime" " ${BUILD_BINARIESDIRECTORY} /${BUILD_CONFIG} /pybind11" \
40
44
" ${BUILD_BINARIESDIRECTORY} /${BUILD_CONFIG} /models" " ${BUILD_BINARIESDIRECTORY} /${BUILD_CONFIG} /_deps" \
You can’t perform that action at this time.
0 commit comments