Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Jan 25, 2025
1 parent e11d1a8 commit 4a643dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/ci_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1203,6 +1203,11 @@ def generate_build_tree(
triplet = "arm64ec-windows-static" if args.enable_msvc_static_runtime else "arm64ec-windows-static-md"
else:
raise BuildError("unknown python arch")
elif is_macOS():
for kvp in cmake_extra_args:
key,value = s.split('=')
if key == CMAKE_OSX_ARCHITECTURES and len(value.split(';')) == 2:
triplet = "universal2-osx"
if triplet:
add_default_definition(cmake_extra_defines, "VCPKG_TARGET_TRIPLET", triplet)

Expand Down

0 comments on commit 4a643dd

Please sign in to comment.