mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:09:00 +08:00
[NCCL] Fix usage, add wrapper and install Find module file (#22031)
* fix-find_ncclConfig.cmake * update version * change port-version * update version * update version * update version * update port version * update version Co-authored-by: Frank-Xie <Frank-Xie@Email.com>
This commit is contained in:
parent
c7ea63043c
commit
d7e919b978
@ -1,4 +1,3 @@
|
||||
vcpkg_fail_port_install(ON_TARGET "Windows" "OSX" ON_ARCH "x86" "arm")
|
||||
|
||||
# Find NCCL. We can use FindNCCL directly since it doesn't call any functions
|
||||
# that are disallowed in CMake script mode
|
||||
@ -16,4 +15,6 @@ else()
|
||||
message(FATAL_ERROR "Please install NCCL using your system package manager (the same way you installed CUDA). For example: apt install libnccl2 libnccl-dev.")
|
||||
endif()
|
||||
|
||||
file(INSTALL "${CURRENT_PORT_DIR}/FindNCCL.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
configure_file("${CURRENT_PORT_DIR}/vcpkg-cmake-wrapper.cmake" "${CURRENT_PACKAGES_DIR}/share/${PORT}/vcpkg-cmake-wrapper.cmake" @ONLY)
|
||||
file(INSTALL "${CURRENT_PORT_DIR}/usage" DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "nccl",
|
||||
"version-string": "2.4.6",
|
||||
"port-version": 1,
|
||||
"version": "2.4.6",
|
||||
"port-version": 2,
|
||||
"description": "Optimized primitives for collective multi-GPU communication.",
|
||||
"supports": "linux & x64",
|
||||
"dependencies": [
|
||||
|
@ -4678,7 +4678,7 @@
|
||||
},
|
||||
"nccl": {
|
||||
"baseline": "2.4.6",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"ncurses": {
|
||||
"baseline": "6.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "6f07fdf26f53fd4974ad4cb6d6df430dc28e52aa",
|
||||
"version": "2.4.6",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "c9b172ef032bf322539dab71b19f5dc27b679fd0",
|
||||
"version-string": "2.4.6",
|
||||
|
Loading…
Reference in New Issue
Block a user