已合并
[2.7.1]add .h in utils for extension #30939
daifu1234567创建于 2月14日
[2.7.1]add .h in utils for extension #30939
已合并
共 1 个文件变更+3-0
| @@ -407,6 +407,9 @@ def add_ops_files(base_dir, file_list): | |||
| 407 | plugin_path = os.path.join(base_dir, 'third_party/op-plugin/op_plugin/include') | 407 | plugin_path = os.path.join(base_dir, 'third_party/op-plugin/op_plugin/include') |
| 408 | if os.path.exists(plugin_path): | 408 | if os.path.exists(plugin_path): |
| 409 | file_list.append('third_party/op-plugin/op_plugin/include/*.h') | 409 | file_list.append('third_party/op-plugin/op_plugin/include/*.h') |
| 410 | + plugin_utils_path = os.path.join(base_dir, 'third_party/op-plugin/op_plugin/utils') | ||
| 411 | + if os.path.exists(plugin_utils_path): | ||
| 412 | + file_list.append('third_party/op-plugin/op_plugin/utils/*.h') | ||
| 410 | return | 413 | return |
| 411 | 414 | ||
| 412 | 415 | ||