Closed jonas closed 7 years ago
The build failure is probably caused because scala-native cannot file llvm-config.
[error] /root/scala-bindgen/bindgen/src/main/resources/clang.c:152:10: fatal error: 'clang-c/Index.h' file not found
[error] #include <clang-c/Index.h>
[error] ^
[error] 1 error generated.
[error] Failed to compile /root/scala-bindgen/bindgen/src/main/resources/clang.c
Added a workaround which could go upstream into the docker image.
Imports the libclang wrapper from scala-native/scala-native#642 as well as the build setup to compile it. Test bindgen against the existing test files in a separate project.