David Nadlinger
03c77865d0
Fix parallel druntime/Phobos build.
2012-12-19 01:50:48 +01:00
kai
160a314312
Revert "Do not override INCLUDE_INSTALL_DIR."
...
This reverts commit f832668bba .
The problem is in the ebuild and fixed there.
2012-12-16 17:14:00 +01:00
kai
f832668bba
Do not override INCLUDE_INSTALL_DIR.
...
If both CMAKE_INSTALL_PREFIX and INCLUDE_INSTALL_DIR are specified
on the commandline then CMAKE_INSTALL_PREFIX takes precedence. E.g.
you can't install all files with prefix /usr and move the include
directory to /usr/include/ldc2 at the same time.
This commit changes the behaviour by preserving the value of
INCLUDE_INSTALL_DIR given on the commandline.
2012-12-16 14:15:14 +01:00
David Nadlinger
47699b86fa
Remove useless runtime* target.
...
If somebody finds value in explicitly only invoking part of
the build process, this has to be redone with proper handling
of multilib, ...
2012-12-11 19:27:46 +01:00
David Nadlinger
6810e6c007
Fixed BUILD_BC_LIBS for MULTILIB, etc.
2012-12-11 19:26:39 +01:00
David Nadlinger
b8eadfa717
Fix llvm-ar detection (BUILD_BC_LIBS only).
2012-12-11 19:26:15 +01:00
David Nadlinger
077729afa0
Output cosmetics.
2012-12-11 18:04:50 +01:00
David Nadlinger
30a90aaf0e
Remove useless phobos2 target.
2012-12-11 18:04:13 +01:00
David Nadlinger
2171326f98
Support for OS X MULTILIB builds.
2012-12-11 18:02:55 +01:00
David Nadlinger
f1651c0e62
Introduce HOST_BITNESS for readability.
2012-12-09 23:33:01 +01:00
kai
b92c461147
Add parenthesis in set_source_files_properties to avoid breakage on Windows.
2012-12-09 19:30:51 +01:00
David Nadlinger
ce3518f508
Build and install .di files by default again.
...
(regression introduced in '8acc39dc')
2012-12-08 21:36:50 +01:00
David Nadlinger
b005b3caa7
Fixed "silent" typo in last commit.
2012-12-08 20:43:33 +01:00
David Nadlinger
578da45482
Use -O0 for core.*/gc.* on pre-3.2 x86 builds.
...
This is less than optimal, since it will cost us a lot in terms of
performance, but it seems to be the only choice until somebody
manages to further narrow the issue down.
As the builds never used release mode until a few days ago, the
slowdowns should not trigger much surprise, though.
2012-12-08 19:51:05 +01:00
David Nadlinger
3df39b642a
Don't build tests twice under MULTILIB on 32 bit boxes.
...
Specifying the flag there probably doesn't make much sense in
the first place.
2012-12-08 19:18:41 +01:00
David Nadlinger
4ec9779873
Fix runtime unit test arguments.
...
The code had bitrotted to the point where only the first argument
was picked up.
2012-12-08 18:15:47 +01:00
David Nadlinger
48f476dcbe
Consistently drop conditions in else/end CMake statements.
2012-12-08 18:15:47 +01:00
David Nadlinger
18e0fafe8e
Run tests both in 32 and 64 bit mode on multilib builds.
2012-12-06 21:57:18 +01:00
David Nadlinger
2ac9c0dcba
Include --no-search-mismatch on multilib builds.
2012-12-06 21:57:18 +01:00
David Nadlinger
fded2e9fcd
Only use -O2 for compiling druntime/Phobos on pre-3.2 LLVM.
2012-12-06 21:43:35 +01:00
David Nadlinger
b9455b2c99
Config options cleanup.
...
Still not too fond of the fancy layout.
2012-12-06 16:17:58 +01:00
David Nadlinger
02feb23b06
Always build zlib, ... in release mode.
2012-12-06 15:51:47 +01:00
David Nadlinger
3244519d6f
Cleanup of runtime building macros.
...
No functional change intended.
2012-12-06 15:51:42 +01:00
David Nadlinger
8acc39dc93
Initial support for building debug/release versions of druntime/Phobos.
2012-11-28 00:37:40 +01:00
David Nadlinger
146649af1a
Fixed OS X TLS GC.
2012-11-22 00:33:26 +01:00
Jernej Krempuš
755b271096
Fix issue #236
2012-11-19 23:05:53 +01:00
Jernej Krempuš
2818f2460e
Install all headers in core/sys on all platforms.
2012-11-17 20:54:30 +01:00
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