On an older Intel macOS 13.7 machine:
cmake -B build
-- The CXX compiler identification is AppleClang 14.0.3.14030022
...
cmake --build build -j7
...
In file included from /Users/sjors/dev/bitcoin/src/crypto/muhash.h:9:
/Users/sjors/dev/bitcoin/src/uint256.h:133:19: error: call to consteval function 'util::ConstevalHexDigit' is not a constant expression
auto lo = util::ConstevalHexDigit(*(str_it++));
^
(etc)
Our minimum required clang is 16 so this is no surprise.
It would be good if cmake -B build checks the minimum version and at least throws a warning.