sourcegraph / scip-clang

Apache License 2.0
44 stars 7 forks source link

Add tests for cross-compilation #245

Open varungandhi-src opened 1 year ago

varungandhi-src commented 1 year ago

Based on the automatic detection of the resource/search directory, I think cross-compilation should "just work", but we should have some automated tests that it actually works.

varungandhi-src commented 1 year ago

cc @honghao12 -- are you able to test scip-clang for your use case? Apologies for just seeing the issue you opened in the lsif-clang repo. scip-clang tries to automatically add the right include directories (the error in https://github.com/sourcegraph/lsif-clang/issues/92 seems to be related to headers from your cross-compilation toolchain not being found). Can you check if that fixes your issue?