aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorPark DongHa <luncliff@gmail.com>2021-09-18 01:18:36 +0900
committerGitHub <noreply@github.com>2021-09-17 09:18:36 -0700
commit4428702c1c56fdb7cb779584efdcba254d7b57ca (patch)
tree43e8479670c2bf298f51b6df884e6fff90747b09 /ports
parentf996942b832328dd830cb56b372f7348d2864667 (diff)
downloadvcpkg-4428702c1c56fdb7cb779584efdcba254d7b57ca.tar.gz
vcpkg-4428702c1c56fdb7cb779584efdcba254d7b57ca.zip
[neon2sse] create a new port (#20200)
* [neon2sse] create a new port * [neon2sse] update baseline JSON * [neon2sse] use package name NEON2_S_SE
Diffstat (limited to 'ports')
-rw-r--r--ports/neon2sse/portfile.cmake18
-rw-r--r--ports/neon2sse/vcpkg.json16
2 files changed, 34 insertions, 0 deletions
diff --git a/ports/neon2sse/portfile.cmake b/ports/neon2sse/portfile.cmake
new file mode 100644
index 000000000..477e109a0
--- /dev/null
+++ b/ports/neon2sse/portfile.cmake
@@ -0,0 +1,18 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO intel/ARM_NEON_2_x86_SSE
+ REF a1652fd5253afbf3e39357b012974f93511f6108
+ SHA512 9f8aa283e48eb3b615da3d89ec4165d1ec9599e8e181059c2b9acb2921ce753ce0f29b8c321d7d6661f10eb67e234c629df75853b87c4139a9bb137dbb3f4fc1
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(PACKAGE_NAME NEON_2_SSE CONFIG_PATH lib/cmake/NEON_2_SSE)
+
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug"
+ "${CURRENT_PACKAGES_DIR}/lib"
+)
diff --git a/ports/neon2sse/vcpkg.json b/ports/neon2sse/vcpkg.json
new file mode 100644
index 000000000..c705b9ede
--- /dev/null
+++ b/ports/neon2sse/vcpkg.json
@@ -0,0 +1,16 @@
+{
+ "name": "neon2sse",
+ "version-date": "2021-09-16",
+ "description": "Open standard for machine learning interoperability",
+ "homepage": "https://github.com/intel/ARM_NEON_2_x86_SSE",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}