diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/gemmlowp | |
Diffstat (limited to 'vcpkg/ports/gemmlowp')
| -rw-r--r-- | vcpkg/ports/gemmlowp/portfile.cmake | 22 | ||||
| -rw-r--r-- | vcpkg/ports/gemmlowp/vcpkg.json | 17 |
2 files changed, 39 insertions, 0 deletions
diff --git a/vcpkg/ports/gemmlowp/portfile.cmake b/vcpkg/ports/gemmlowp/portfile.cmake new file mode 100644 index 0000000..7a58537 --- /dev/null +++ b/vcpkg/ports/gemmlowp/portfile.cmake @@ -0,0 +1,22 @@ +if(NOT VCPKG_TARGET_IS_WINDOWS) + vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY) +endif() + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO google/gemmlowp + REF daf630d3d0c439dbe22229838a5ba1bc5f82908d + SHA512 8d1a422bbf2495dcec1c30147bc96d0a2ca494220a45050937f84567c3352cd8916f07d1bbab68c8d36ae7ce3e9b8bee8b518900e21967a3185bf7ff25812785 + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}/contrib" + OPTIONS + -DBUILD_TESTING=OFF +) +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}") + +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") diff --git a/vcpkg/ports/gemmlowp/vcpkg.json b/vcpkg/ports/gemmlowp/vcpkg.json new file mode 100644 index 0000000..329fa11 --- /dev/null +++ b/vcpkg/ports/gemmlowp/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "gemmlowp", + "version-date": "2021-09-28", + "description": "Low-precision matrix multiplication", + "homepage": "https://github.com/google/gemmlowp", + "license": "Apache-2.0", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |