Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
sherpaonnx
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Fangjun Kuang
2024-10-29 17:00:39 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2024-10-29 17:00:39 +0800
Commit
d9f65c984009faa3c958cd750d6d3f1d9208251b
d9f65c98
1 parent
d9c586cc
Update pybind11 to support numpy 2.0 (#1493)
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
8 行增加
和
8 行删除
cmake/pybind11.cmake
cmake/pybind11.cmake
查看文件 @
d9f65c9
function
(
download_pybind11
)
include
(
FetchContent
)
set
(
pybind11_URL
"https://github.com/pybind/pybind11/archive/refs/tags/v2.10.2.tar.gz"
)
set
(
pybind11_URL2
"https://hf-mirror.com/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/pybind11-2.10.2.tar.gz"
)
set
(
pybind11_HASH
"SHA256=93bd1e625e43e03028a3ea7389bba5d3f9f2596abc074b068e70f4ef9b1314ae"
)
set
(
pybind11_URL
"https://github.com/pybind/pybind11/archive/refs/tags/v2.12.0.tar.gz"
)
set
(
pybind11_URL2
"https://hf-mirror.com/csukuangfj/sherpa-onnx-cmake-deps/resolve/main/pybind11-2.12.0.tar.gz"
)
set
(
pybind11_HASH
"SHA256=bf8f242abd1abcd375d516a7067490fb71abd79519a282d22b6e4d19282185a7"
)
# If you don't have access to the Internet,
# please pre-download pybind11
set
(
possible_file_locations
$ENV{HOME}/Downloads/pybind11-2.10.2.tar.gz
${
CMAKE_SOURCE_DIR
}
/pybind11-2.10.2.tar.gz
${
CMAKE_BINARY_DIR
}
/pybind11-2.10.2.tar.gz
/tmp/pybind11-2.10.2.tar.gz
/star-fj/fangjun/download/github/pybind11-2.10.2.tar.gz
$ENV{HOME}/Downloads/pybind11-2.12.0.tar.gz
${
CMAKE_SOURCE_DIR
}
/pybind11-2.12.0.tar.gz
${
CMAKE_BINARY_DIR
}
/pybind11-2.12.0.tar.gz
/tmp/pybind11-2.12.0.tar.gz
/star-fj/fangjun/download/github/pybind11-2.12.0.tar.gz
)
foreach
(
f IN LISTS possible_file_locations
)
...
...
请
注册
或
登录
后发表评论