aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/kleidiai
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/kleidiai
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/kleidiai')
-rw-r--r--vcpkg/ports/kleidiai/portfile.cmake31
-rw-r--r--vcpkg/ports/kleidiai/vcpkg.json18
2 files changed, 49 insertions, 0 deletions
diff --git a/vcpkg/ports/kleidiai/portfile.cmake b/vcpkg/ports/kleidiai/portfile.cmake
new file mode 100644
index 0000000..bbaedbe
--- /dev/null
+++ b/vcpkg/ports/kleidiai/portfile.cmake
@@ -0,0 +1,31 @@
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO ARM-software/kleidiai
+ REF "v${VERSION}"
+ SHA512 793bb36aaf32f72f78e87cea4f9971f75d160b8a18e5a06e4c234c6cb7a736fb359a80e3be56b91b265b5e478e52c277b9dfd405633012d26bcf5692e52051c3
+ HEAD_REF main
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ WINDOWS_USE_MSBUILD
+ OPTIONS
+ -DKLEIDIAI_BUILD_TESTS=OFF
+ -DKLEIDIAI_BUILD_BENCHMARK=OFF
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(
+ CONFIG_PATH "lib/cmake/KleidiAI"
+)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") # Avoids empty debug folder in the zip.
+
+file(GLOB LICENSE_FILES
+ "${SOURCE_PATH}/LICENSES/*"
+)
+vcpkg_install_copyright(
+ FILE_LIST ${LICENSE_FILES}
+)
diff --git a/vcpkg/ports/kleidiai/vcpkg.json b/vcpkg/ports/kleidiai/vcpkg.json
new file mode 100644
index 0000000..d2f5d30
--- /dev/null
+++ b/vcpkg/ports/kleidiai/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "kleidiai",
+ "version-semver": "1.8.0",
+ "description": "Arm's KleidiAI library for efficient neural network inference.",
+ "homepage": "https://github.com/ARM-software/kleidiai",
+ "license": "Apache-2.0 OR BSD-3-Clause",
+ "supports": "arm64",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}