Commit Graph

230 Commits

Author SHA1 Message Date
David Nadlinger
1c301aabcd Fix #105 - don't randomly overwrite di files with thread.di.
DI_CMD is the CMake equivalent of a global variable, so it needs to be set in any case.
2012-06-06 17:54:07 +02:00
Sven-Hendrik Haase
f1079bfbf6 Fix typos 2012-06-06 14:54:39 +02:00
David Nadlinger
6ad085a1f8 Only allow __Dmain to remain undefined in druntime to avoid hidden build errors. 2012-06-05 10:57:52 +02:00
David Nadlinger
1ead8476e5 Merge remote-tracking branch 'dansanduleac/i104_2' 2012-06-05 10:54:18 +02:00
Dan Sanduleac
74a1961d1f on APPLE, allow undefined symbols (for __Dmain) when linking druntime & phobos 2012-06-05 09:41:54 +01:00
David Nadlinger
911e00c434 Bump druntime/Phobos version to 2.059. 2012-06-05 10:27:35 +02:00
David Nadlinger
509a5799ff Use hand-written .di files if present along the source – fixes issue #95. 2012-06-02 16:49:47 +02:00
David Nadlinger
5459135aa5 Updated druntime - fixes issue #101. 2012-06-02 14:06:38 +02:00
Alexey Prokhin
3fb21f986e Merged the last bits of dmdfe 2.059 2012-04-22 12:10:47 +04:00
Alexey Prokhin
bca73ec8b9 Merged dmd 2.059beta 2012-04-05 15:30:00 +04:00
David Nadlinger
df61269ada Fixed LDC 1 config file installation.
Closes #79.

Thanks to SiegeLord for the meat of the patch.
2012-03-17 13:32:00 +01:00
David Nadlinger
f5431cc762 Updated druntime. 2012-03-17 00:57:28 +01:00
David Nadlinger
947790248f Whoops.
Fixes issue 78.
2012-03-14 18:50:33 +01:00
David Nadlinger
c0abef4831 Fix druntime/Phobos module installation on OS X.
Note: Currently, we are not following a consequent strategy regarding which files to install and which to omit. In the future, we should either always install all of the modules (because they should have version() guards anyway), or omit all the files with paths containing {osx,windows,linux,freebsd} on the other OSes.
2012-03-14 18:11:20 +01:00
Alexey Prokhin
63a89bae0e CMake: DMD frontend version should not be stored to cache 2012-03-06 12:20:18 +04:00
Alexey Prokhin
c4414a2f3f CMake: fixed path to phobos 2012-03-06 12:10:02 +04:00
Alexey Prokhin
f1c7f6db65 Bump version 2012-02-16 15:45:04 +04:00
AlexeyProkhin
9264fcdf4f Merge pull request #80 from bioinfornatics/master
Add versionned lib
2012-02-16 03:36:01 -08:00
Alexey Prokhin
ae7f0ca7e7 Preliminary vector support 2012-02-16 14:42:23 +04:00
Jonathan MERCIER
0cebc6d5bc use D_VERSION instead of DMDFE_MAJOR_VERSION 2012-02-15 13:59:50 +01:00
Alexey Prokhin
6fea4b65a2 Updated frontend to 2.058 beta4 2012-02-15 13:23:23 +04:00
Alexey Prokhin
e74e55df89 Merge 2.058beta 2012-02-15 13:23:16 +04:00
Alexey Prokhin
f2ed2e96b0 Use optimized array operators implemented in druntime 2012-02-15 13:16:34 +04:00
Alexey Prokhin
f237d85af0 Implemented bt/btc/btr/bts intrinsics 2012-02-15 13:16:34 +04:00
Jonathan MERCIER
a0ad3685d0 Add versionned lib supprt 2012-02-13 23:59:48 +01:00
Alexey Prokhin
0f489f1bdc Merge branch 'master' of github.com:ldc-developers/ldc 2012-01-10 21:37:34 +04:00
Alexey Prokhin
b4b4e990e2 Fixed issue #58 — Multilib: 64 on 32 2012-01-10 21:36:19 +04:00
Alexey Prokhin
fb39835021 Fixed #56 — Null pointer deref in _d_arrayappendcTp with multithreaded code 2012-01-10 21:36:12 +04:00
David Nadlinger
e6521d87d3 Upstream memory_osx.d has been ported to D. 2011-12-22 02:44:32 +01:00
David Nadlinger
6350d8f255 Update druntime. 2011-12-22 02:44:19 +01:00
Alexey Prokhin
88cff99bd4 Merge dmdfe 2.057 2011-12-16 19:44:56 +04:00
David Nadlinger
fa5fb9236a Fix druntime build when LIB_SUFFIX is used. 2011-12-07 16:20:09 +01:00
David Nadlinger
f5182abca3 Pull in FreeBSD druntime build fix. 2011-12-05 00:01:07 +01:00
David Nadlinger
b0dd2e336d ldc/bitop.d no longer exists.
This fixes the install target broken after the big merge.
2011-12-04 20:58:26 +01:00
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