Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self = <LinuxPIC cc=gcc>, returncode = 1, stdout = ''
- stderr = '/tmp/usession-llvm-jit-backend-experimental-19/module_cache/module_1.c:91:10: fatal error: llvm-c/Core.h: No such file or directory\n 91 | #include <llvm-c/Core.h>\n | ^~~~~~~~~~~~~~~\ncompilation terminated.\n'
- outname = local('/tmp/usession-llvm-jit-backend-experimental-19/module_cache/module_1.o')
- def _handle_error(self, returncode, stdout, stderr, outname):
- if returncode != 0:
- errorfile = outname.new(ext='errors')
- errorfile.write(stderr, 'wb')
- if self.log_errors:
- stderrlines = stderr.splitlines()
- for line in stderrlines:
- log.Error(line)
- # ^^^ don't use ERROR, because it might actually be fine.
- # Also, ERROR confuses lib-python/conftest.py.
- > raise CompilationError(stdout, stderr)
- E CompilationError: CompilationError(err="""
- E /tmp/usession-llvm-jit-backend-experimental-19/module_cache/module_1.c:91:10: fatal error: llvm-c/Core.h: No such file or directory
- E 91 | #include <llvm-c/Core.h>
- E | ^~~~~~~~~~~~~~~
- E compilation terminated.
- E """)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement