aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)