AcademySoftwareFoundation / OpenShadingLanguage

Advanced shading language for production GI renderers
BSD 3-Clause "New" or "Revised" License
2.07k stars 350 forks source link

Build: Fix cuda compilation flags for LLVM 15 #1659

Closed lgritz closed 1 year ago

lgritz commented 1 year ago

For LLVM 15+, we need to disable opaque pointers. We did this for regular bitcode generation in llvm_macros.cmake, but neglected to make the corresponding change for compiling to ptx in cuda_macros.cmake.

lgritz commented 1 year ago

We missed this spot in #1592