I’m trying to use a C library that is linked to LLVM static libraries in Julia. I’m using BinDeps and Conda to download the C library, but I get the following error when building the Julia package
julia> Pkg.build("SymEngine") INFO: Building Conda INFO: Building SymEngine : CommandLine Error: Option 'debug-pass' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options
If I use the C library without LLVM support it works fine. (LLVM is an optional dependency of the C library, so I can remove the LLVM dependency. I’m not using any functionality that needs LLVM from the C library, so my current workaround is to use a binary of the C library that is compiled without LLVM support)
Is there anything that I can change in the C library so that it doesn’t affect Julia? Any suggestions welcome.