Skip to content

Commit

Permalink
Fixed the broken Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Avijit committed Feb 20, 2025
1 parent 2f1857f commit 50228db
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/slm_engine/build_scripts/build_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,15 @@ def build_ort(args):
# Remove the include/onnxruntime directory
shutil.rmtree("include/onnxruntime")

# If we are on Windows - then we need to copy the .dll files to the
# lib directory as well
if platform.system() == "Windows":
copy_files_keeping_symlinks(
glob.glob(f"bin/*.dll"),
f"lib",
)


# Back to the original directory
os.chdir(current_dir)
os.chdir("../../../")
Expand Down

0 comments on commit 50228db

Please sign in to comment.