this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Be smarter about how we find libLLVM.so

On some distros, LLVM is not placed in the root of `/usr/lib` and is
kept in a versioned subdirectory instead. Regardless of what the case
is, llvm-config should give us the right path.

*This* should finally fix the CI build.

+8 -1
+8 -1
src/native/CMakeLists.txt
··· 19 19 wrap_elf(GL libGL.so "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries") 20 20 wrap_elf(GLU libGLU.so "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries") 21 21 wrap_elf(Vulkan libvulkan.so) 22 - wrap_elf(host_LLVM libLLVM.so) 22 + 23 + execute_process( 24 + COMMAND llvm-config --link-shared --libfiles 25 + OUTPUT_VARIABLE HOST_LLVM_PATH 26 + OUTPUT_STRIP_TRAILING_WHITESPACE 27 + ) 28 + 29 + wrap_elf(host_LLVM "${HOST_LLVM_PATH}")