Find versioned versions of LLVM tools
Since it has become more widely know that the LLVM developers often make breaking changes to the IR language between releases, some Linu distributions (eg Debain and hence Ubuntu) have started doing multi-version LLVM installs.
For instance on Debian, the llvm-3.6 programs are installed in
I propose that the
aclocal.m4 configuration goop be modified to look for
opt in these versioned
/usr/lib/llvm-X.Y locations. I'm also willing to do the hard yards on implementing this if people think its a good idea.
This can be seen as a step along the way to more stringent LLVM versioning requirements.