Skip to content

add missing build dependency for onnxruntime_providers_webgpu#23324

Merged
snnn merged 1 commit intomainfrom
fs-eire/webgpu-add-missing-deps
Jan 11, 2025
Merged

add missing build dependency for onnxruntime_providers_webgpu#23324
snnn merged 1 commit intomainfrom
fs-eire/webgpu-add-missing-deps

Conversation

@fs-eire
Copy link
Contributor

@fs-eire fs-eire commented Jan 10, 2025

Description

Fixes build when specify with flag --target onnxruntime_providers_webgpu

Otherwise the following error will occur:

  range.cc
D:\code\onnxruntime\build\Windows\Debug\_deps\onnx-src\onnx\onnx_pb.h(65,10): error C1083: Cannot open include file: 'o
nnx/onnx-ml.pb.h': No such file or directory [D:\code\onnxruntime\build\Windows\Debug\onnxruntime_providers_webgpu.vcxp
roj]
  (compiling source file '../../../onnxruntime/core/providers/webgpu/math/binary_elementwise_ops.cc')

@snnn snnn merged commit a74817a into main Jan 11, 2025
98 checks passed
@snnn snnn deleted the fs-eire/webgpu-add-missing-deps branch January 11, 2025 02:07
guschmue pushed a commit that referenced this pull request Jan 12, 2025
### Description

Fixes build when specify with flag `--target
onnxruntime_providers_webgpu`

Otherwise the following error will occur:
```
  range.cc
D:\code\onnxruntime\build\Windows\Debug\_deps\onnx-src\onnx\onnx_pb.h(65,10): error C1083: Cannot open include file: 'o
nnx/onnx-ml.pb.h': No such file or directory [D:\code\onnxruntime\build\Windows\Debug\onnxruntime_providers_webgpu.vcxp
roj]
  (compiling source file '../../../onnxruntime/core/providers/webgpu/math/binary_elementwise_ops.cc')
```
ashrit-ms pushed a commit that referenced this pull request Mar 17, 2025
### Description

Fixes build when specify with flag `--target
onnxruntime_providers_webgpu`

Otherwise the following error will occur:
```
  range.cc
D:\code\onnxruntime\build\Windows\Debug\_deps\onnx-src\onnx\onnx_pb.h(65,10): error C1083: Cannot open include file: 'o
nnx/onnx-ml.pb.h': No such file or directory [D:\code\onnxruntime\build\Windows\Debug\onnxruntime_providers_webgpu.vcxp
roj]
  (compiling source file '../../../onnxruntime/core/providers/webgpu/math/binary_elementwise_ops.cc')
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants