Skip to content

Commit

Permalink
nanobind 2.1.0 に上げたことでパッチが不要になった
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Aug 14, 2024
1 parent 84e1980 commit dc7751c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 47 deletions.
35 changes: 0 additions & 35 deletions fix_nanobind_nb_func.patch

This file was deleted.

12 changes: 0 additions & 12 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from buildbase import (
Platform,
add_path,
apply_patch,
build_sora,
build_webrtc,
cd,
Expand Down Expand Up @@ -157,17 +156,6 @@ def install_deps(
}
install_openh264(**install_openh264_args)

# nanobind にパッチを適用する
nanobind_include_dir = cmdcap([sys.executable, "-m", "nanobind", "--include_dir"])
if not os.path.exists(os.path.join(nanobind_include_dir, "nanobind", "nb_func.h.old")):
shutil.copyfile(
os.path.join(nanobind_include_dir, "nanobind", "nb_func.h"),
os.path.join(nanobind_include_dir, "nanobind", "nb_func.h.old"),
)
patch = os.path.join(BASE_DIR, "fix_nanobind_nb_func.patch")
with cd(nanobind_include_dir):
apply_patch(patch, nanobind_include_dir, 1)


AVAILABLE_TARGETS = [
"windows_x86_64",
Expand Down

0 comments on commit dc7751c

Please sign in to comment.