Commit graph

161 commits

Author SHA1 Message Date
David Nadlinger
0b18b346f9 Renamed ldruntime back to druntime-ldc, as the name is hardcoded in the source.
Also took the opportunity to rename liblphobos2 to libphobos2-ldc as discussed on IRC, because this highlights the relationship to DMD's libphobos2 better e.g. when browsing through the file system.
2011-12-04 20:45:31 +01:00
David Nadlinger
74d7562a59 Moved druntime and Phobos submodules to runtime.
This makes much more sense since the subdirecotry also contains the build system for them, and reduces clutter.
2011-12-04 20:37:21 +01: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
6559246669 Don't needlessly copy over druntime/Phobos to build directory.
This reapplies d57637a0a1, which was lost in merging.
2011-12-04 18:53:20 +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
Alexey Prokhin
b559805b7c Fixed path to generated *.di files 2011-12-02 22:16:08 +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
c4e5c7ad11 No longer omit core/bitop.d from being installed. 2011-11-14 15:46:49 +01:00
David Nadlinger
ef748a9de0 Include std/internal in Phobos build.
Previously, std.internal.processinit was missing, leading to linker errors on OS X. All platform-specific stuff is wrapped in version() blocks, so we should be fine.
2011-11-12 22:35:28 +01:00
David Nadlinger
6e714f999e Remove code for building runtime separatly, it was broken in the current form anyway. 2011-11-12 15:17:42 +01:00
David Nadlinger
d57637a0a1 Don't needlessly copy over druntime/Phobos to build directory. 2011-11-12 13:30:07 +01:00
David Nadlinger
d9da8723d1 Remove ancient druntime patching helpers.
We are using our own forks and Git submodules now.
2011-11-12 13:08:03 +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
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
2dd73874ac Fixed druntime and phobos paths in CMakeLists 2011-09-15 14:45:40 +04:00
Kelly Wilson
9e5b0e79e2 Fix up ldc.conf to reflect newer naming convention for tango lib. 2011-04-26 09:16:33 -06:00
Alexey Prokhin
a99064cbe6 Forgotten changes 2011-03-27 11:03:41 +04:00
Alexey Prokhin
85da0168bf Fix #460: rename libphobos2.a to liblphobos2.a 2011-03-26 20:22:09 +03:00
Alexey Prokhin
058e2df074 Generate *.di only for druntime 2011-03-26 17:58:08 +03:00
Alexey Prokhin
3a2aedc9ac Fix building of the runtime as a shared library 2011-03-26 17:58:05 +03:00
Alexey Prokhin
f7e2b7eec6 CMake: Add PHOBOS2_DIR to cache, so it would be accessible using ccmake 2011-02-23 20:49:00 +03:00
Alexey Prokhin
40621f55d5 Generate correct ldc2.conf for phobos 2011-02-23 20:39:04 +03:00
Alexey Prokhin
e921998d75 A few fixes for 64bit 2011-02-23 12:49:57 +03:00
Alexey Prokhin
6d89bfa961 Use _d_assocarrayliteralTX to initialize associative arrays. Replace depricated _d_arrayappendcT() by _d_arrayappendcTX(). Make sure that a l-value of a binassign expressions is only evaluated once (reapllied 1784 but only for D2) 2011-02-20 19:00:45 +03:00
Alexey Prokhin
ff7198eca8 Compile sources from druntime/core/stdc 2010-12-30 14:04:34 +03:00
Alexey Prokhin
023b55a772 Run postblit constructors for elements of an array. 2010-12-30 14:04:24 +03:00
Alexey Prokhin
6d22dd7999 Updated to 2.050 2010-11-08 16:55:35 +03:00
Alexey Prokhin
d8e1d1feac Fixed a few unittests in math.d 2010-11-07 18:02:43 +03:00
Alexey Prokhin
e11d071cdf Ported rt/memory.d from tango. 2010-11-06 19:41:17 +03:00
Eldar Insafutdinov
8e0986a682 fix for building 32 bit phobos on a 64 bit host 2010-11-05 23:03:58 +00:00
Eldar Insafutdinov
81a3a9eb8a temporary fix for building 32bit druntime on 64bit hosts 2010-11-05 22:41:25 +00:00
Alexey Prokhin
14c6dfb895 Added pointers to shared constructors and destructors to ModuleInfo. 2010-11-05 17:40:29 +03:00
Alexey Prokhin
376c155429 Added missing files for building 2010-11-02 18:44:38 +03:00
Alexey Prokhin
4ff4b442f0 Cmake option BUILD_BC_LIBS works again. 2010-10-31 13:38:28 +03:00
Alexey Prokhin
4c22a76f07 Fixed missing symbols in druntime library. Fixed a druntime crash in _d_invariant(). 2010-10-31 12:42:15 +03:00
Alexey Prokhin
d143966b6a Updated druntime.patch and added phobos.patch 2010-10-29 12:14:24 +04:00
Alexey Prokhin
b1e5993873 Started work on phobos 2010-10-27 18:13:46 +04:00
Alexey Prokhin
4d7a6eda23 Different fixes for d2 2010-10-07 22:35:32 +04:00
Alexey Prokhin
df87607ba2 Updated to 2.049 2010-09-30 21:54:45 +04: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
Christian Kamm
f84bddc8d0 Hack to make compiling the tango 0.99.8 runtime work.
The gc has no module statements and the new frontend fails to find
the imports. So I add an explicit include path to the runtime gc
directory.
2009-11-07 10:54:40 +01:00
Christian Kamm
8357777440 Set the default RUNTIME_DIR to be side-by-side of the ldc source dir. 2009-06-14 14:28:11 +02:00
Kelly Wilson
cab7aeb843 just a simple change to cmake for mingw 2009-05-27 12:41:41 -06:00
Christian Kamm
18baa5c40b Remove unnecessary GCC_EXE CMake flag. Closes #208, thanks impulze. 2009-04-12 13:50:18 +02:00
Christian Kamm
1bf5934519 Fix path to llvmasm.di in runtime CMakeList 2009-03-28 10:50:44 +01:00
Tomas Lindquist Olsen
14b8aff809 Fixed issue with runtime supplied typeinfo generating multiple symbols.
Added new ldc.llvmasm import in runtime cmake file.
2009-03-28 09:45:33 +01:00
Christian Kamm
490549e65c Add dmd-style configuration file for rebuild usage. See #236 and thanks to ccuter for the patch! 2009-03-21 09:47:48 +01:00
Christian Kamm
bb0eab009d Fix imports copying for out-of-source build. 2009-03-15 23:04:58 +01:00
Frits van Bommel
9bbab8a342 Change the way imports are copied to the (Tango) runtime dir. 2009-03-09 21:38:31 +01:00