mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-26 19:52:38 +00:00
Fix build issues in the Python Packaging pipelines. (#3725)
This commit is contained in:
parent
1bcfd49918
commit
1356215bd0
2 changed files with 2 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue