I compiled mame 0.215 from scratch on my old MacBook Pro running High Sierra with SDL 2.0.10. It took hours and with bgfx enabled most games crash (segmentation fault) after the game info screen.

OpenGL works fine probably because it is not a Retina display and software works too as expected.