- if not Is_windows and arch == 'arm64' :
- fx_arm64_native = os.path.join(fx_root,
- 'bin',
- '%s.%s.%s' % (clr_os, 'arm64', 'Release'),
- 'native')
- log('Copying CoreFx Arm64 Native libraries: %s => %s' % (fx_arm64_native, fx_runtime))
- copy_files(fx_arm64_native, fx_runtime)
-
- # Replace dotnet binary with corerun softlink, to make run-test.sh work as is on ARM64 platform
- # with the built runtime.
- dotnet_base= os.path.join(fx_root,'bin','testhost', 'netcoreapp-%s-%s-%s' % (clr_os, 'Release', arch))
- os.remove(os.path.join(dotnet_base,'dotnet'))
- os.chdir(dotnet_base)
- os.symlink(os.path.join('shared','Microsoft.NETCore.App','9.9.9','corerun'), 'dotnet')
- os.chdir(fx_root)
-