-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nvidia-cudnn-frontend] Create a new port with v1.7.0 (#286)
* https://github.com/NVIDIA/cudnn-frontend/releases/tag/v1.7.0 * ci: test nvidia-cudnn-frontend
- Loading branch information
Showing
5 changed files
with
66 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,28 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO NVIDIA/cudnn-frontend | ||
REF v${VERSION} | ||
SHA512 012aae3d81a92a19b4fd3067c1bf253dbfb820e852edba0150625aa733244d57001eeedf3c0e7382fb3b42dd10f385075c279470208d49199b02d5df45f712b1 | ||
HEAD_REF main | ||
) | ||
|
||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS | ||
FEATURES | ||
test CUDNN_FRONTEND_BUILD_UNIT_TESTS | ||
samples CUDNN_FRONTEND_BUILD_SAMPLES | ||
python CUDNN_FRONTEND_BUILD_PYTHON_BINDINGS | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
${FEATURE_OPTIONS} | ||
-DCUDNN_FRONTEND_SKIP_JSON_LIB=OFF | ||
) | ||
vcpkg_cmake_install() | ||
|
||
file(REMOVE_RECURSE | ||
"${CURRENT_PACKAGES_DIR}/debug" | ||
"${CURRENT_PACKAGES_DIR}/share" | ||
) | ||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt") |
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,24 @@ | ||
{ | ||
"name": "nvidia-cudnn-frontend", | ||
"version-semver": "1.7.0", | ||
"description": "cudnn_frontend provides a c++ wrapper for the cudnn backend API and samples on how to use it", | ||
"homepage": "https://github.com/NVIDIA/cudnn-frontend", | ||
"license": "BSD-3-Clause", | ||
"dependencies": [ | ||
"cuda", | ||
"nlohmann-json", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
} | ||
], | ||
"features": { | ||
"test": { | ||
"description": "Defines if unittests are built or not", | ||
"dependencies": [ | ||
"catch2", | ||
"cudnn" | ||
] | ||
} | ||
} | ||
} |
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
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": "5024d8e5c4202dc667772a42eb80ef3f14f0ea67", | ||
"version-semver": "1.7.0", | ||
"port-version": 0 | ||
} | ||
] | ||
} |