aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/mpi
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/mpi')
-rw-r--r--vcpkg/ports/mpi/portfile.cmake7
-rw-r--r--vcpkg/ports/mpi/vcpkg.json18
2 files changed, 25 insertions, 0 deletions
diff --git a/vcpkg/ports/mpi/portfile.cmake b/vcpkg/ports/mpi/portfile.cmake
new file mode 100644
index 0000000..41000ce
--- /dev/null
+++ b/vcpkg/ports/mpi/portfile.cmake
@@ -0,0 +1,7 @@
+set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
+
+if (VCPKG_TARGET_IS_WINDOWS)
+ file(INSTALL "${CURRENT_INSTALLED_DIR}/share/msmpi/mpi-wrapper.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME vcpkg-cmake-wrapper.cmake)
+else()
+ file(INSTALL "${CURRENT_INSTALLED_DIR}/share/openmpi/mpi-wrapper.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME vcpkg-cmake-wrapper.cmake)
+endif()
diff --git a/vcpkg/ports/mpi/vcpkg.json b/vcpkg/ports/mpi/vcpkg.json
new file mode 100644
index 0000000..ccd1749
--- /dev/null
+++ b/vcpkg/ports/mpi/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "mpi",
+ "version": "1",
+ "port-version": 5,
+ "description": "Message Passing Interface (MPI) is a standardized and portable message-passing standard designed by a group of researchers from academia and industry to function on a wide variety of parallel computing architectures. The standard defines the syntax and semantics of a core of library routines useful to a wide range of users writing portable message-passing programs in C, C++, and Fortran. There are several well-tested and efficient implementations of MPI, many of which are open-source or in the public domain.",
+ "license": null,
+ "supports": "!uwp",
+ "dependencies": [
+ {
+ "name": "msmpi",
+ "platform": "windows"
+ },
+ {
+ "name": "openmpi",
+ "platform": "!windows"
+ }
+ ]
+}