Skip to content

Commit 432cd80

Browse files
Remove unneeded cutlass public build/install dependency (#1411)
CMake users of an installed form of CUVS don't need cutlass, so remove it from our build and install export sets. Authors: - Robert Maynard (https://github.com/robertmaynard) Approvers: - Kyle Edwards (https://github.com/KyleFromNVIDIA) URL: #1411
1 parent 9a2b728 commit 432cd80

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

cpp/cmake/thirdparty/get_cutlass.cmake

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# =============================================================================
2-
# Copyright (c) 2021-2023, NVIDIA CORPORATION.
2+
# Copyright (c) 2021-2025, NVIDIA CORPORATION.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
55
# in compliance with the License. You may obtain a copy of the License at
@@ -58,34 +58,6 @@ function(find_and_configure_cutlass)
5858
add_library(nvidia::cutlass::cutlass ALIAS CUTLASS)
5959
endif()
6060

61-
if(NvidiaCutlass_ADDED)
62-
rapids_export(
63-
BUILD NvidiaCutlass
64-
EXPORT_SET NvidiaCutlass
65-
GLOBAL_TARGETS nvidia::cutlass::cutlass
66-
NAMESPACE nvidia::cutlass::
67-
)
68-
endif()
69-
70-
# We generate the cutlass-config files when we built cutlass locally, so always do
71-
# `find_dependency`
72-
rapids_export_package(
73-
BUILD NvidiaCutlass cuvs-exports GLOBAL_TARGETS nvidia::cutlass::cutlass
74-
)
75-
rapids_export_package(
76-
INSTALL NvidiaCutlass cuvs-exports GLOBAL_TARGETS nvidia::cutlass::cutlass
77-
)
78-
79-
# Tell cmake where it can find the generated NvidiaCutlass-config.cmake we wrote.
80-
include("${rapids-cmake-dir}/export/find_package_root.cmake")
81-
rapids_export_find_package_root(
82-
INSTALL NvidiaCutlass [=[${CMAKE_CURRENT_LIST_DIR}/../]=]
83-
EXPORT_SET cuvs-exports
84-
)
85-
rapids_export_find_package_root(
86-
BUILD NvidiaCutlass [=[${CMAKE_CURRENT_LIST_DIR}]=]
87-
EXPORT_SET cuvs-exports
88-
)
8961
endfunction()
9062

9163
find_and_configure_cutlass()

0 commit comments

Comments
 (0)