forked from conda-forge/tokenizers-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch in pyo3 req to deal with cross compilation
See PyO3/pyo3#1847 (comment) Commit based on conda-forge/cryptography-feedstock@4f84d62
- Loading branch information
1 parent
b551f5f
commit 5edb060
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
recipe/patches/0001-Use-pyo3-0.15.0-to-fix-cross-compilation.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From 150de46911e81a1d5bf69b3219967a8a3f0fcf7f Mon Sep 17 00:00:00 2001 | ||
From: "H. Vetinari" <[email protected]> | ||
Date: Mon, 21 Mar 2022 16:51:09 +1100 | ||
Subject: [PATCH] Use pyo3 0.15.0 to fix cross-compilation | ||
|
||
--- | ||
tokenizers/Cargo.toml | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/tokenizers/Cargo.toml b/tokenizers/Cargo.toml | ||
index 7953f36..581b729 100644 | ||
--- a/tokenizers/Cargo.toml | ||
+++ b/tokenizers/Cargo.toml | ||
@@ -34,6 +34,7 @@ name = "bert_benchmark" | ||
harness = false | ||
|
||
[dependencies] | ||
+pyo3 = { version = "0.15.0" } | ||
lazy_static = "1.4" | ||
rand = "0.7" | ||
onig = { version = "6.0", default-features = false } | ||
-- | ||
2.35.1.windows.2 | ||
|