Commit Graph

147 Commits

Author SHA1 Message Date
David Nadlinger
99ebf1db6a Bump runtime version to 2.062. 2013-03-17 19:53:35 +01:00
David Nadlinger
f6e1d32deb Do not generate .di files for druntime modules.
DI generation now actually strips function bodies.

Also, finally all the platform-specific modules are installed,
irrespective of the current OS.

GitHub: Fixes #296.
2013-03-17 19:23:22 +01:00
David Nadlinger
722c4b83ea Remove excessive whitespace. 2013-03-17 18:12:33 +01:00
David Nadlinger
d33bfb0d42 LLVM 3.1: Use -O1 instead of -O3 for std.exception tests. 2013-03-11 22:45:44 +01:00
David Nadlinger
0b5e04580c Removed a few D1 leftovers. 2013-03-06 16:46:32 +01:00
David Nadlinger
fcadfdf9e2 Various MinGW runtime fixes. 2013-02-15 00:45:24 +01:00
David Nadlinger
19dcb7710e DW2 EH for MinGW. 2013-02-13 00:07:56 +01:00
David Nadlinger
e507307b95 Reenable druntime optimizations on pre-3.2 LLVM versions. 2013-02-09 11:04:55 +01:00
David Nadlinger
c432712d72 Update runtime version to 2.061. 2013-01-28 21:03:49 +01:00
kai
e68a0fa2a6 Merge branch 'master' into merge-2.061-2 2013-01-26 17:40:24 +01:00
kai
b2f4ac0772 Do not mix release and debug build for MSVC 2013-01-26 15:52:55 +01:00
David Nadlinger
5c518a16ec Merged 2.061 frontend. 2013-01-04 06:22:53 +01:00
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