fix build_wheel option (#684)

This commit is contained in:
jywu-msft 2019-03-22 11:18:23 -07:00 committed by GitHub
parent 25f45cb2db
commit 8d782582f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -163,6 +163,9 @@ add_custom_command(
COMMAND ${CMAKE_COMMAND} -E copy
${onnxruntime_python_tools_srcs}
$<TARGET_FILE_DIR:${test_data_target}>/onnxruntime/tools/
COMMAND ${CMAKE_COMMAND} -E copy
${REPO_ROOT}/VERSION_NUMBER
$<TARGET_FILE_DIR:${test_data_target}>
)
if (onnxruntime_USE_MKLDNN)

View file

@ -37,7 +37,7 @@ else
python3 $SCRIPT_DIR/../../build.py --build_dir /home/onnxruntimedev \
--config Debug Release --build_shared_lib \
--skip_submodule_sync --enable_onnx_tests \
--enable_pybind \
--build_wheel \
--parallel --use_openmp --build_shared_lib $BUILD_EXTR_PAR
/home/onnxruntimedev/Release/onnx_test_runner /data/onnx
fi