Kai Nacke
535221e16d
Add llvm-config-3.5 to search list
2014-01-02 15:57:49 +01:00
Kai Nacke
d4f8092dde
Support LLVM 3.5.
...
LLVM 3.5 adds a new required component lto.
2013-12-13 07:41:22 +01:00
kai
c39a04f038
Do not use llvm-config on Windows.
...
LLVM 3.4 now also provides a llvm-config tool. The output is
not yet parseable by our cmake module, so just don't use it.
2013-08-24 16:13:38 +02:00
kai
32cf5318a4
Add llvm-config-3.4 to list of llvm-config names.
...
The LLVM 3.4 development ccycle has started. We should be prepared
for a distribution which starts to use this name.
2013-06-15 16:12:09 +02:00
David Nadlinger
5423a90c25
Search LLVM_ROOT_DIR before system directories.
2013-06-05 17:11:08 +02:00
David Nadlinger
47a1815892
Try llvm-config binaries with version suffix.
...
This allows us to pick up the newest available version on
several common Debian derivatives.
[Cherry-picked 2b4f49b4e
from master.]
2013-06-05 17:11:05 +02:00
David Nadlinger
8bda7ff0c8
MinGW LLVM compiler flag fixes.
...
Our CMake code should be rewritten to not expect things as strings
that really aren't, but this would entail a whole lot of cross-
platform testing, so I'm postponing it for now.
2013-02-13 16:00:08 +01:00
David Nadlinger
539f7bba82
Also force -fno-rtti on MinGW.
2013-02-13 00:07:51 +01:00
David Nadlinger
3fc9a0faa3
CMake 2.8.0 compatibility.
2012-12-11 23:08:13 +01:00
David Nadlinger
f23d79135f
Make sure to include -fno-rtti in LLVM_CXXFLAGS.
2012-12-09 23:16:17 +01:00
David Nadlinger
fc327909a3
Reworded "LLVM not found" message.
...
Setting LLVM_CONFIG is the way to go on many Linux systems, which
add a version suffix to the LLVM binaries.
2012-12-09 23:15:20 +01:00
kai
9dad0a6b3b
Convert output of llvm-config --targets-built to a list. This fixes #148 .
2012-08-01 06:47:37 +02:00
kai
e144d8d4ad
In FindLLVM.cmake metachars must be escaped before embedding paths into regex.
2012-07-29 19:18:48 +02:00
kai
2addbd2b71
More changes to the build system.
...
- Relax version checking because we intend to have only a single branch
- Exclude ldfpu.asm from build with MSVC-32 (reported by huynh van sen)
- Fix FindLLVM.cmake to work on Windows again
2012-07-28 22:41:34 +02:00
kai
508dd9ff70
Simplify CMakeLists.txt.
...
This version works with LLVM 3.0 and 3.1.
2012-07-24 23:33:15 +02:00
kai
93b2334803
Add more MSVC stuff to CMake files.
2012-06-15 12:20:02 +02:00
kai
3eef7b7d55
First attempt to create build files for MSVC.
2012-06-13 18:23:39 +02:00
David Nadlinger
bafe9c8e03
Factored out LLVM detection into separate CMake module.
2011-11-12 17:48:28 +01:00