Commit Graph

311 Commits

Author SHA1 Message Date
kai
b2f4ac0772 Do not mix release and debug build for MSVC 2013-01-26 15:52:55 +01:00
kai
ad4e0e57d2 Added new LLVM 3.3 intrinsics 2013-01-25 19:42:19 +01:00
David Nadlinger
81aee147cf Fold in ctlz/cttz updates. 2013-01-12 01:23:55 +01:00
David Nadlinger
dc7e328356 Merge druntime TypeInfo declaration fix.
GitHub: Fixes #250.
2012-12-31 05:57:05 +01:00
kai
ce47e5a083 Change in core.stdc.stdarg for PPC64 2012-12-30 17:18:11 +01:00
kai
b571d7a6c5 Add core.stdc.stdarg support for PPC64 2012-12-29 02:47:54 +01:00
kai
7b5055b2a2 Started to add support for PPC64 in druntime 2012-12-28 05:50:50 +01:00
David Nadlinger
03c77865d0 Fix parallel druntime/Phobos build. 2012-12-19 01:50:48 +01:00
David Nadlinger
9cfda3a6e9 Also merge ldc.* DDoc fixes into master. 2012-12-17 22:58:29 +01:00
kai
25e229b7bd Druntime update on llvm.intrinsics 2012-12-16 18:04: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
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