AcademySoftwareFoundation / OpenShadingLanguage

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

Build: verify that OSL can build with clang16 #1664

Closed lgritz closed 1 year ago

lgritz commented 1 year ago

But note: OSL does not yet work with LLVM 16.

Because homebrew recently upgraded its default llvm to 16.0, there may be users for whom builds now break. The solution is:

brew install llvm@14
cmake ... -DLLVM_ROOT=/usr/local/opt/llvm@14