Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 960M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.70
Broken: version: 2.81 (sub 14), e84685286274
Short description of error
With my build options set to a minimum (WITH_CYCLES, WITH_BOOST, WITH_CYCLES_NATIVE_ONLY) it builds fine, but I end up with a non-functional Cycles.
Exact steps for others to reproduce the error
Viewport render preview leads to an assert on bvh_traversal.h::BVH_FUNCTION_NAME.
In that function I'm getting kernel_data.bvh.bvh_layout = BVH_LAYOUT_BVH4, but this case is ifdef'ed.
Note: If I go to debug menu, set debug to 256, and manually set BVH Layout to BVH2 things work well.