Fix build issues in the Python Packaging pipelines. (#3725)

This commit is contained in:
edgchen1 2020-04-28 08:41:37 -07:00 committed by GitHub
parent 1bcfd49918
commit 1356215bd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View file

@ -1,9 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// needs to be included first to get around onnxruntime\cmake\external\onnx\onnx/common/constants.h(14): error C2513: 'bool': no variable declared before '='
#include "core/framework/tensorprotoutils.h"
#include "onnxruntime_pybind_mlvalue.h"
#define NO_IMPORT_ARRAY

View file

@ -1,9 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// needs to be included first to get around onnxruntime\cmake\external\onnx\onnx/common/constants.h(14): error C2513: 'bool': no variable declared before '='
#include "core/framework/tensorprotoutils.h"
#include "python/onnxruntime_pybind_exceptions.h"
#include "python/onnxruntime_pybind_mlvalue.h"
#include "python/onnxruntime_pybind_state_common.h"
@ -14,6 +11,7 @@
#include "core/framework/data_transfer_utils.h"
#include "core/framework/data_types_internal.h"
#include "core/framework/tensorprotoutils.h"
#include "core/graph/graph_viewer.h"
#include "core/common/logging/logging.h"
#include "core/common/logging/severity.h"
@ -1019,4 +1017,4 @@ onnxruntime::Environment& get_env(){
}
} // namespace python
} // namespace onnxruntime
} // namespace onnxruntime