Commit Graph

287 Commits

Author SHA1 Message Date
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
David Nadlinger
9ac1582726 Update druntime/Phobos library version. 2012-09-07 03:51:31 +02:00
David Nadlinger
0fe41a1f30 druntime updates. 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
kai
76cf66f50b Expose LLVM as global version symbol.
Required because prototypes of intrinsics changed between 3.0 and 3.1.
2012-08-03 16:44: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
kai
2ae6b3962a Update to druntime (ldc.memory). 2012-07-15 11:33:28 +02:00