Skip to content

Commit

Permalink
OneDNN/dnnl: Fix filepath after dnnl move (#20086)
Browse files Browse the repository at this point in the history
### Description
This adjusts the path used in the nuget script for dnnl to the new
location of the file.

There isn't a CI pipeline for this as far as I can tell, and I can't
easily confirm this change works on master, so please check.

### Motivation and Context
It is currently not possible to build onednn nuget packages. It's
possible that the correct action would be to move the file not fix this
path, but I'm not familiar enough with the repository layout.

---------

Co-authored-by: Tianlei Wu <[email protected]>
  • Loading branch information
tboby and tianleiwu authored Apr 5, 2024
1 parent 4ea54b8 commit 254bdbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/nuget/generate_nuspec_for_native_nuget.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ def generate_files(line_list, args):
files_list.append(
"<file src="
+ '"'
+ os.path.join(args.sources_path, "include\\onnxruntime\\core\\providers\\dnnl\\dnnl_provider_factory.h")
+ os.path.join(args.sources_path, "include\\onnxruntime\\core\\providers\\dnnl\\dnnl_provider_options.h")
+ '" target="build\\native\\include" />'
)

Expand Down

0 comments on commit 254bdbb

Please sign in to comment.