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
35aba5f1e2
Fold in druntime pragma name updates.
2012-12-08 21:41:43 +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
237b0f25dc
druntime '_end'/'end' updates.
...
This should fix the test suite build on Arch Linux.
2012-11-15 11:54:27 +01:00
David Nadlinger
0647cfb50c
Re-enable inlining by default for -O2 and above.
...
This fixes a bug introduced in 2f78dc686 .
Thanks to Jernej (jerro) for the fix!
2012-11-06 19:40:18 +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
David Nadlinger
247da8ea86
Phobos updates.
2012-10-14 04:34:17 +02:00
David Nadlinger
4b0e8d998d
Phobos updates.
2012-10-14 04:16:35 +02:00
David Nadlinger
6885f6a0f0
Phobos test suite workarounds.
2012-10-14 03:57:42 +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
David Nadlinger
3e3fb2c323
Phobos updates.
2012-10-06 13:09:43 +02:00
David Nadlinger
0fb39ee912
druntime updates.
2012-10-06 00:50:52 +02:00
kai
c5fcd255ff
Cleanup of intrinsics.
2012-09-15 20:13:50 +02:00
kai
69e305b10b
Remove quotes from arguments for add_custom_target.
...
This fixes #163 .
2012-09-15 16:29:30 +02:00
kai
7d1ec52c68
Implement the xgetbv opcode.
...
This solves a FIXME in core.cpuid.
2012-09-14 21:10:39 +02:00
David Nadlinger
1bc5dad066
druntime updates – fixes #158 .
2012-09-09 23:20:18 +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
2750541d0a
druntime and dmd-testsuite updates.
2012-09-07 03:51:33 +02:00
David Nadlinger
1cb982f568
druntime updates.
2012-09-07 03:51:32 +02:00