mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Fix incorrect target name
Now updating the arch variable after matching for tar file.
This commit is contained in:
parent
573e440d35
commit
e076f3a125
1 changed files with 3 additions and 1 deletions
|
|
@ -66,11 +66,13 @@ def generate_file_list_for_ep(nuget_artifacts_dir, ep, files_list):
|
|||
if child_file.is_file() and child_file.suffix == '.dylib' and not is_versioned_dylib:
|
||||
files_list.append('<file src="' + str(child_file) +
|
||||
'" target="runtimes/osx.10.14-%s/native"/>' % cpu_arch)
|
||||
for cpu_arch in ['x64', 'arm64']:
|
||||
for cpu_arch in ['x64', 'aarch64']:
|
||||
if child.name == get_package_name('linux', cpu_arch, ep):
|
||||
child = child / 'lib'
|
||||
if cpu_arch == 'x86_64':
|
||||
cpu_arch = 'x64'
|
||||
elif cpu_arch == 'aarch64':
|
||||
cpu_arch = 'arm64'
|
||||
for child_file in child.iterdir():
|
||||
if not child_file.is_file():
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in a new issue