-
Notifications
You must be signed in to change notification settings - Fork 223
Update to spdlog>=1.11.0, fmt>=9.1.0. #1177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
876cf91
99bade8
9a197ca
8d4d42a
e5272cb
bc66b58
a69b55d
fd93f45
b7e8154
f15eb0d
2d729f6
62c1bf1
8781eb1
3534fd5
06ec0f1
b3dd596
56fa4d4
dbd525a
2b70941
bcf6e7c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# ============================================================================= | ||
# Copyright (c) 2023, NVIDIA CORPORATION. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | ||
# in compliance with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software distributed under the License | ||
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | ||
# or implied. See the License for the specific language governing permissions and limitations under | ||
# the License. | ||
# ============================================================================= | ||
|
||
# Use CPM to find or clone fmt | ||
function(find_and_configure_fmt) | ||
|
||
include(${rapids-cmake-dir}/cpm/fmt.cmake) | ||
rapids_cpm_fmt(INSTALL_EXPORT_SET rmm-exports BUILD_EXPORT_SET rmm-exports) | ||
endfunction() | ||
|
||
find_and_configure_fmt() |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,14 @@ requirements: | |
- {{ compiler('cuda') }} {{ cuda_version }} | ||
- sysroot_{{ target_platform }} {{ sysroot_version }} | ||
host: | ||
- cudatoolkit {{ cuda_version }}.* | ||
- cudatoolkit ={{ cuda_version }} | ||
# We require spdlog and fmt (which was devendored from spdlog | ||
# conda-forge packages in 1.11.0) so that the spdlog headers are not | ||
# pulled by CPM and installed as a part of the rmm packages. However, | ||
# building against librmm still requires these headers. They are also | ||
# added as a run requirement via the packages' run_exports. | ||
Comment on lines
+28
to
+29
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @kkraus14 Will these be added as a run requirement of both or neither of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm building the package locally now to check. I'm not quite sure the rules on output packages as it's kinda entirely undocumented. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From looking at other recipes, I think we do need to specify them again as There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I can confirm this.
We noticed this behavior when we first consolidated the recipes back in the day. |
||
- fmt {{ fmt_version }} | ||
- spdlog {{ spdlog_version }} | ||
|
||
build: | ||
script_env: | ||
|
@@ -54,6 +61,7 @@ outputs: | |
- cmake {{ cmake_version }} | ||
run: | ||
- cudatoolkit {{ cuda_spec }} | ||
- fmt {{ fmt_version }} | ||
- spdlog {{ spdlog_version }} | ||
bdice marked this conversation as resolved.
Show resolved
Hide resolved
|
||
test: | ||
commands: | ||
|
Uh oh!
There was an error while loading. Please reload this page.