summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2016-06-23Build the GC as part of its own CMake target (#5932)Sean Gillespie1-0/+1
2016-04-21Adding Versioning to Native components in non-Windows builds. (#4393)Jose Perez Rodriguez1-2/+10
Adding Versioning to Native components in non-Windows builds.
2016-04-18enable build of cross target components.Rahul Kumar1-0/+8
Currently only enabled for arm64
2016-04-14Make it possible to build JIT32 in the OSS tree.Pat Gavlin1-0/+5
This change adds a new argument to build.cmd, buildjit32, that configures the build to build and link JIT32 instead of RyuJIT if the sources are available in `src/jit32`.
2016-02-14Fix build issue on NetBSD: Remove unneeded -nostdinc++ flagKamil Rytarowski1-5/+0
This flag isn't recognized by clang on NetBSD: clang-3.9: warning: argument unused during compilation: '-nostdinc++' $ pkg_info |grep -E 'lldb|llvm|clang' llvm-3.9.0nb20160213 Low Level Virtual Machine compiler infrastructure clang-3.9.0nb20160213 C language family frontend for LLVM lldb-3.9.0nb20160213 next generation, high-performance debugger $ uname -a NetBSD chieftec 7.99.26 NetBSD 7.99.26 (GENERIC) #0: Wed Feb 10 21:58:18 UTC 2016 root@chieftec:/tmp/netbsd-tmp/sys/arch/amd64/compile/GENERIC amd64 This flag was disabled also for Darwin in #125 by @jkotas
2016-01-21Generating Event Logging Headers From CMake for LinuxDDCloud1-16/+50
Conflicts: build.sh
2016-01-21FIx the incremental build for WindowsJan Vorlicek1-1/+36
Conflicts: build.cmd src/dlls/clretwrc/CMakeLists.txt Cleanup
2016-01-10Use ARCH_SOURCES_DIR consistentlyMike Danes1-13/+1
Some places already use ARCH_SOURCES_DIR for things like include_directories but others test the platform/arch variables to figure out the dir. Use ARCH_SOURCES_DIR everywhere for consistency.
2015-12-28Automating Event Logging Infrastructure: With this change the infrastructure ↵Rama1-0/+1
required for Event Logging will be generated as part of build
2015-12-11Enable ILASM for *nixKyungwoo Lee1-1/+1
This enables ILASM for x-platforms. 1. Added a bunch of warning disable options mostly due to this prebuilt asmparse.cpp 2. Create a separte entry point "main" to pass WCHAR arguments. 3. PDB (CorSymWriter) part is disabled. 4. Converting/embedding resource file to binary is disabled. 5. jkotas kindly provided a code for IsTextUnicode which is unavailable on CoreCLR.
2015-12-09Enable ILASM for WindowsKyungwoo Lee1-0/+1
This enables ILASM/mscorpe on CoreCLR for Windows. 1. Fusion/StrongName(Full Sign) dependencies are removed since these are not CoreCLR features. 2. mscorpe is statically built/linked to ilasm. 3. asmparse.c is auto-generated by an internal version of yacc so I added it under prebuilt directory for now. Will create an issue so that we can build it using a standard tool like bison.
2015-12-03Refactoring resource stringKyungwoo Lee1-0/+34
This pulls out resource string handling out of mscorrc into top level. The scripts (awk) are now parameterized to generate a unique string table for the given name. Added resourcestring.cpp to create an API "LoadResourceString". Added a few macros into resourcestring.h, which are used for definition/uses of the string table.
2015-11-25Enable ILDASM for WindowsKyungwoo Lee1-0/+1
This enables building ILDASM with Cmake for Windows. This ILDASM now depends on CoreCLR targeting cross-platform and thus I dropped some features like GUI/PDB -- default output is console. Metadata related APIs in CoreCLR are directly exported, and used in ILDASM: MetaDataGetDispenser GetMetaDataInternalInterface GetMetaDataInternalInterfaceFromPublic GetMetaDataPublicInterfaceFromInternal The code path is diverged by a definition FEATURE_CORECLR. There are still Window specific components. Among others, resource file/dll generation is the one that should be ported.
2015-08-22Enable gcroot and other gc related sos commands.Mike McLaughlin1-1/+5
The "gcroot" command currently doesn't work with lldb 3.6 (our default package), but works fine with lldb 3.7.0. lldb 3.6 terminates with (lldb) sos GCRoot 00007fffcc004ce8 *** Error in `lldb-3.6': munmap_chunk(): invalid pointer: 0x000000000184cde8 *** PAL_STDCPP_COMPAT is the define that the VS team added to allow the xplat headers to be used. This is neccessary for the whole SOS directory now because gcroot and other gc commands need unorderd_map, unorderd_set, etc. from the stdlib. Had to change all wchar_t to WCHAR because the xplat stdlib default is UTF32. Had to rename and provide macros that conflict with the stdlib: wcslen -> _wcslen wcsncmp -> _wcsncmp wcsrchr -> _wcsrchr wcscmp -> _wcscmp wcschr -> _wcschr wcscspn -> _wcscspn wcscat -> _wcscat __in -> ___in __out -> ___out max(a, b) -> _max(a, b) min(a, b) -> _min(a, b) Had to ifdef PAL_STDCPP_COMPAT a lot more of pal.h, palrt.h and some other header files. Changed a bunch of L"" to W("").
2015-08-04Enable the Windows x86 buildMike Danes1-1/+3
This allows building the Windows x86 version of CoreCLR by using "x86" for the BuildArch parameter of build.cmd. Note that CMAKE_SYSTEM_PROCESSOR is no longer used in Windows builds to set IS_64BIT_BUILD. This change is enough to get CoreCLR to build but more changes are required for it to actually run correctly. In particular, the JIT compiler support for x86 is pretty limited at this point.
2015-07-27[aarch64] Initial aarch64/linux bring upGeoff Norton1-1/+3
2015-07-24Add ARM target for CoreCLR on Linux.Ben Pye1-1/+8
c_runtime/vprintf/test1 is disabled as casting NULL to va_list is against the C specification. Fix SetFilePointer tests on 32 bit platforms. Define _FILE_OFFSET_BITS=64 so that we have long file support on 32 bit platforms. Implement context capture/restore for ARM. Link libgcc_s before libunwind on ARM so C++ exceptions work. Translate armasm to gas syntax. Specify Thumb, VFPv3, ARMv7 for the ARM target. Add ARM configuration to mscorlib build Implement GetLogicalProcessorCacheSizeFromOS in PAL. Set UNWIND_CONTEXT_IS_UCONTEXT_T from configure check.
2015-04-28Build crossgen for LinuxJohn Chen (JOCHEN7)1-1/+1
- Crossgen is now built as part of coreclr - Crossgen successfully compiles mscorlib.dll - Resulting mscorlib.ni.dll not yet usable
2015-02-23Merge remote-tracking branch 'upstream/master' into soscommand1Mike McLaughlin1-11/+8
2015-02-20Reimplement native exception handling for PALJan Vorlicek1-11/+8
This change removes the preexisting exception handling in PAL that was simulating Windows SEH using a lot of low level machinery. The only remaining part is the code that raises the exception and that extracts the exception context information. The PAL_TRY, PAL_EXCEPT, PAL_FINALLY, ... macros are reimplemented using plain C++ exception handling.
2015-02-12These changes are the beginning of the SOS for coreclr under lldb. It isn't ↵mikem83611-1/+1
finished or working yet. The sos plug in is broken into two modules: 1) The lldb plugin (sosplugin) module that is built with the lldb h and lib files. This module dynamically loads the sos module and finds the subcommand argument as a symbol export like windbg does for it's extensions. So "sos IP2MD 0x100000" loads sos, finds the export "IP2MD" and calls it with the rest of the command and a "IDebugClient" instance. This instance is a small subset of the the various dbgeng's API's implemented under lldb without any COM to keep things simple. OPEN ISSUE: This module's build depends on the lldb API includes and the lldb library. Need to figure out the best way to deal with the dependency on the lldb source. 2) The sos module (sos) module that is the strike source built under linux. Currently only the IP2MD command is built and the support/utility functions it needs. It dynamically loads the DAC (libmscordaccore.so) and queries the IXCLRDataProcess interface via the DAC's CLRDataCreateInstance export. OPEN ISSUE: Where and how to search for the sos/dac modules. Currently have a hard coded path to the binaries. It probably should be the directory the plug in (sosplugin) is loaded.
2015-02-07Remove excess arguments to endfunction() and else()Ben Boeckel1-1/+1
Arguments to else() are always confusing and endfunction only needs to match the first argument.
2015-02-06-nostdinc++ is not recognized by apple clang, but its also not neededGeoff Norton1-2/+6
2015-02-06Fix several warnings in Linux buildJan Vorlicek1-2/+4
1) Usage of partially uninitialized variable when the compiler didn't know the condition is always true. This condition was calling a VolatileRead and only the VolatileRead actually matters so that right PDB annotation is generated and not optimized out in debug optimized builds. So I've removed the if. 2) Usage of nostdinc++ option as a general option - it complained when building C files 3) Usage of an unknown warning disabling compiler option with clang 3.5. The option was needed for clang 3.5.1 and later. 4) Usage of partially uninitialized variable in daccess.cpp - there is a code path that the compiler can see that doesn't initialize the status variable. 5) Empty body of a for loop warning in one or two PAL tests. [tfs-changeset: 1411579]
2015-02-03Move the windows unwinder code out of the debug folder.Jan Vorlicek1-0/+1
It is a preparation for using the DAC unwinder code as an unwinder for the jitted code on Linux, because the jitter generates windows style unwind info. The unwinder is build as a static library and linked to mscordac. [tfs-changeset: 1409640]
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot1-0/+42
[tfs-changeset: 1407945]