[onednn] Disable docs, examples and tests. (#40856)

This commit is contained in:
paoldev 2024-09-10 05:44:40 +02:00 committed by GitHub
parent d881308c04
commit 3f39a49026
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 2 deletions

View File

@ -13,6 +13,9 @@ endif()
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${DNNL_OPTIONS}
-DDNNL_BUILD_DOC=OFF
-DDNNL_BUILD_EXAMPLES=OFF
-DDNNL_BUILD_TESTS=OFF
)
vcpkg_cmake_install()
@ -21,6 +24,5 @@ vcpkg_cmake_config_fixup(PACKAGE_NAME dnnl CONFIG_PATH lib/cmake/dnnl)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/doc/dnnl/reference/html")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,6 +1,7 @@
{
"name": "onednn",
"version": "3.5.3",
"port-version": 1,
"description": "oneAPI Deep Neural Network Library (oneDNN)",
"homepage": "https://github.com/oneapi-src/oneDNN",
"license": "Apache-2.0",

View File

@ -6498,7 +6498,7 @@
},
"onednn": {
"baseline": "3.5.3",
"port-version": 0
"port-version": 1
},
"oniguruma": {
"baseline": "6.9.7.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "3f7e47f97bc658f31fef1558c67f80993cc41269",
"version": "3.5.3",
"port-version": 1
},
{
"git-tree": "95af2680791b8c27b837d21867822c2904dd3b7f",
"version": "3.5.3",