Hey! I’m trying to build opencilk, a fork of LLVM with extensions for parallel programming, with Nix.
-
OC’s Building from source guide: Build OpenCilk from source
-
My current setup: GitHub - ulysses4ever/opencilk-nix
If you clone my repo and run nix-build on it, perhaps, you’ll see what I see now: Cmake seems to start fine but then it fails in make at around 9%. Here is a tail of my terminal output:
...
[ 7%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86ModRMFilters.cpp.o
[ 9%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86RecognizableInstr.cpp.o
[ 9%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/WebAssemblyDisassemblerEmitter.cpp.o
[ 9%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CTagsEmitter.cpp.o
[ 9%] Built target obj.llvm-tblgen
[ 9%] Built target RTAsan_dynamic.x86_64
[ 9%] Built target RTAsan.x86_64
make: *** [Makefile:156: all] Error 2
error: boost::bad_format_string: format-string is ill-formed
the last line is particularly weird: judging by this thread, it’s a Nix issue with printing errors? I’m not sure how to debug my actual issue any further withought seeing what went wrong…
For completeness, here’s the full build log.