Skip to content

Commit 09441f6

Browse files
committed
optix
Signed-off-by: Larry Gritz <lg@larrygritz.com>
1 parent d0b1159 commit 09441f6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@ jobs:
544544
pybind11_ver: v2.11.1
545545
simd: avx2,f16c
546546
setenvs: export OSL_CMAKE_FLAGS="-DOSL_USE_OPTIX=1"
547+
OPTIX_VERSION=9.0
547548
OPENIMAGEIO_CMAKE_FLAGS=-DBUILD_FMT_VERSION=9.1.0
548549
# setenvs: export CONAN_PACKAGES="ptex/2.4.2@aswf/vfx2024"
549550

src/cmake/externalpackages.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ if (OSL_USE_OPTIX)
201201
target_link_libraries (${TARGET} PRIVATE ${CUDA_LIBRARIES} ${CUDA_EXTRA_LIBS} ${OPTIX_LIBRARIES} ${OPTIX_EXTRA_LIBS})
202202
endfunction()
203203
else ()
204+
message(STATUS "CUDA/OptiX support disabled")
204205
function (osl_optix_target TARGET)
205206
endfunction()
206207
endif ()

0 commit comments

Comments
 (0)