summaryrefslogtreecommitdiff
path: root/build.sh
AgeCommit message (Collapse)AuthorFilesLines
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
2016-08-23Fix the ninja build for FC23. (#6861)Pat Gavlin1-1/+8
Fedora installs ninja under the name `ninja-build` rather than `ninja`.
2016-08-23Fix ConfigureOnly option in build.shMichelle McDaniel1-1/+6
ConfigureOnly is intended to run the CMake to configure the build, but nothing else. However, when you passed configureonly to build.sh, it set __SkipConfigure=1, which made it skip the configure step of the build. This change fixes that by removing that option from the options set my configureonly, and adds a check right after configure and right before running the build to exit if we are only configuring.
2016-08-19Support MSBuild on opensuse.42.1-x64Eric Mellino1-0/+3
2016-08-03Modify rebuild scenario.Lakshmi Priya Sekar1-1/+1
2016-08-02Use absolute paths for specifying projects to build.Lakshmi Priya Sekar1-4/+3
2016-08-01Fix errors in build scripts from run tool update.Lakshmi Priya Sekar1-2/+2
2016-07-29Respond to PR feedback.Lakshmi Priya Sekar1-2/+3
2016-07-29Use run tool in coreclr dev workflow.Lakshmi Priya Sekar1-89/+31
2016-07-14Update to latest version of buildtoolswtgodbe1-4/+4
2016-07-08Resolve Python2.7 when executable is not called 'python'.Jostein Kjønigsen1-1/+24
2016-06-03Properly handle uname -p output that contains spacesPeter Foley1-1/+1
e.g. Intel(R) Xeon(R) CPU E5-2603 0 @ 1.80GHz
2016-05-31Support building on all supported distrosMatt Ellis1-7/+24
With the updated buildtools, we should now be able to build on all the supported distros: - Centos 7 - Fedora 23 - openSUSE 13.2 - RHEL 7.2 - Ubuntu 14.04 - Ubuntu 16.06 I also cleaned up how we compute the RID for the tools to restore.
2016-05-31Merge pull request #5189 from AlexGhiondea/buildPackageAlexGhiondea1-29/+4
Include the targeting pack in the build process.
2016-05-30Enable 'System.Private.CoreLib.dll' build on cross build mode (#5320)Jonghyun Park1-11/+11
Currently, build.sh uses 'BuildOS' and 'BuildArch' to determine whether it is possible to build 'System.Private.CorLib.dll'. This commit revises build.sh to use 'HostOS' and 'HostArch' instead of 'BuildOS' and 'BuildArch' when it checkes whether it is possible to build 'System.Private.CoreLib.dll', which allows to build 'System.Private.CoreLib.dll' in cross build mode.
2016-05-30Merge pull request #5240 from wateret/mscorlib-arm-softfpJan Kotas1-1/+1
Support CoreLib build for arm-softfp
2016-05-27Introduce a central packages.builds file that controls building the nuget ↵Alex Ghiondea1-29/+4
packages. This removes the need to have individual packages added to the build scripts to generate them.
2016-05-26Add Fedora, OpenSuse and Ubuntu 16.04 packagesMatt Ellis1-24/+13
- Add packages for Fedora 23 and OpenSuse 13.2 - Move the package authoring for Ubuntu into versioned folders - Update our selection logic for what to produce to be based on an actual RID instead of just a distro name, since that's now not enough with us building for two Ubuntu versions
2016-05-26Support CoreLib build for arm-softfpHanjoung Lee1-1/+1
`arm-softfp` CoreLib is same as `arm` version.
2016-05-23Merge pull request #5173 from kyulee1/ilasmpackKyungwoo Lee1-0/+16
ILAsm/ILDAsm Package
2016-05-23ILAsm/ILDAsm PackageKyungwoo Lee1-0/+16
Fixes #5172 This has dependency on CoreCLR. Use the same version 1.0.3 as CoreCLR. Tested both packages are produced in Windows/Linux locally.
2016-05-23Merge pull request #5042 from leemgs/upstream-display-clang-verAditya Mandaleeka1-1/+1
Linux/ARM: display default clang version info at build-time
2016-05-19Generate perfmap symbol file for System.Private.CoreLib.Brian Robbins1-0/+9
2016-05-18Skip configuration with skipnative option. (#5059)mkborg1-5/+5
Fixes #4022.
2016-05-18Linux/ARM: Display clang version info at build-timeGeunsik Lim1-1/+1
This is trivial patch. But, it helps that developers can know a default clang version that is used at build-time. Before PR: Please install clang before running this script After PR: Please install clang-3.5 before running this script Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
2016-05-17Linux/ARM: Change default clang version from 3.5 to 3.6 (#4928)Geunsik Lim1-2/+13
In case of the cross compilation on the ubuntu 14.04 x64 for Linux/ARM, the default version of clang/llvm that is generated by "#> sudo ./cross/build-rootfs.sh arm" command is 3.6 without 3.5 as following: u14.04@x64> ls ./coreclr/cross/rootfs/arm/usr/lib/clang/3.6 include lib u14.04@x64> ls ./coreclr/cross/rootfs/arm/usr/lib/llvm-3.6/ bin build include lib share Let's keep the clang/llvm version consistently by moving the default version from 'clang3.5' to 'clang3.6' at build-time for Linux/ARM. Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
2016-05-17Add dev workflow scripts for build pipelinewtgodbe1-2/+15
2016-05-17Merge pull request #4874 from gkhanna79/SPC_S1AlexGhiondea1-14/+21
Add support for System.Private.CoreLib to be core library
2016-05-17Merge pull request #4789 from sejongoh/always_download_coredistoolsSejong Oh1-2/+0
Always download coredistools package
2016-05-16Initial change to support System.Private.CoreLib.dll as Core Library.Gaurav Khanna1-14/+21
2016-05-16Always download coredistools packageSejong Oh1-2/+0
runtest.sh/cmd currently downloads the coredistools package if COMPlus_GCStress variable is set by TestEnv or test-env options. This is a bit complicated and this doesn't work with a new option for GC stress testing in build/buildtest.cmd. This changeset moves downloading the coredistools package to buildtest.cmd where it takes gcstress option and downloads other packages. Linux build doesn't have buildtest.sh, so package donwloading is still in runtest.sh