mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-30 03:37:44 +00:00
Only set _native folder for Microsoft.AI.MachineLearning package (#6939)
* only set _native folder for Microsoft.AI.MachineLearning package Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
This commit is contained in:
parent
bc27652188
commit
67c67408c4
2 changed files with 7 additions and 2 deletions
|
|
@ -216,9 +216,14 @@ def generate_files(list, args):
|
|||
copy_command = "cp"
|
||||
runtimes_target = '" target="runtimes\\linux-'
|
||||
|
||||
if is_windowsai_package:
|
||||
runtimes_native_folder = '_native'
|
||||
else:
|
||||
runtimes_native_folder = 'native'
|
||||
|
||||
runtimes = '{}{}\\{}"'.format(runtimes_target,
|
||||
args.target_architecture,
|
||||
'lib\\uap10.0' if args.is_store_build else '_native')
|
||||
'lib\\uap10.0' if args.is_store_build else runtimes_native_folder)
|
||||
|
||||
# Process headers
|
||||
files_list.append('<file src=' + '"' + os.path.join(args.sources_path,
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ def main():
|
|||
|
||||
# Check if the relevant dlls are present in the Nuget/Zip
|
||||
print('Checking if the Nuget contains relevant dlls')
|
||||
is_windows_ai_package = os.path.basename(full_nuget_path).startswith('Microsoft')
|
||||
is_windows_ai_package = os.path.basename(full_nuget_path).startswith('Microsoft.AI.MachineLearning')
|
||||
check_if_dlls_are_present(is_windows_ai_package, args.platforms_supported, zip_file)
|
||||
|
||||
# Check if the Nuget has been signed
|
||||
|
|
|
|||
Loading…
Reference in a new issue