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 4f8d062 commit 382a43d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/ci_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1204,13 +1204,13 @@ def generate_build_tree(
else:
raise BuildError("unknown python arch")
elif is_macOS():
for kvp in cmake_extra_args:
for kvp in cmake_extra_defines:
parts = kvp.split("=")
if len(parts) !=2:
continue
key = parts[0]
value = parts[1]
if key == "-DCMAKE_OSX_ARCHITECTURES" and len(value.split(";")) == 2:
if key == "CMAKE_OSX_ARCHITECTURES" and len(value.split(";")) == 2:
triplet = "universal2-osx"
if triplet:
log.info(f"setting target triplet to {triplet}")
Expand Down

0 comments on commit 382a43d

Please sign in to comment.