Skip to content

Commit

Permalink
symlink correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
vraspar committed Jul 29, 2024
1 parent 633ae76 commit 2e790c6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tools/ci_build/github/apple/build_apple_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,12 @@ def _build_for_apple_sysroot(

# create the symbolic link
pathlib.Path(os.path.join(framework_dir, "Versions", "Current")).symlink_to("A", target_is_directory=True)
pathlib.Path(os.path.join(framework_dir, "Headers")).symlink_to("Versions/Current/Headers")
pathlib.Path(os.path.join(framework_dir, "Resources")).symlink_to("Versions/Current/Resources")
pathlib.Path(os.path.join(framework_dir, "Headers")).symlink_to(
"Versions/Current/Headers", target_is_directory=True
)
pathlib.Path(os.path.join(framework_dir, "Resources")).symlink_to(
"Versions/Current/Resources", target_is_directory=True
)
pathlib.Path(os.path.join(framework_dir, "onnxruntime")).symlink_to("Versions/Current/onnxruntime")

else:
Expand Down

0 comments on commit 2e790c6

Please sign in to comment.