WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 84ab6d0

Browse files
authored
Merge pull request #987 from rapidsai/release/25.12
Forward-merge release/25.12 into main
2 parents 2b95cba + 6c4ca94 commit 84ab6d0

File tree

16 files changed

+1266
-2
lines changed

16 files changed

+1266
-2
lines changed

conda/environments/all_cuda-129_arch-aarch64.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@ dependencies:
1717
- imagecodecs>=2021.6.8
1818
- ipython
1919
- lazy-loader>=0.4
20+
- libnvimgcodec-dev>=0.6.0,<0.7.0
21+
- libnvimgcodec>=0.6.0,<0.7.0
2022
- libnvjpeg-dev
2123
- matplotlib-base>=3.7
2224
- nbsphinx
2325
- ninja
2426
- numpy>=1.23.4,<3.0a0
2527
- numpydoc>=1.7
28+
- nvimgcodec>=0.6.0,<0.7.0
2629
- openslide-python>=1.3.0
2730
- pip
2831
- pooch>=1.6.0

conda/environments/all_cuda-129_arch-x86_64.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,15 @@ dependencies:
1818
- ipython
1919
- lazy-loader>=0.4
2020
- libcufile-dev
21+
- libnvimgcodec-dev>=0.6.0,<0.7.0
22+
- libnvimgcodec>=0.6.0,<0.7.0
2123
- libnvjpeg-dev
2224
- matplotlib-base>=3.7
2325
- nbsphinx
2426
- ninja
2527
- numpy>=1.23.4,<3.0a0
2628
- numpydoc>=1.7
29+
- nvimgcodec>=0.6.0,<0.7.0
2730
- openslide-python>=1.3.0
2831
- pip
2932
- pooch>=1.6.0

conda/environments/all_cuda-130_arch-aarch64.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@ dependencies:
1717
- imagecodecs>=2021.6.8
1818
- ipython
1919
- lazy-loader>=0.4
20+
- libnvimgcodec-dev>=0.6.0,<0.7.0
21+
- libnvimgcodec>=0.6.0,<0.7.0
2022
- libnvjpeg-dev
2123
- matplotlib-base>=3.7
2224
- nbsphinx
2325
- ninja
2426
- numpy>=1.23.4,<3.0a0
2527
- numpydoc>=1.7
28+
- nvimgcodec>=0.6.0,<0.7.0
2629
- openslide-python>=1.3.0
2730
- pip
2831
- pooch>=1.6.0

conda/environments/all_cuda-130_arch-x86_64.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,15 @@ dependencies:
1818
- ipython
1919
- lazy-loader>=0.4
2020
- libcufile-dev
21+
- libnvimgcodec-dev>=0.6.0,<0.7.0
22+
- libnvimgcodec>=0.6.0,<0.7.0
2123
- libnvjpeg-dev
2224
- matplotlib-base>=3.7
2325
- nbsphinx
2426
- ninja
2527
- numpy>=1.23.4,<3.0a0
2628
- numpydoc>=1.7
29+
- nvimgcodec>=0.6.0,<0.7.0
2730
- openslide-python>=1.3.0
2831
- pip
2932
- pooch>=1.6.0

conda/recipes/libcucim/conda_build_config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ c_stdlib_version:
1515

1616
cmake_version:
1717
- ">=3.30.4"
18+
19+
nvimgcodec_version:
20+
- "0.6.0"

conda/recipes/libcucim/meta.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ requirements:
5858
- cuda-cudart-dev
5959
- libcufile-dev
6060
- libnvjpeg-dev
61+
- libnvimgcodec-dev {{ nvimgcodec_version }} # nvImageCodec development headers and libraries
6162
- nvtx-c >=3.1.0
6263
- openslide
6364
run:
@@ -69,8 +70,10 @@ requirements:
6970
- libcufile
7071
- cuda-cudart
7172
- libnvjpeg
73+
- libnvimgcodec0 {{ nvimgcodec_version }} # nvImageCodec runtime library
7274
run_constrained:
7375
- {{ pin_compatible('openslide') }}
76+
- libnvimgcodec-dev {{ nvimgcodec_version }} # Optional: for development/debugging
7477

7578
about:
7679
home: https://developer.nvidia.com/multidimensional-image-processing

cpp/plugins/cucim.kit.cuslide/cmake/deps/libjpeg-turbo.cmake

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,22 @@ if (NOT TARGET deps::libjpeg-turbo)
3131
# full path to the compiler, or to the compiler name if it is in the PATH.
3232
# yasm is available through `sudo apt-get install yasm` on Debian Linux.
3333
# See _deps/deps-libjpeg-turbo-src/simd/CMakeLists.txt:25.
34-
set(CMAKE_ASM_NASM_COMPILER yasm)
34+
35+
# Try to find yasm in conda environment first, then system paths
36+
if(DEFINED ENV{CONDA_PREFIX})
37+
find_program(YASM_EXECUTABLE NAMES yasm PATHS $ENV{CONDA_PREFIX}/bin NO_DEFAULT_PATH)
38+
endif()
39+
if(NOT YASM_EXECUTABLE)
40+
find_program(YASM_EXECUTABLE NAMES yasm)
41+
endif()
42+
43+
if(YASM_EXECUTABLE)
44+
set(CMAKE_ASM_NASM_COMPILER ${YASM_EXECUTABLE})
45+
message(STATUS "Found yasm: ${YASM_EXECUTABLE}")
46+
else()
47+
set(CMAKE_ASM_NASM_COMPILER yasm)
48+
message(WARNING "yasm not found, using 'yasm' and hoping it's in PATH")
49+
endif()
3550
set(REQUIRE_SIMD 1) # CMP0077
3651

3752
message(STATUS "Fetching libjpeg-turbo sources")

cpp/plugins/cucim.kit.cuslide/cmake/modules/SuperBuildUtils.cmake

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,17 @@ include(FetchContent)
88
set(CMAKE_SUPERBUILD_DEPS_ROOT_DIR "${CMAKE_CURRENT_LIST_DIR}/..")
99

1010
if(NOT COMMAND superbuild_depend)
11+
# superbuild_depend: Include a dependency cmake file
12+
# Searches in SUPERBUILD_ADDITIONAL_DEPS_DIRS first (if set), then the default deps dir
1113
function(superbuild_depend module_name)
14+
# Check additional deps directories first (for plugin-specific deps)
15+
foreach(deps_dir IN LISTS SUPERBUILD_ADDITIONAL_DEPS_DIRS)
16+
if(EXISTS "${deps_dir}/${module_name}.cmake")
17+
include("${deps_dir}/${module_name}.cmake")
18+
return()
19+
endif()
20+
endforeach()
21+
# Fall back to default deps directory
1222
include("${CMAKE_SUPERBUILD_DEPS_ROOT_DIR}/deps/${module_name}.cmake")
1323
endfunction()
1424
endif()

0 commit comments

Comments
 (0)