From 3f39a49026a869fc35cbcff0e280bc4f75ccbb9f Mon Sep 17 00:00:00 2001 From: paoldev <55021433+paoldev@users.noreply.github.com> Date: Tue, 10 Sep 2024 05:44:40 +0200 Subject: [PATCH] [onednn] Disable docs, examples and tests. (#40856) --- ports/onednn/portfile.cmake | 4 +++- ports/onednn/vcpkg.json | 1 + versions/baseline.json | 2 +- versions/o-/onednn.json | 5 +++++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ports/onednn/portfile.cmake b/ports/onednn/portfile.cmake index c3bed4de51..a97a610f01 100644 --- a/ports/onednn/portfile.cmake +++ b/ports/onednn/portfile.cmake @@ -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") diff --git a/ports/onednn/vcpkg.json b/ports/onednn/vcpkg.json index fae4d960b1..e5868569ea 100644 --- a/ports/onednn/vcpkg.json +++ b/ports/onednn/vcpkg.json @@ -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", diff --git a/versions/baseline.json b/versions/baseline.json index 83f23c7620..f2a6f5d8d9 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6498,7 +6498,7 @@ }, "onednn": { "baseline": "3.5.3", - "port-version": 0 + "port-version": 1 }, "oniguruma": { "baseline": "6.9.7.1", diff --git a/versions/o-/onednn.json b/versions/o-/onednn.json index 5cfff80ee5..6c664f922b 100644 --- a/versions/o-/onednn.json +++ b/versions/o-/onednn.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "3f7e47f97bc658f31fef1558c67f80993cc41269", + "version": "3.5.3", + "port-version": 1 + }, { "git-tree": "95af2680791b8c27b837d21867822c2904dd3b7f", "version": "3.5.3",