Skip to content

Commit 3287b8e

Browse files
committed
Document that OIIO builds fine with clang 16
1 parent 541f87b commit 3287b8e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

INSTALL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ NEW or CHANGED MINIMUM dependencies since the last major release are **bold**.
1717
* C++14 or higher (also builds with C++17, and C++20)
1818
* The default build mode is C++14. This can be controlled by via the
1919
CMake configuration flag: `-DCMAKE_CXX_STANDARD=17`, etc.
20-
* Compilers: gcc 6.1 - 12.1, clang 3.4 - 15, MSVS 2017 - 2019,
20+
* Compilers: gcc 6.1 - 12.1, clang 3.4 - 16, MSVS 2017 - 2019,
2121
Intel icc 17+, Intel OneAPI C++ compiler 2022+.
22-
* CMake >= 3.12 (tested through 3.25)
22+
* CMake >= 3.12 (tested through 3.26)
2323
* OpenEXR/Imath >= 2.3 (recommended: 2.4 or higher; tested through 3.1 and main)
2424
* libTIFF >= 3.9 (recommended: 4.0+; tested through 4.5)
2525
* libjpeg >= 8, or libjpeg-turbo >= 1.1 (tested through jpeg9d and jpeg-turbo

site/spi/Makefile-bits

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,9 @@ else ifeq (${platform}, macosx)
231231
else ifeq (${COMPILER},clang15)
232232
MY_CMAKE_FLAGS += -DCMAKE_C_COMPILER=/usr/local/opt/llvm@15/bin/clang \
233233
-DCMAKE_CXX_COMPILER=/usr/local/opt/llvm@15/bin/clang++
234+
else ifeq (${COMPILER},clang16)
235+
MY_CMAKE_FLAGS += -DCMAKE_C_COMPILER=/usr/local/opt/llvm@16/bin/clang \
236+
-DCMAKE_CXX_COMPILER=/usr/local/opt/llvm@16/bin/clang++
234237
else ifeq (${COMPILER},clang)
235238
MY_CMAKE_FLAGS += -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
236239
else ifeq (${COMPILER},gcc)

0 commit comments

Comments
 (0)