Closed jsaalfeld closed 6 years ago
And even though i have LLVM (currently 6.0.0 - not 3.8 like described in the CMakeList.txt) installed: https://www.archlinux.org/packages/extra/x86_64/llvm/
And I set the environment Variable EXT_LLVM_DIR
, that results in an error:
Scanning dependencies of target external_shlibs_audio
make[2]: *** No rule to make target '../LLVM', needed by 'CMakeFiles/external_shlibs_audio'. Stop.
make[1]: *** [CMakeFiles/Makefile2:1446: CMakeFiles/external_shlibs_audio.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
Hey there,
Unfortunately LLVM 3.8 is required - it won't build against later versions. The installation process should try to dowload & build it itself, but I must confess I'm not an arch user - it's possible something's broken there.
That's a pity. I need the newer LLVM Versions for other dependencies, so I can't just install it system wide and the older version doesn't seem to compile against a new gcc :/
That is a bummer about the older gcc thing. I realise that the old LLVM thing is a bit of a pain, which is why Extempore tries to just maintain it's own "dep-world" and not interfere with e.g. system LLVM.
Re: the gcc issues, can you get the old behaviour with appropriate compiler flags? If so, you could use CXX_COMPILER_FLAGS
to try and coerce it into working.
That is a bummer about the older gcc thing. I realise that the old LLVM thing is a bit of a pain, which is why Extempore tries to just maintain it's own "dep-world" and not interfere with e.g. system LLVM.
Totally understand that. Keeping up to date with everything is a real pain.
Re: the gcc issues, can you get the old behaviour with appropriate compiler flags? If so, you could use CXX_COMPILER_FLAGS to try and coerce it into working.
Haven't thought of that! Will look into that!
I've been looking at this a little. It looks like LLVM 3.8 doesn't want to compile under new GCC versions. So on Arch you can get around this by installing gcc5 and running:
env CXX=g++-5 cmake ...
Or by patching the line in include/llvm/IR/ValueMap.h that doesn't compile to this:
bool hasMD() const { return bool(MDMap); }
Hi there. I'm trying to build the extempore-git package on an arch-system. And I ran into this error: