summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2016-10-15Few more fixes for WinArm32 CI build.Gaurav Khanna1-2/+9
2016-10-04Add PGO GENPROFILE support to coreclr and clrjit (#7423)Daniel Podder1-0/+5
* Add PGO GENPROFILE support to coreclr and clrjit Update the cmake build system to enable support for Profile Guided Optimization (PGO) on Windows, and enable this feature for two target binaries (coreclr and clrjit). With this change, toggle between instrumented and profile-optimized settings for target binaries by passing pgoinstrument argument to the build.cmd Assume profile-optimized mode by default. Fall back to regular non-PGO optimized builds if profile data is not available.
2016-10-04Add support for Alpine Linux (#7440)Jan Vorlicek1-1/+11
This change enables build of CoreCLR on Alpine Linux. Here is the list of changes: - Disable asserts checking RSP in arbitrary threads against cached stack limit for the respective thread. The stack on Alpine obviously grows over the limit reported by the pthread functions. - Disable using XSTATE. This should be re-enabled after MUSL gets the _xstate, _fpx_sw_bytes and related data structures added to the signal.h header. - Disable setting rlimit of RLIMIT_NOFILE to the max value, since it breaks debugging for some reason. - Add skipping over the hardware signal trampoline in the PAL_VirtualUnwind. While we were not trying to walk over it in a simple case, in a case where an exception was thrown from a catch handler of a hardware exception, we still attempted to walk over it and it fails on Alpine. - Fix detection of Alpine Linux in the PAL's CMakeLists.txt so that it works in Docker containers too. - Modified PAL_VirtualUnwind to make the check for unwinding past the bottom of the stack unconditional. We had a long list of platforms where we were doing this check and it doesn't hurt to do it on platforms where it is not needed. I have done that rather than adding a check for Alpine Linux as another platform that needs it.
2016-08-24Some minor changes.Gaurav Khanna1-3/+5
2016-08-23Initial commit to build Win32 Arm CoreCLRGaurav Khanna1-2/+20
2016-07-06Fix incremental build problem for cross-componentsRahul Kumar1-39/+0
2016-06-29Merge pull request #6041 from adityamandaleeka/fix_strip_logicAditya Mandaleeka1-10/+14
Fix platform logic in symbol stripping code
2016-06-28Fix platform logic in symbol stripping code.Aditya Mandaleeka1-10/+14
2016-06-23Merge pull request #5937 from ellismg/pass-build-id-flag-to-linkerMatt Ellis1-1/+3
Pass --build-id=sha1 to linker explicitly
2016-06-23Scripts: verify compiler definitions of native and managed (#4675)MyungJoo Ham1-0/+2
* Scripts: find out compiler definitions of CMake In order to find mismatch between native and managed, we need to know the list of definitions of native. The copmiler definitions are stored at cmake.definitions This addresses the complaints of #4674 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> * Scripts: add check-definitions.py scripts/check-definitions.py checks the consistency between the native-build (CMake) compiler definitions and the managed-build (MSBuild/mscorlib) compiler definitions at build-time and prints out potentially dangerous inconsistencies. In order to get the proper results, managed build should be executed after the native build (build.sh will do so if no options such as skipnative or skipmanaged are given.) Fix #4674 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> * Scripts: allow check-definitions py to ignore the harmless The third argument of check-definitions.py specifies harmless keywords to be suppressed from emitting warning messages. Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> * Scripts: add ignored cdefine keywords for warning As an example of how to declare compiler definition keywords that are harmless to be inconsistent between the native and the managed, we have added FEATURE_IMPLICIT_TLS and FEATURE_HIJACK. Developers may add more keywords in System.Private.CoreLib.csproj if the keywords are verified to be harmless; i.e., although the keywords exist in both cmake and clr.coreclr.props, the keywords are NEVER used in either side of the sources or the keywords only happen to have the same name while they denote the completely different semantics and may be disjoint. Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2016-06-22Pass --build-id=sha1 to linker explicitlyMatt Ellis1-1/+3
On some platforms, a build-id was not being added to native artifacts and we would like it to be present. Explicitly pass --build-id=sha1 to the linker. Fixes #5796
2016-04-26This has following changes:Rahul Kumar1-23/+14
1. Update arm64 toolset to latest. 2. Link against ucrt. 3. Fix tls offsets which have changed due to updated toolset 4. Fix source code in decimal.cpp to avoid integer overflow. Result of signed integer overlfow is undefined in C++. 5. Enable build of sos which can be loaded in arm64 windbg 6. Add nop to empty assembly marker methods as new toolset generates invalid .pdata for them.
2016-04-21Adding Versioning to Native components in non-Windows builds. (#4393)Jose Perez Rodriguez1-0/+1
Adding Versioning to Native components in non-Windows builds.
2016-04-18enable build of cross target components.Rahul Kumar1-702/+355
Currently only enabled for arm64
2016-04-18Merge pull request #4247 from leemgs/upstream-cross-toolchain-unify2Jan Kotas1-2/+2
Linux/ARM: Unifying the redundant usages of objcopy
2016-04-18Merge pull request #4312 from mjsabby/muks/enable_rejit_xplatnoahfalk1-5/+3
Enable ReJIT on all platforms
2016-04-18Merge pull request #4394 from gkhanna79/VCRTArm64FixRahul Kumar1-25/+28
Fix Arm64 break
2016-04-18Fix Arm64 breakGaurav Khanna1-25/+28
2016-04-18Merge pull request #4370 from krytarowski/netbsd-support-64Aditya Mandaleeka1-1/+5
Print message about detected NetBSD
2016-04-16Cleanup VCRuntime140.dll dependency from native componentsGaurav Khanna1-3/+21
2016-04-15Print message about detected NetBSDKamil Rytarowski1-1/+5
2016-04-15Merge pull request #4359 from gkhanna79/ROLibFix2Gaurav Khanna1-1/+1
DelayLoadAndFixWinRTInterop
2016-04-15DelayLoadAndFixWinRTInteropGaurav Khanna1-1/+1
2016-04-14Make it possible to build JIT32 in the OSS tree.Pat Gavlin1-0/+6
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-04-13Enable ReJIT all on platformsMukul Sabharwal1-5/+3
2016-04-12Merge pull request #4074 from kouvel/SoftwareWriteWatchKoundinya Veluri1-0/+3
Implement software write watch and make concurrent GC functional outs…
2016-04-12Implement software write watch and make concurrent GC functional outside WindowsKoundinya Veluri1-0/+3
- Implemented software write watch using write barriers - A new set of write barriers is introduced, each corresponding to an existing one, but which also updates the write watch table. The GC switches to a write watch barrier during concurrent GC, and switches back to a non write watch barrier after the final query for dirty pages. - The write watch table is alloacted along with the card table - Since the card table is used differently, different synchonization is used for the write watch table. The runtime is suspended during resize since that is the most infrequently occuring operation, of that, ResetWriteWatch, and GetWriteWatch. - ResetWriteWatch() doesn't need a suspend, but since the software WW version is much faster than the Windows version, moved it into the suspended region to avoid some synchronization that would otherwise be required - The background calls to GetWriteWatch() don't need or do a suspend. They only need to synchronize with the resize path, not for the purpose of correct functionality, but to not miss dirty pages such that concurrent GC is effective. Miscellaneous: - Fixed runtests.sh to copy mscorlib.dll and delete the Windows version of mscorlib.ni.dll
2016-04-09Pass noexecstack option to the assembler on LinuxJan Kotas1-0/+4
2016-04-09Linux/ARM: Unifying the redundant usages of objcopyGeunsik Lim1-2/+2
Let's remove the redundent file names using unified structure. Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
2016-04-07Merge pull request #4106 from janvorli/add-hosting-api-headerJan Vorlicek1-7/+1
Add header file for the hosting API
2016-04-06Merge pull request #4078 from joperezr/AddVersioningInOpenBuildsJose Perez Rodriguez1-0/+1
Adding Common versioning to managed and Native components of coreclr
2016-04-06Merge pull request #3929 from papaslavik/arm_softfpBruce Forstall1-1/+6
Arm softfp For Issue #3785
2016-04-06Adding Common versioning to managed and Native components of coreclrJose Perez Rodriguez1-0/+1
2016-04-06Add header file for the hosting APIJan Vorlicek1-7/+1
Add the header file and also modify coreruncommon.cpp to use it.
2016-04-05Leave function name symbols in binaries when stripping out debug information.Brian Robbins1-1/+1
2016-04-05For Issue #3785 Arm Soft FP support: arguments and return values are passed ↵Andrey Kvochko1-1/+6
in integer registers for arm-softfp architecture.
2016-04-04Fix if/endif argument mismatch in CMake.Aditya Mandaleeka1-1/+1
2016-04-01Disable FEATURE_STUBS_AS_IL on ARM 32-bitManu1-2/+2
This enables open delegates on ARM (an additional 43 tests are now passing)
2016-03-28objcopy: Support cross-build for stripping symbolsGeunsik Lim1-6/+14
Currently, the 'objcopy' does only support native-build since the commit number 4efef62f0ead16b4f8ca2c6ccf0a77ce112f73b9 Let's add cross-build as well as native-build to strip symbols. v3: - support if statement for arm64 v2: - Replace 'EQUAL' with 'DEFINED' for handling Other Linux distributions as well as Ubuntu 14.04 and for handling in case of native-build. v2: - support cross-build to strip debug symbols of native arm binaries Signed-off-by: Geunsik Lim geunsik.lim@samsung.com Signed-off-by: MyungJoo Ham myungjoo.ham@samsung.com Signed-off-by: Prajwal A N an.prajwal@samsung.com
2016-03-24Delete legacy netcf compat support (final part)Jan Kotas1-3/+0
2016-03-23Merge pull request #3888 from jkotas/platform-assembliesJan Kotas1-4/+0
Remove special casing of platform assemblies
2016-03-23Remove special casing of platform assembliesJan Kotas1-4/+0
2016-03-22Enable compiling ReJIT functionality in CoreCLRmjsabby1-0/+7
2016-03-22Strip symbols on release builds into separate binariesMike McLaughlin1-0/+84
Issue #3669 Created a common cmake strip_symbols function that all the modules and programs use to strip the symbols out of the main into a separate .dbg (Linux) or .dSYM (OSX) file. Added an install_clr cmake function to encapsulate the install logic. Changed all the library module cmake install lines from a TARGETS to a FILES one. The TARGETS based install directives caused cmake to relink the binary and copy the unstripped version to the install path. Left the all programs like corerun or ildasm as TARGETS installs because on OSX FILES type installs don't get marked as executable. Need to use "get_property(strip_source_file TARGET ${targetName} PROPERTY LOCATION)" for the older versions of cmake and "set(strip_source_file $<TARGET_FILE:${targetName}>)" on newer versions (v3 or greater).
2016-03-15Prune Windows mscorlibJan Kotas1-17/+0
In model.xml, I went over: - FEATURE_ conditions that are disabled on Unix - FEATURE_ conditions related to NetCF - All ApiFxInternal methods And flipped most them either to public, ImplRoot or deleted them. Testing: Run all open CoreCLR and CoreFX tests, built legacy build razzle [tfs-changeset: 1586209]
2016-03-07Merge pull request #3441 from ramarag/pal_longfileRama krishnan Raghupathy1-0/+1
Enabling LongFile Support in PAL
2016-03-07Enabling LongFile Support in PALDDCloud1-0/+1
2016-03-05Replace all uses of __LINUX__ with the lower caseGeunsik Lim1-1/+0
According to https://sourceforge.net/p/predef/wiki/OperatingSystems/ (Pre-defined Compiler Macros) and http://www.faqs.org/docs/Linux-HOWTO/GCC-HOWTO.html (Porting and compiling:Automatically defined symbols), the __linux__ marcro is the right way to detect systems based on the Linux kernel and is the POSIX compliant. Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2016-03-04Merge pull request #3507 from gkhanna79/OneCore2Gaurav Khanna1-0/+10
Fix CRT linkages for uCRT
2016-03-04Fixup CRT linkages for uCRTGaurav Khanna1-0/+10