summaryrefslogtreecommitdiff
path: root/candle-pyo3/build.rs
diff options
context:
space:
mode:
authorLaurent Mazare <laurent.mazare@gmail.com>2023-08-05 14:53:57 +0100
committerGitHub <noreply@github.com>2023-08-05 14:53:57 +0100
commit0b175fcbbdbe7ca768b7beaca64ddf699f35a25b (patch)
treed6a69778b9d61874db598ad8d512c5833342b7c1 /candle-pyo3/build.rs
parent620f83cf66073f033d1fdc9846123c155422677e (diff)
downloadcandle-0b175fcbbdbe7ca768b7beaca64ddf699f35a25b.tar.gz
candle-0b175fcbbdbe7ca768b7beaca64ddf699f35a25b.tar.bz2
candle-0b175fcbbdbe7ca768b7beaca64ddf699f35a25b.zip
Fix the pyo3 build for macos. (#324)
* Fix the pyo3 build for macos. * rustfmt fix.
Diffstat (limited to 'candle-pyo3/build.rs')
-rw-r--r--candle-pyo3/build.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/candle-pyo3/build.rs b/candle-pyo3/build.rs
new file mode 100644
index 00000000..dace4a9b
--- /dev/null
+++ b/candle-pyo3/build.rs
@@ -0,0 +1,3 @@
+fn main() {
+ pyo3_build_config::add_extension_module_link_args();
+}