vcpkg/ports/clblast/portfile.cmake
Jia Yue Hua 3b23b4e9e9
[clblast] update to 1.6.1 (#34081)
* [clblast] update to 1.6.1

* [clblast] update to 1.6.1
2023-09-28 22:27:58 -07:00

26 lines
712 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO CNugteren/CLBlast
REF "${VERSION}"
SHA512 3114b2499f13a8b12dc5dfaf3633d4a25c953da63bea3c2f09a99699ee49239c28a1db0033619ef74234af56068f94413aae8c721d1af6114b862670a32cdb8d
HEAD_REF master
PATCHES
fix_install_path.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DTUNERS=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/CLBlast)
vcpkg_copy_pdbs()
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)