Commit Graph

108 Commits

Author SHA1 Message Date
David Nadlinger
2e8dac5f38 Merge pull request #219 from singularpoint/master
More accurate building of llvm bitcode libraries
2012-11-01 13:56:11 -07:00
kai
641f0f9964 Extend copile support for MSVC.
- Add an option to choose between dynamic or static library version of libconfig++
- Add an option to choose linking the runtime against dynamic or static CRT library
2012-10-17 06:56:52 +02:00
kai
79e0b53fe7 Retrieve location of gen_gccbuiltins from CMake.
This is required for the MSVC build because binaries are placed in a Debug or Release folder.
2012-10-15 18:32:01 +02:00
David Nadlinger
95121115d3 gen_gccbuiltins cleanup. 2012-10-14 05:09:15 +02:00
David Nadlinger
4c3faa9a3d Fixed GCC builtin header generation for out-of-source builds. 2012-10-14 05:02:42 +02:00
David Nadlinger
45365bb0ab Merged pull request #196 from branch 'jerro/upstream-master2'. 2012-10-14 04:58:56 +02:00
David Nadlinger
23e6720605 Build druntime/Phobos unit tests on make test. 2012-10-14 04:35:15 +02:00
Jernej Krempuš
f6cd185701 Generate gccbuiltins.di at build time.
Bug fixes.

Moved gen_gccbuiltins.cpp to util and renamed gccbuiltins.di to gccbuiltins_x86.di

Trying to fix Travis build.

Removed cstrVec.
2012-10-13 13:01:03 +02:00
Alexander Tankeev
34f6babcc3 Build LLVM bytecode libraries correctly
- BUILD_BC_LIBS option of CMake respects BUILD_SINGLE_LIB option.

    - Build Phobos as LLVM bytecode as part of BUILD_BC_LIBS option.
2012-10-12 20:23:52 +04:00
Alexander Tankeev
bd0185ab1d Refactoring feature of LDC runtime building as LLVM bytecode library
This refactoring required to make possible BUILD_BC_LIBS option work
together with options like BUILD_SINGLE_LIB and to build Phobos as
LLVM bytecode too.

    - libdruntime-rt-ldc can be built as LLVM bytecode library. This feature
    was commented out because of currently irrelevant reason.

    - Removed irrelevant modifications of native code library content inside
    BUILD_BC_LIBS logic.

    - Decoupled BUILD_BC_LIBS logic from basic runtime building logic.
2012-10-12 20:22:53 +04:00
kai
69e305b10b Remove quotes from arguments for add_custom_target.
This fixes #163.
2012-09-15 16:29:30 +02:00
kai
e333b76759 Use monitor_.d instead of monitor.c for Win64.
The compile error in monitor.c using MSVC is then irrelevant.
2012-09-07 23:56:04 +02:00
kai
b49f41fc62 Accidently removed monitor_.d from build. 2012-09-07 19:33:06 +02:00
kai
5bc41c963f Add Win64 support.
- Add new files and remove unused files.
- Only create .bc files if requested.
  (Creating .bc and .obj files at the same time confuses the LIB tool. Maybe a CMake bug....)
- Add references to new commits for Win64 in druntime and phobos.
2012-09-07 18:54:29 +02:00
David Nadlinger
bf0d8afc88 Merge branch 'dmd-2.060' into master.
Conflicts:
	dmd2/func.c
	dmd2/mars.c
2012-09-07 04:15:44 +02:00
David Nadlinger
9ac1582726 Update druntime/Phobos library version. 2012-09-07 03:51:31 +02:00
David Nadlinger
837ef30fec Merged DMD 2.060 frontend.
Upstream Git tag v2.060 (e8fe11c20249cb9e42538be88c99b74ede4d12e3).
2012-09-07 03:51:31 +02:00
kai
9a3cdf2e10 Use .obj extension on Windows.
The Windows linker LINK insists on the .obj extension. The following changes are made:
- CMake uses the same extension as the C compiler
- global.obj_ext_alt (aka .obj) is recognized as objectfile extension
- global.obj_ext_alt is used on Windows
2012-09-05 19:23:34 +02:00
David Nadlinger
1c1c6894e0 Only link CURL when building Phobos as shared library. 2012-07-24 19:17:24 +02:00
David Nadlinger
61e4d9044a Fix build on Linux.
Sorry for that, seems to work on OS X, even on case-sensitive file systems.
2012-07-24 19:13:31 +02:00
Dan Sanduleac
5ed0ee96da Fix missing curl dependency from phobos 2012-07-21 15:57:58 -04:00
kai
55366bc319 Add std.net to list of phobos modules. Fixes #139. 2012-07-18 12:51:20 +02:00
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
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
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
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
David Nadlinger
e6521d87d3 Upstream memory_osx.d has been ported to D. 2011-12-22 02:44:32 +01:00
David Nadlinger
fa5fb9236a Fix druntime build when LIB_SUFFIX is used. 2011-12-07 16:20:09 +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