From beb7de99fd4a4d88a4cc808faf4c3fe8f4ea0499 Mon Sep 17 00:00:00 2001 From: Park DongHa Date: Thu, 16 Nov 2023 08:42:11 +0900 Subject: [PATCH] [coreml-tools] More candidates for `site-packages` folder (#128) * [coreml-tools] fix site-packages search * [coreml-tools] update baseline --- ports/coreml-tools/portfile.cmake | 2 ++ ports/coreml-tools/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/c-/coreml-tools.json | 5 +++++ 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ports/coreml-tools/portfile.cmake b/ports/coreml-tools/portfile.cmake index 59124dcc..29e4d380 100644 --- a/ports/coreml-tools/portfile.cmake +++ b/ports/coreml-tools/portfile.cmake @@ -32,6 +32,8 @@ find_path(SITE_PACKAGES_DIR PATHS "${PYTHON_ROOT}/lib/python3.9/site-packages" "${PYTHON_ROOT}/lib/python3.10/site-packages" "${PYTHON_ROOT}/lib/python3.11/site-packages" + "${PYTHON_ROOT}/lib/python3.12/site-packages" + "${PYTHON_ROOT}/Lib/site-packages" REQUIRED ) message(STATUS " site-packages: ${SITE_PACKAGES_DIR}") diff --git a/ports/coreml-tools/vcpkg.json b/ports/coreml-tools/vcpkg.json index 9a26ca05..3b2c7a70 100644 --- a/ports/coreml-tools/vcpkg.json +++ b/ports/coreml-tools/vcpkg.json @@ -1,7 +1,7 @@ { "name": "coreml-tools", "version": "6.1", - "port-version": 2, + "port-version": 3, "description": "CPU INFOrmation library (x86/x86-64/ARM/ARM64, Linux/Windows/Android/macOS/iOS)", "homepage": "https://github.com/apple/coremltools", "license": "BSD-3-Clause", diff --git a/versions/baseline.json b/versions/baseline.json index bc88a013..489e2032 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -14,7 +14,7 @@ }, "coreml-tools": { "baseline": "6.1", - "port-version": 2 + "port-version": 3 }, "cpuinfo": { "baseline": "2023-09-12", diff --git a/versions/c-/coreml-tools.json b/versions/c-/coreml-tools.json index 7ec8faf7..6bf9d832 100644 --- a/versions/c-/coreml-tools.json +++ b/versions/c-/coreml-tools.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "fd52e153ea8b3fc2691fd49a8ab0315f2e5b89d2", + "version": "6.1", + "port-version": 3 + }, { "git-tree": "d29002eb2841d87dbd8fcdc5dca8e5472cf94b5e", "version": "6.1",