aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormyd7349 <myd7349@gmail.com>2019-06-09 09:44:08 +0800
committerRobert Schumacher <roschuma@microsoft.com>2019-06-08 18:44:07 -0700
commit3afcf4b5a113a296037f32570dd96b259bb81ada (patch)
tree426d1f9fd6929709095f07214edd42a009e4bf26
parente2d5324c5792845520085c4289d63f6d9a7c45ff (diff)
downloadvcpkg-3afcf4b5a113a296037f32570dd96b259bb81ada.tar.gz
vcpkg-3afcf4b5a113a296037f32570dd96b259bb81ada.zip
[simde] Add new port (#6777)
-rw-r--r--ports/simde/CONTROL3
-rw-r--r--ports/simde/portfile.cmake16
2 files changed, 19 insertions, 0 deletions
diff --git a/ports/simde/CONTROL b/ports/simde/CONTROL
new file mode 100644
index 000000000..7f70f4911
--- /dev/null
+++ b/ports/simde/CONTROL
@@ -0,0 +1,3 @@
+Source: simde
+Version: 2019-06-05
+Description: Implementations of SIMD instruction sets for systems which don't natively support them
diff --git a/ports/simde/portfile.cmake b/ports/simde/portfile.cmake
new file mode 100644
index 000000000..e79594ace
--- /dev/null
+++ b/ports/simde/portfile.cmake
@@ -0,0 +1,16 @@
+# header-only library
+
+include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO nemequ/simde
+ REF 6e3ba90605361069cf3422c44242c79171b87275
+ SHA512 d62ff40882c2b3a17c900104b36ae77137cbb77917d409cba1c0693fdcf317a38ff3184deaaecca0ef31d88393bebf0102a8ab57a23ad5d0cee2d3e5fe799f6a
+ HEAD_REF master
+)
+
+file(COPY ${SOURCE_PATH}/simde DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+# Handle copyright
+configure_file(${SOURCE_PATH}/COPYING ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)