Skip to content

Commit

Permalink
Patch missing python header issue in pybind11 v2.6.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
xkszltl committed Nov 3, 2020
1 parent 8a58655 commit 20513f5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pkgs/pybind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@

# ------------------------------------------------------------

# Pin to v2.5 due to Python.h not found when used by downstream.
# https://github.com/pybind/pybind11/issues/2632
. "$ROOT_DIR/pkgs/utils/git/version.sh" pybind/pybind11,v2.5
until git clone --depth 1 --single-branch -b "$GIT_TAG" "$GIT_REPO"; do echo 'Retrying'; done
. "$ROOT_DIR/pkgs/utils/git/version.sh" pybind/pybind11,v
until git clone --single-branch -b "$GIT_TAG" "$GIT_REPO"; do echo 'Retrying'; done
cd pybind11

# Patch missing python header issue in v2.6.0
# https://github.com/pybind/pybind11/pull/2636
git fetch master
git cherry-pick b8dc60e

. "$ROOT_DIR/pkgs/utils/git/submodule.sh"

git remote add patch 'https://github.com/xkszltl/pybind11.git'
Expand Down

0 comments on commit 20513f5

Please sign in to comment.