Closed pepa65 closed 5 years ago
Hello,
Thanks a lot for your interest. The 'master' branch is somewhat outdated. Please check the 'bigmerge' branch, which is under active development and should become 'master' within maybe a month or so. It now supports LLVM 3.7-8.0 (and I'm checking regularly on LLVM ToT as well), and the test suite runs somewhat reliably. I just checked xl2, and it looks OK too.
Regarding Ubuntu, you pointed out I was insufficiently testing it. I only had an Ubuntu 16 VM, which fails to compile some recorder stuff because GCC 5.0.4 is old and is not too smart about "friend name injection", so it fails with an error about _recorder_arg not being found on GCPtr (it's a compiler bug, and one that is not too easy to workaround).
I've just finished installing Ubuntu 18, and I will try tomorrow. Chances are you would be more lucky there (I hope). But if not, I will fix it quickly.
I will respond to your questions regarding dev plans on Grenouille Bouillie.
I checked out bigmerge, and FYI I'll post the output for make
now:
make[1]: Entering directory '/home/pp/git/xl'
[BEGIN] opt linux in [top]
make[2]: Entering directory '/home/pp/git/xl/recorder'
[BEGIN] opt linux in [top]recorder/
[BUILD] librecorder.so
[END] opt linux in [top]recorder/
make[2]: Leaving directory '/home/pp/git/xl/recorder'
make[2]: Entering directory '/home/pp/git/xl/src'
/bin/bash: llvm-config: command not found
[INFO] Building with LLVM version
[BEGIN] opt linux in [top]src/
[VARIANT] lib
make[3]: Entering directory '/home/pp/git/xl/src'
/bin/bash: llvm-config: command not found
[INFO] Building with LLVM version
[BEGIN] opt linux in [top]src/[lib]
/bin/bash: llvm-config: command not found
/bin/bash: llvm-config: command not found
/bin/bash: llvm-config: command not found
[COMPILE 1/34] llvm-crap.cpp
In file included from llvm-crap.cpp:40:0:
llvm-crap.h:44:20: error: operator '<' has no left operand
#elif LLVM_VERSION < 370
^
In file included from llvm-crap.h:51:0,
from llvm-crap.cpp:40:
llvm-crap.h:311:19: error: operator '>=' has no left operand
# if LLVM_VERSION >= 350 && LLVM_VERSION < 360
^~
llvm-crap.h:319:19: error: operator '>=' has no left operand
# if LLVM_VERSION >= 370 && LLVM_VERSION < 380
^~
llvm-crap.h:324:19: error: operator '>=' has no left operand
# if LLVM_VERSION >= 400
^~
In file included from llvm-crap.cpp:40:0:
llvm-crap.h:55:10: fatal error: llvm/IR/Type.h: No such file or directory
#include <llvm/IR/Type.h>
^~~~~~~~~~~~~~~~
compilation terminated.
../make-it-quick/rules.mk:465: recipe for target '/home/pp/git/xl/.objects/linux/opt/src/llvm-crap.cpp.o' failed
make[3]: *** [/home/pp/git/xl/.objects/linux/opt/src/llvm-crap.cpp.o] Error 1
make[3]: Leaving directory '/home/pp/git/xl/src'
../make-it-quick/rules.mk:364: recipe for target 'lib.variant' failed
make[2]: *** [lib.variant] Error 2
make[2]: Leaving directory '/home/pp/git/xl/src'
make-it-quick/rules.mk:361: recipe for target 'src.recurse' failed
make[1]: *** [src.recurse] Error 2
make[1]: Leaving directory '/home/pp/git/xl'
real 0m0.527s
user 0m0.307s
sys 0m0.189s
5 Errors, 0 Warnings in /home/pp/git/xl/.logs/build-linux-opt-20190411-143453.log
make-it-quick/rules.mk:203: recipe for target 'opt' failed
make: *** [opt] Error 2
Really appreciate all the years of work you put into this, and I hope many people will be able to benefit from it.
/bin/bash: llvm-config: command not found
You need to install llvm :-) apt-get install llvm-dev
should do it.
I'll make sure the build aborts right away instead of trying to compile stuff.
Thanks, I did check for llvm but don't know very much about it. I had libllvm7 and 6.0 but that was all. Now it has installed llvm-6.0, and YES it builds!
I have simply cloned this repo, did
cd xl/xl2
and thenmake
:What can I do to build xl2 and xlr? I am very keen to try it out.