Commit graph

161 commits

Author SHA1 Message Date
unknown
cc8c19bb4e Fix list of excluded files in D runtime 2014-01-25 17:46:34 +01:00
Kai Nacke
bdc1f44088 Merge remote-tracking branch 'origin/master' into merge-2.064
Conflicts:
	gen/runtime.cpp
	runtime/CMakeLists.txt
2013-12-08 19:29:10 +01:00
Kai Nacke
0628a1f9f3 Exclude threadasm.S from build if CMake version is less than 2.8.5.
Assembler support was rewritten in CMake 2.8.5. The new functionality
is required to assemble the file, otherwise a bunch of error messages
is generated. The solution is to exclude the file from the build.
This is only a problem for non-x86 platforms (PPC, Mips).

General advise is to use at least CMake 2.8.5. This fixes #464.
2013-12-08 15:24:42 +01:00
Kai Nacke
9ecd0da1b6 Add new testsuite.
This adds the DMD 2.064 test suite. It includes a workaround for a LLVM bug in the unit tests, too.
2013-11-08 14:40:45 +01:00
David Nadlinger
cb341586e3 First merge of 2.064 beta.
This corresponds to DMD commit a913ce4bc59a94a022a27e390fc841f4aededffb.

Doesn't build Phobos yet.
2013-10-29 19:21:15 +01:00
David Nadlinger
250f7fab27 ARM: Fold in druntime fixes. 2013-10-06 14:54:02 +02:00
kai
3b698fa2a1 Add FreeBSD files to druntime build 2013-08-24 17:13:42 +02:00
kai
9facd2592b Centralize version numbers.
The top level CMakeLists.txt file should be the only file containing version informations.
2013-06-23 16:08:21 +02:00
kai
f523583955 Add missing asm file to phobos lib 2013-06-01 23:44:13 +02:00
David Nadlinger
39313e7735 Ugly workaround for broken asm support in older CMake versions.
The only justification for this is the fact that we need it
to work for the release process.
2013-05-27 20:06:51 +02:00
David Nadlinger
00c073819f Avoid setting C compiler flags on threadasm.S. 2013-05-27 19:00:55 +02:00
David Nadlinger
adebe0a077 Merge pull request #322 from redstar/issue318
Workaround for issue #318.
2013-03-31 08:02:11 -07:00
kai
254c055169 Workaround for issue #318.
The std.range tests are failing because of a LLVM bug. See
PR15608 for deatils. The bug is fixed in LLVM 3.3.
The workaroung is to run the std.range test only with -O1.
2013-03-31 15:18:18 +02:00
kai
afb673e5a4 Add core/threadasm.S to druntime.
This is required for PPC and MIPS targets. Results in an empty
object file on other CPU architectures.
2013-03-30 14:29:58 +01:00
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