CMake build: Only export explicit symbols on macOS
Both windows and linux do this already using .def files and linker scripts, respectfully.
Mac's linker has the exported_symbols_list flag that acts similarly.
This is required as the SPIRV-Tools in dEQP now collides with the version in SwiftShader, leading to horribly cryptic crashes deep in SPIRV structures.
Change-Id: I3641744ae2439bf05468b6f10cf3da0307614534
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/32568
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Tested-by:
Ben Clayton <bclayton@google.com>
Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
Reviewed-by:
Chris Forbes <chrisforbes@google.com>
Showing
src/OpenGL/libEGL/libEGL.exports
0 → 100644
src/OpenGL/libGLES_CM/libGLES_CM.exports
0 → 100644
src/OpenGL/libGLESv2/libGLESv2.exports
0 → 100644
src/Vulkan/libvk_swiftshader.exports
0 → 100644
Please
register
or
sign in
to comment