kai
11786aeb35
Remove last traces of _DH.
...
With the merge of 1.072 the definition of _DH is no longer needed.
2012-02-04 20:36:59 +01:00
Alexey Prokhin
7da47c4ee8
Restored old behavior of initialization of llvm targets.
...
LDC initializes only a llvm host target and targets that were explicitly
requested when building the program.
2011-12-05 21:41:37 +04:00
David Nadlinger
38d1bf4cc8
Removed two (!) D1/Tango runtime build systems.
...
As discussed on IRC, Bob has been the default (and recommended) way to build Tango for LDC for quite some time now. Support for it in the CMake-based build system just created a big maintenance burden for (almost) no benefits. Besides, the build system was currently broken anyway.
The makefiles seemed to support building *.bc libs for Tango though, which Bob probably doesn't, which might be worth keeping in mind.
2011-12-04 20:21:56 +01:00
David Nadlinger
3916835380
Merge remote-tracking branch 'AlexeyProkhin/master' into merge-3.0
...
Conflicts:
CMakeLists.txt
druntime
runtime/CMakeLists.txt
2011-12-04 18:38:09 +01:00
David Nadlinger
5458ebb0b2
Merge branch 'master' into merge-3.0
2011-12-04 18:15:21 +01:00
Alexey Prokhin
91f4e5d015
Added emission of dwarf lexical blocks.
...
Also, dropped support for DISABLE_DEBUG_INFO definition.
2011-12-04 15:34:35 +04:00
Alexey Prokhin
cdeca718fc
Merge branch 'master' of github.com:ldc-developers/ldc
2011-12-04 00:16:30 +04:00
q66
04ce6bbe45
Build system fix.
2011-12-03 12:21:12 +01:00
Alexey Prokhin
014d6bdd4d
Merged 2.056
2011-12-02 21:50:52 +04:00
Alexey Prokhin
7d74a801bb
Fixed #17 and #23 — added 'MULTILIB' option to cmake script and fixed 'make install'
2011-12-02 21:40:31 +04:00
David Nadlinger
b560e752f3
LLVM 3.0 is now required.
2011-11-12 19:51:40 +01:00
David Nadlinger
dc46ae547c
Merge remote-tracking branch 'upstream/ldc-merge-2.056'.
2011-11-12 19:31:19 +01:00
David Nadlinger
23f360c988
Use llvm::InitializeNativeTargetAsmPrinter() now that it is available.
...
This enables us to remove the whole ugly config file parsing hack.
Also includes some minor CMake beautifications (nobody should really be at 2.4 anymore, 2.6 is more than three years old now).
2011-11-12 18:42:01 +01:00
David Nadlinger
bafe9c8e03
Factored out LLVM detection into separate CMake module.
2011-11-12 17:48:28 +01:00
David Nadlinger
aa5e5728e7
Build druntime and Phobos by default.
...
This fixes »make install« – if you want to build only the compiler, the »ldc2« target can be used.
2011-11-12 13:31:54 +01:00
David Nadlinger
4be8f37119
Install D1 runtime files only if building LDC1.
...
Previously, some D2 runtime files were overwritten by them (notably ldc.intrinsics, see #18 ).
2011-11-12 11:52:17 +01:00
David Nadlinger
9800346e50
Avoid double slashes in installation paths.
2011-11-12 11:21:03 +01:00
David Nadlinger
714f15d64a
Print message when libconfig++ is not found.
...
I only made it a warning for now, because there is presumably a reason why the package isn't marked required (pkgconfig-less installations maybe?).
2011-11-11 18:05:30 +01:00
David Nadlinger
470323233a
Merged build system patches by Jonathan Mercier.
...
In detail, this commit:
- Changes the default version that is built to D2, use D_VERSION to override.
- Reverts back to building static libs by default until we are certain shared libs work fine everywhere.
- Fixes installation pathes so that CMAKE_INSTALL_PREFIX is respected; /etc as sysconf dir for /usr prefix is special-cased.
- Fixes out-of-source builds again, and causes temporary files (idgen, …) not to be written to the source directory anymore.
This is a slightly cleaned up version of the changes from https://github.com/ldc-developers/ldc/pull/12 .
2011-11-09 20:40:39 +01:00
Alexey Prokhin
b52c224d57
Merge v2.056
2011-11-01 11:44:03 +04:00
Jonathan MERCIER
52c6347ef7
now conf files have right value
2011-10-12 03:27:23 +02:00
Jonathan MERCIER
350d4a0629
By default buils as shared lib
2011-10-12 03:07:42 +02:00
Jonathan MERCIER
32cbc798c0
Install lib could go to lib or lib64 directory by example for follow os rules
2011-10-12 03:03:42 +02:00
Jonathan MERCIER
3fa4311371
quote string var
2011-10-10 15:10:56 +02:00
Jonathan MERCIER
ebe55afa97
now we can choose llvm config header's filename
2011-10-10 14:32:57 +02:00
Jonathan MERCIER
7cd248dd75
add suffix for libdir is usefull is on your system lib 64bit need to got to /usr/lib64
2011-10-10 14:02:37 +02:00
Jonathan MERCIER
4bbd23b287
Set directory where lib will be put default lib
2011-10-10 13:56:59 +02:00
Jonathan MERCIER
c5a3ec9d1d
Set default configuration path for install to /etc
2011-10-10 13:52:40 +02:00
Jonathan MERCIER
a8903c0795
configuration file follow system rules
2011-10-10 13:49:34 +02:00
Jonathan MERCIER
30d2a6c08c
Add comment in CMakeLists.txt
2011-10-10 13:23:01 +02:00
Jonathan MERCIER
07d90e334e
Replace PROJECT_BINARY_DIR by PROJECT_SOURCE_DIR for to be more cohesive
2011-10-10 13:18:31 +02:00
Jonathan MERCIER
8803990d2f
remove exrta tab for use 4 spaces
2011-10-10 13:16:04 +02:00
Alexey Prokhin
423076dd82
CMakeLists: look for host target in llvm's config.h
2011-09-15 16:23:26 +04:00
David Nadlinger
ca76012343
Add header files to CMake build.
...
This way, they will be available in IDE project files generated via CMake.
2011-04-24 11:36:09 +02:00
David Nadlinger
d55055d44e
Set executable bit on installed ldmd.
2011-04-17 06:20:35 +02:00
Moritz Warning
9e59fea83e
fixes #453 :: allow installation of standalone version
2011-01-31 13:22:46 +01:00
Moritz Warning
5cdd34d3bb
changes config install location to /etc; thanks to bioinfornatics
2011-01-22 17:55:56 +01:00
Alexey Prokhin
d0c7a5a3cb
Ported to new debug information format introduced in llvm 2.7
2010-10-30 20:57:32 +04:00
Alexey Prokhin
4d7a6eda23
Different fixes for d2
2010-10-07 22:35:32 +04:00
Alexey Prokhin
93ddf8112b
Fixed compilation of ldc2
2010-09-28 20:51:27 +04:00
Moritz Warning
fd4899f46f
remove revisions.pl; we go with llvm releases now
2010-10-23 14:10:25 +02:00
Moritz Warning
c151d37365
fixes #434 :: add llvm 2.8 support
2010-10-23 13:38:26 +02:00
Tomas Lindquist Olsen
db0afdf3e0
Updated CMake building for 2.7 update.
2010-05-19 22:33:03 +02:00
Kelly Wilson
badb597962
Change the ldc.conf file output to match the newer Tango directory structure and only use libtango-user-ldc for the libs to match the 0.99.9 build instructions.
2010-03-10 20:21:05 -07:00
Tomas Lindquist Olsen
d5d3ecdb05
Added back option to disable metadata generation and users. Set USE_METADATA to OFF in ccmake.
2009-07-31 11:28:31 +02:00
Benjamin Kramer
51c02d192a
Some minor cleanups
...
* remove an #ifdef USE_METADATA I accidently left in
* remove now unneeded llvm-version includes
* fix indentation in metadata.h
* prevent the "Found native target" message from interrupting ccmake
2009-07-20 18:16:11 +02:00
Christian Kamm
feaefc3314
Better error handling for CMake LLVM config file detection.
2009-07-03 18:49:42 +02:00
Christian Kamm
151e266deb
Yet another fix for finding llvm's config file.
...
Since llvm-config --includedir sometimes includes the trailing llvm/ and
sometimes it doesn't, we just check both directories.
2009-06-30 22:07:50 +02:00
Christian Kamm
81e0b81e10
LLVM_INSTDIR -> LLVM_INCLUDEDIR fix by d0k.
2009-06-29 21:44:11 +02:00
Christian Kamm
88f6e9e83a
Initialize LLVM target and asmprinter for the native and extra targets.
...
Uses some CMake hackery to get the native LLVM target name, since it only
provides a conveniance function for initializing the native target and not the
native asmprinter.
2009-06-26 21:02:23 +02:00