summaryrefslogtreecommitdiff
path: root/build.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-06-01Fix optdata restore functionality (#11935)Daniel Podder1-7/+10
Fix optdata restore functionality (#11935) Bring back optdata restore functionality following the move to 2.0 BuildTools and csproj-based CLI. Disable a harmless warning that broke the Linux build when consuming PGO counts due to -Werr. Fix #11796 for master
2017-06-01Support msbuildonunsupportedplatform on non-x64 architecture (#11966)Jonghyun Park1-3/+1
2017-06-01[Local GC] Scaffolding for loading a standalone GC (#11242)Sean Gillespie1-1/+1
* Configure the build system to build a CoreCLR capable of loading a standalone GC * Proto-implementation of dynamic GC loading * Build the GC with the VM's CMakeLists when doing a non-standalone build of the GC * [Local GC] Introduce a new feature define, FEATURE_STANDALONE_GC_ONLY, to be used by the CI to explicitly test local GC dynamic loading code paths * Fix the FEATURE_STANDALONE_GC_ONLY build for unix linkers * Rebase against master * Code review feedback: use the existing Unix exports file
2017-05-31Default to portable build in dev and official builds (#11985)Gaurav Khanna1-4/+13
2017-05-22Revert "Fixed tests build on Linux"Russ Keldorph1-2/+3
2017-05-19Test build fixes for LinuxRoman Artemev1-3/+2
2017-05-06Log Events to EventPipe on Linux (#11433)Brian Robbins1-0/+32
* Implement the EventPipe object model for providers and events. * Plumb Runtime Events into EventPipe (#11145) Plumb runtime ETW events into the EventPipe. * Fix bug where all events except for SampleProfiler events were never enabled. * Plumb EventPipeEventInstance through the EventPipe. * Implement EventPipeFile and FastSerializer. * Write event contents to the EventPipeFile. * Only build EventPipe on Linux. * Conditionally add a sentinel value marking event end. * Send SampleProfiler events to the EventPipeFile. * Fix provider ID printing to JSON file. * Write the start date/time, timestamp, and clock frequency into the trace file. * Support unloading of EventPipeProviders. * Handle failure cases when we can't walk the stack or are shutting down. * Fix a bug where we pass a null src pointer to memcpy.
2017-04-27[WIP] Enable binding to CoreLib as NI image (#11040)Gaurav Khanna1-2/+2
Enable binding to CoreLib as NI image
2017-04-26Enable build with clang 4.0 (#11226)Jan Vorlicek1-0/+5
This change enables build with clang 4.0 and fixes a bunch of new errors that the stricter compiler was reporting.
2017-04-25[ARM32] clang 3.9 as a default for ARM cross build (#11064)Hyung-Kyu Choi1-2/+15
* [ARM32] clang 3.9 as a default for ARM cross build Use clang 3.9 as a default compiler for ARM cross build * Both arm and armel will be built using clang 3.9 as a default * ARM CI will use clang 3.9 as a default * ARM pipieline build will use clang 3.9 as a default Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com> * [ARM32] Update docs describing clang-3.9 and ARM cross build Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com> * [ARM] Check minimum version requirement of clang for ARM cross build Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
2017-04-17Allow build.sh to have multiple cmakeargs options (#10962)Jonghyun Park1-1/+1
2017-04-06remove fedora 23 (#10725)Dan Moseley1-2/+2
* remove fedora 23 * Fedora rename
2017-03-22Various fixes for generating portable RID packages (#10409)Gaurav Khanna1-1/+1
2017-03-22Unify command line arg for portable RID build (#10408)Gaurav Khanna1-1/+1
2017-03-22Enable Portable Windows RID (#10365)Gaurav Khanna1-12/+11
* Enable Portable RID support for Windows and OSX.
2017-03-17fix syntax error in build.sh (#10256)Buyduck1-1/+1
2017-03-16Add IBC support to managed build (#10180)Daniel Podder1-6/+19
Add a new build switch, `ibcinstrument`, that adds `/Tuning` on the `crossgen` command line when building System.Private.CoreLib and its peers. Automatically consume IBC optdata during builds when these conditions are met: 1. `ibcinstrument` is *not* passed to the build, 2. optdata is available 3. ibcmerge is available Note that `optdata` will not yet be restored with this change; once packages for master are made available, a new package reference will still need to be added. This PR attempts to unblock manually testing IBC, as well as surrounding CI/infrastructure work. To help produce an IBC-optimized build using manually generated profile data, run the newly added `tests/scripts/optdata/bootstrap.py` script. It will configure the build to consume IBC data from a path automatically, and print out that path where profile data can be copied.
2017-03-16Delete mscorlib facade (#10157)Jan Kotas1-7/+0
Fixes #7607
2017-03-07Port Windows PGO support to master (#9985)Daniel Podder1-2/+32
The bulk of this PR is a cherry-pick of commit fa02660 that shipped in release/1.1.0, updating the build system support for PGO to support consuming PGDs properly during release builds on Windows. Also included are the following new changes: * Skip restore of opdata if the requisite project.json is missing * If the optdata package restore fails, fail the build. * Add new build option: 'skiprestoreoptdata' Note: This change doesn't by itself enable PGO in master yet, because training data (optdata packages) for master don't exist on myget yet. However, with these changes, the only step remaining to enable PGO optimizations is to add a project.json referencing the correct optdata package.
2017-03-06Add stripSymbols argument; refactor symbol package build (#9664)Davis Goodin1-4/+9
* Add argument to explicitly enable symbol stripping * Refactor symbol package build * Remove unnecessary native file distinctions * Remove unnecessary WindowsSymbolFile step
2017-02-16Remove all references to OpenSuse13.2wtgodbe1-3/+0
2017-02-13Merge branch 'master' of https://github.com/dotnet/coreclr into ↵Christopher Costa1-1/+2
refactor_packaging
2017-02-13Respond to PR feedbackChristopher Costa1-40/+37
2017-02-10[Arm64/Unix] Remove aarch64 unsupported message (#9508)Steve MacLean1-1/+0
2017-02-10[Linux/ARM] Fix cross-architecture component build error: disable unused ↵Hyeongseok Oh1-0/+2
code (#8866) * [ARM32/Linux] Fix cross-architecture component build error: unused function comparing CONTEXT with T_CONTEXT. - change build script: remove duplicate test build in cross-component build
2017-02-01Update usage infoChristopher Costa1-1/+1
2017-01-31Refactor coreclr packagingChristopher Costa1-37/+45
2017-01-23[Local GC] Provide an implementation of GCToOSInterface for Unix-like ↵Sean Gillespie1-1/+4
platforms (#8976) * Add way to build with FEATURE_STANDALONE_GC from build.sh * Make CMake changes to build the GC 'PAL' as its own build target (to avoid -nostdinc). In addition, introduce a "GC PAL" that provides an implementation of GCToOSInterface on Unix-like platforms, for use with FEATURE_STANDALONE_GC.
2017-01-23Treat RHEL 7.x versions as RHEL 7 when buildingOmair Majid1-1/+1
All RHEL 7.x versions are backwards compatible with each other. A .NET Core build from 7.2 works fin on RHEL 7.3, for example. Treat this as a general case and handle all 7.x versions the same. This change only affects whether packages are built or not.
2017-01-06Use POSIX "command" instead of non-standard "which" (#8823)Jürgen Hötzel1-15/+3
GNU which might not be installed on a minimal GNU/Linux installation. Refs #6994 and #7025.
2017-01-05Use x86 crossbuild for cross-architecture component on x64-linux (#8722)Hyeongseok Oh1-13/+44
* Use x86 crossbuild for cross-architecture component on x64-linux Fix build.sh and build system generator to use x86 cross-build system on x64-linux - x86-host/ARM32-target cross-architecture component build on x64 linux - use x86 root file system and cross buildtool * Modify build.sh - define new function: build_cross_arch_component - fix typo * Additional fix: build.sh add usage description - environment variable: CAC_ROOTFS_DIR - argument: crosscomponent
2017-01-05Use armel instead of arm-softfp (#8771)Hyung-Kyu Choi1-3/+3
* Use armel instead of arm-softfp for CoreCLR - Update scripts for rootfs, build, build system generation and CI - Update managed build project - Rename rootfs directory - Fix bug in rootfs script related to lldb package lldb package only usable lldb-3.5-dev for jessie/arm-softfp We cannot get lldb-3.6-dev or lldb-3.8-dev from jessie/arm-softfp repository Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com> Singed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com> * Update ARM32 CI script We don't need a patch anymore, because we fixed cmake file. Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
2016-12-16Packaging support for portable Linux binaries.Gaurav Khanna1-2/+18
2016-12-16Fix buildsystem for linux cross-architecture component build (#8646)Hyeongseok Oh1-24/+74
* Fix buildsystem for linux cross-architecture component build * refactoring build.sh, bug fix and typo fix * Update build.sh
2016-12-12Merge pull request #8421 from hseok-oh/enable_arm_linux_nupkgGaurav Khanna1-7/+28
First step to create nuget packages for ARM32/Linux
2016-12-09Fix incremental build when dummy version.cpp is generated (#8547)Jan Vorlicek1-3/+9
This change fixes a problem with incremental build on Unix. When the version.cpp is generated by the build.sh as a dummy one with no real version stamp in it, it is recreated every time the build.sh is run. That means that build needs to rebuild that file and also re-link all the components that include it. This change tests the file presence and contents before actually regenerating it.
2016-12-05Change order in .builds and .pkgproj, fix build.sh for not modifying dir.propHyeongseok Oh1-14/+21
2016-12-02First step to generate nuget package for ARM32/LinuxHyeongseok Oh1-1/+15
2016-11-29Fix shared library dependencies verification on some platforms (#8349)Jan Vorlicek1-8/+0
The existing way of verifying shared library dependencies, used for System.Globalization.Native.so, doesn't work on platforms that don't have ldd or where ldd doesn't support the `-r` option. This change makes the check happen on non-Alpine Linux only for now. It also refactors the way the check is performed. Instead of doing it post build in the build.sh, it is now performed as a postbuild phase of the System.Globalization.Native target and it is also generalized so that we can easily add such verification to other build targets. The new verify-so.sh script is also used in corefx.
2016-11-25Configures tests even when configureonly is provided (#8308)Jonghyun Park1-1/+0
The current script does not configure tests when configureonly is provided. This commit revises 'build.sh' to configure tests even when configureonly is provided. This commit makes it possible to build tests (including related components) via configuring the whole projects and running make inside that directory.
2016-10-27Add verification of System.Globalization.Native.so symbols (#7848)Jan Vorlicek1-0/+9
This change adds check of undefined dependencies of the System.Globalization.Native.so to the build.sh. The recent change that made the ICU APIs resolving driven by the shared library itself creates a potential for someone adding usage of an ICU API that is not defined in the icushim.h. With this change, such problem will be caught during the build and cause it to fail.
2016-10-17Allow Alpine to build System.Private.CoreLibEric Mellino1-0/+3
2016-10-04Add PGO GENPROFILE support to coreclr and clrjit (#7423)Daniel Podder1-2/+9
* 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-09-01Revert "Avoid using 'which' for verifying prereqs"Jan Kotas1-7/+11
2016-08-31Merge pull request #6943 from mellinoe/fedora-24Eric Mellino1-0/+3
Add fedora24 native packages
2016-08-31Avoid using 'which' for verifying prereqs (#6994)Aditya Mandaleeka1-11/+7
* Use hash instead of which in build.sh * Use hash instead of which in init-tools.sh. * Use hash instead of which in gen-buildsys-clang.sh.
2016-08-26Allow Fedora 24 to use MSBuild in build.shEric Mellino1-0/+3
2016-08-24Allow Ubuntu 16.10 to use MSBuild (#6897)Eric Mellino1-0/+3
2016-08-23Allow to use clang 3.9 in build.sh (#6888)Łukasz Domeradzki1-0/+5
Can be found e.g. in Debian Sid.
2016-08-23Merge pull request #6858 from adiaaida/fixBuildshMichelle McDaniel1-1/+6
Fix ConfigureOnly option in build.sh