-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mdspan] Add new port for kokkos/mdspan (#21170)
* [mdspan] Add new port for kokkos/mdspan * [mdspan] Update versions files * [mdspan] Use recent stable branch instead of tag for REF * [mdspan] Update versions files * Apply suggestions from code review [mdspan] accept all reviewer's suggested changes Co-authored-by: NancyLi1013 <[email protected]> * Update ports/mdspan/vcpkg.json [mdspan] Better description * [mdspan] noideadog, re-running: ./vcpkg x-add-version --all --overwrite-version Co-authored-by: NancyLi1013 <[email protected]>
- Loading branch information
1 parent
9915f08
commit f688b48
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO kokkos/mdspan | ||
REF aced2cebd362a1e15830da030bd16748131d28bd # stable as of 2021-11-03 | ||
SHA512 a1950430be537497fb84c4a8c5e681cacead93512775098f38ea6c1a20b95d0f7110d9d0802fbdcf8ce3c40ade766cc697773f6ea6fcf8c363b3ebee55620f7c | ||
HEAD_REF stable | ||
) | ||
|
||
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}") | ||
|
||
vcpkg_cmake_install() | ||
|
||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/mdspan) | ||
|
||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib" "${CURRENT_PACKAGES_DIR}/debug") | ||
|
||
vcpkg_copy_pdbs() | ||
|
||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "mdspan", | ||
"version-date": "2021-11-03", | ||
"description": "A non-owning multi-dimensional array reference type.", | ||
"homepage": "https://github.com/kokkos/mdspan", | ||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "3e312b5c0220a832b0deebd7478f044481ebe79c", | ||
"version-date": "2021-11-03", | ||
"port-version": 0 | ||
} | ||
] | ||
} |