Can I compile native C programs on Julia CI?

melonedo
Fri, 28 Jan 2022 05:08:07 +0000
General Usage

When I am developing Clang.jl, a package which bridges C and Julia, I find it necessary that I test the generated wrapper against C libraries. Apart from testing on existing libraries shipped with jll packages, one way is to build small C libraries locally, whether directly invoking compilers or with BinaryBuilder.jl. However, neither is possible on the ubuntu-32bit CI, because it does not ship a gcc for native use, and the Julia version is not v1.6.

You can refer to setup-julia/#92 for a more detailed explanation on this.

What can I do to build native C programs in that case?

3 posts - 2 participants