From a18872ffa2d35dddf2ff8f2713f898cad7acfc41 Mon Sep 17 00:00:00 2001 From: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> Date: Wed, 26 Jul 2023 02:08:13 +0800 Subject: [PATCH] [halide] update to 16.0.0 (#32661) --- ports/halide/portfile.cmake | 10 ++++------ ports/halide/vcpkg.json | 3 +-- versions/baseline.json | 4 ++-- versions/h-/halide.json | 5 +++++ 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/ports/halide/portfile.cmake b/ports/halide/portfile.cmake index 49ec9e99a0..34e9f9ba5f 100644 --- a/ports/halide/portfile.cmake +++ b/ports/halide/portfile.cmake @@ -1,13 +1,11 @@ vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY) -set(HALIDE_VERSION_TAG v${VERSION}) - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO halide/Halide - REF ${HALIDE_VERSION_TAG} - SHA512 918cd0a7e69e4414b98f17c5ec5cdb543ce3ae68ed07c9a80b7c0378c247a4a4fde62ade79b402e9ffcfce30c066a3fa662ea46c3a2a5b93eb5ec4e05b3fd808 - HEAD_REF release/15.x + REF "v${VERSION}" + SHA512 4fc5253ad0e8fca2fd347ef139c8c150e2fb5dd2351da2b13adb9e00530a9d55943bc4952c1d42706a9ffbb57f81ed2854536d9e2f32dfab0dfc741696cc7e61 + HEAD_REF main ) vcpkg_check_features( @@ -65,5 +63,5 @@ vcpkg_cmake_config_fixup(PACKAGE_NAME HalideHelpers) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") -file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt") configure_file("${CMAKE_CURRENT_LIST_DIR}/usage.in" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" @ONLY) diff --git a/ports/halide/vcpkg.json b/ports/halide/vcpkg.json index 57a4ff2dea..c1762d39f3 100644 --- a/ports/halide/vcpkg.json +++ b/ports/halide/vcpkg.json @@ -1,7 +1,6 @@ { "name": "halide", - "version": "15.0.0", - "port-version": 1, + "version": "16.0.0", "description": "Halide is a programming language designed to make it easier to write high-performance image and array processing code on modern machines.", "homepage": "https://github.com/halide/Halide", "license": "MIT", diff --git a/versions/baseline.json b/versions/baseline.json index 2f929a7a58..0ed27a5ee4 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3101,8 +3101,8 @@ "port-version": 3 }, "halide": { - "baseline": "15.0.0", - "port-version": 1 + "baseline": "16.0.0", + "port-version": 0 }, "happly": { "baseline": "2021-03-19", diff --git a/versions/h-/halide.json b/versions/h-/halide.json index 2b7f677488..d6810381c6 100644 --- a/versions/h-/halide.json +++ b/versions/h-/halide.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "be8971ecbab0879a1db7aedfec5095c0d1d942b3", + "version": "16.0.0", + "port-version": 0 + }, { "git-tree": "747567f07492ad16950a115456d31ba746a3bd10", "version": "15.0.0",