summaryrefslogtreecommitdiff
path: root/init-tools.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-03-01Use arcade's version of dotnet to build (#22755)Steve MacLean1-88/+70
* Use arcade dotnet * Add cmake_msbuild.cmd Move msbuild.cmd to cmake_msbuild.bat Document intent that this file is only used to resolve Windows cmake dependency on desktop msbuild.exe Remove one instance of msbuild.cmd * Fix inittools.cmd * Remove spurious setup_vs_tools.cmd calls
2018-10-26fixes to build properly on FreeBSD (#20588)Tomas Weinfurt1-1/+4
* fixes to build properly on FreeBSD * remove ulimit from freebsd branch
2018-08-24Use runtest.py to run tests for all platforms (#19213)Jarret Shook1-20/+34
Change build-test.sh to always build the xunit wrappers. Before it would drop a token and check the existence of the token. Unify x64 linux/OSX/Windows excludes into one file, issues.targets. Includes different locations in the file which show where to put excludes. Remove all target specific aspects of issues.targets, all tests are excluded now via wildcard, this allows expanding to .cmd and .sh based on the built platform. Unify path separators to forward slash(/) in issues.targets to support both platforms Clean up issues.targets by removing long standing exclude tests, specifically tests that have been excluded due to missing features like rva_statics. Add DisableProjectBuild to tests which have been removed from issues.targets Conditionally add DisableProjectBuild to tests which have been marked as unsupported on unix. This is mostly a port of the unsupportedOnUnix.txt list. Instead of excluding the tests, unix will simply not build them. If tests are built on windows, they will be run but they will return pass, the test wrapper will check return instantly. All exclusions ported to issues.targets for linux targets. Expand runtest.py, this includes simple issues that made it past the original CR. In addition it adds more optional features to help with inner loop dev work such as: creating a repro folder under bin/repro/.. which sets up the env and calls the failing test. In addition a launch.json will now be created under bin/repro/.. which can be used to easily debug using vscode. More logging, such as printing failures, longest running tests ect. Initial excludes ported for arm64 windows Arm64 linux, armhf unix excludes and enables running runtest.sh for these targets. arm64 windows and arm32 windows excludes and enables running runtest.cmd on arm64 targets init-tools.sh changes to pull armhf and aarch64 dotnetcli init-tools.cmd changes to pull x86 packages for dotnetcli for arm64 windows runtest.cmd for almost all scenarios will call runtest.py runtest.sh for almsot all scenarios will call runtest.py Removes all logic for running tests using runtest.sh
2018-08-09Updating init-tools to be inline with the CoreFX copyTanner Gooding1-0/+6
2018-06-22Pass RID to crossgen (#18592)Adeel Mujahid1-4/+4
2018-04-23Remove Alpine 3.6 buildsWes Haggard1-3/+1
The alpine 3.6 builds have been replaced with the more generic linux-musl builds so removing them.
2018-03-28Sync init-tools scripts with what is in source-buildWes Haggard1-42/+43
2018-03-09Revise init-tools.sh to support bootstrappingSteve MacLean1-6/+16
Add $DotNetBootstrapCliTarPath Disable ILAsm nuget fetch while bootstrapping
2018-01-30Building non-Windows builds using the CLI's MSBuild (#16101)Jose Perez Rodriguez1-2/+2
* Building non-Windows builds using the CLI's MSBuild
2017-12-18Put ToolDir property back on restore commandChad Nedzlek1-2/+2
2017-11-22Ask buildtools to also restore ILAsm (#15103)Michal Strehovský1-0/+10
We should start with having this restored before we start using it to make sure that nobody has tools downloaded/initialized without ILAsm.
2017-10-30Add retry logic for setup of dotnet clidseefeld1-9/+35
2017-10-30Move CoreCLRPackageVersion property useageWes Haggard1-6/+6
Also did some small clean-up: Fix missing tag from bad merge Fix spacing in init-tools.sh
2017-10-30Align init-tools scripts with other source-build reposWes Haggard1-114/+103
2017-10-24Use new feed tasks package & auto-update versionwtgodbe1-2/+2
2017-10-10Proof-of-concept of using new Publish infra in coreclrwtgodbe1-3/+3
2017-10-10Update to 2.0 RTM CLI (#14396)Jose Perez Rodriguez1-7/+12
* Update to 2.0 RTM CLI * PR feedback
2017-09-13Enable end to end Alpine build (#13966)Jan Vorlicek1-1/+9
This change enables full end to end build of coreclr including managed code on Alpine Linux.
2017-08-17Enable RedHat 6 in coreclr master (#13315)smile21prc1-0/+8
* Enable RedHat 6 in coreclr master Enable RedHat 6 in coreclr master. This is identical as the approved PR to enable RedHat 6 in coreclr release/2.0.0: https://github.com/dotnet/coreclr/pull/13301 * Correct Rid to match /src/.nuget/dirs.props Correct Rid to match /src/.nuget/dirs.props * Update dockertag and add logic to detect RHEL6 in init-tools.sh Update dockertag and add logic to detect RHEL6 in init-tools.sh * Port changes from Release/2.0.0 to fix coreclr RHEL 6 official runs. Port changes from Release/2.0.0 to fix coreclr RHEL 6 official runs. * Remove empty quotes. Remove empty quotes.
2017-07-16Update init-tools.sh to match corefx (#12839)Jan Kotas1-7/+15
2017-07-13[CoreCLR] Display the contents of init-tools.log (#12795)Ravi Eda1-4/+13
* Update attribute-value in security build definition. * Display init-tools log. * Ensure execute permission is available.
2017-05-29Make linux test build workedRoman Artemev1-1/+2
2017-05-22Revert "Fixed tests build on Linux"Russ Keldorph1-2/+1
2017-05-19Test build fixes for LinuxRoman Artemev1-1/+2
2017-05-16Update Coreclr to 2.0.0 buildtoolswtgodbe1-74/+27
2017-04-06remove fedora 23 (#10725)Dan Moseley1-4/+4
* remove fedora 23 * Fedora rename
2017-02-16Remove all references to OpenSuse13.2wtgodbe1-4/+0
2017-01-24Only consider /etc/os-release for distro infoMatt Ellis1-13/+13
This is in line with how the `dotnet` tooling works.
2017-01-06Update CLI to 1.0.0-preview2-1-003182, BuildTools to ↵Davis Goodin1-1/+1
1.0.27-prerelease-01205-03 (#8829) * Update CLI to 1.0.0-preview2-1-003182, BuildTools to 1.0.27-prerelease-01205-03 * Add BuildVersion.targets and required properties to test directory's dir.props
2017-01-06Swap wget and curl to fix init-tools capability check (#8831)Davis Goodin1-2/+2
2017-01-06Use POSIX "command" instead of non-standard "which" (#8823)Jürgen Hötzel1-2/+1
GNU which might not be installed on a minimal GNU/Linux installation. Refs #6994 and #7025.
2016-10-19Support "offline" initializtion of Tools (#7715)Matt Ellis1-43/+66
This change allows init-tools to function in an "offline" mode where tools are picked up from standalone folders. Specifically, it introduces support for two new environment variables: - DOTNET_TOOLSET_DIR - BUILD_TOOLS_TOOLSET_DIR If either is set, instead of downloading toolsets, we copy an already existing one from the folder. The TOOLSET_DIR is a folder with sub directories for every version of the tool in question. For buildtools, we expect a published toolset (sans the "dotnetcli" folder) not just a set of nuget packages (i.e. the layout of Tools/ after running ./init-tools.sh in "online" mode). The above varibles are useful for situations where we want to carry multiple toolsets with us, but are less helpful for places where a developer has produced their own toolset by hand (since the resulting folder structure contains extra version information). For these cases, I've added - DOTNET_TOOL_DIR - BUILD_TOOLS_TOOL_DIR Which work like the above but don't require the nested folder structure.
2016-10-17Allow alpine to run init-tools.shEric Mellino1-0/+3
2016-10-13Update tests to netcoreapp1.1Jan Kotas1-0/+2
2016-09-20Upgrade CLI, buildtools for RTM shared framework. (#7045)Davis Goodin1-47/+67
2016-09-01Revert "Avoid using 'which' for verifying prereqs"Jan Kotas1-7/+7
2016-08-31Avoid using 'which' for verifying prereqs (#6994)Aditya Mandaleeka1-7/+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-07-15Stop chmoding nonexistant corerun file in Tools dirwtgodbe1-1/+0
2016-06-24Fix typo to apply mac build workaround only on OSX (#5988)Ivan Baravy1-1/+1
/init-tools.sh:72 tries to compare strings like this: if [ "$OS"=="OSX" ]; then What it actually does is different to what it looks like: $ echo $OS $ if [ "$OS"=="OSX" ]; then echo EQUAL; fi EQUAL $ if [ "$OS" == "OSX" ]; then echo EQUAL; fi $ This commit fixes the typo and makes OSX workaround run on macs only.
2016-05-31Support building on all supported distrosMatt Ellis1-9/+9
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-28Fix RHEL 7 BuildMatt Ellis1-1/+1
There were two issues: - $__BuildArch is not defined in init-tools.sh, so we would always download the ubuntu version of the CLI, since our check for `rhel.7.2-x64` would never fire. - There was a small RHEL specific bug in BuildTools itself that manifested when we actually were able to download the CLI and try to restore the runtime.
2016-05-27Adding commit hash to all built binaries.Jose Perez Rodriguez1-1/+1
2016-05-26Add Fedora, OpenSuse and Ubuntu 16.04 packagesMatt Ellis1-14/+9
- 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-26Add retry logic when downloading the CLI from Azure blob storage.Joel Hendrix1-2/+2
Downloading from Azure can transiently fail for a number of reasons. Add some retry logic when downloading to avoid transient failures. For *nix variants add a retry value when using curl (wget retries by default).
2016-04-01Add mac ulimit -n 2048 workaround and more debug spew in CLI installation ↵Yi Zhang (CLR)1-29/+42
into init-tools.sh
2016-03-30Upgrade dotnet cli version.Davis Goodin1-6/+6
2016-03-22Don't use symbolic link 'sh'(/bin/sh) in ./coreclr/init-tools.shGeunsik Lim1-1/+3
There are a lot of different shells among the Linux distributions. The up-to-date Ubuntu distribution uses /bin/dash without /bin/bash by default. Also, the /bin/sh command has been using as a symbolic link without the original /bin/sh in the some popular Linux distributions such as Ubuntu 14.04. Ver 3: - Don't use 'sh' command thanks to the "#!/usr/bin/env bash" (first line) - /bin/sh of Ubuntu 14.04 is symbolic link. It calls /bin/dash by default. Ver 1: - Let's replace a symbolic 'sh' with 'bash' such as "#!/usr/bin/env bash" declaration (shebang) of ./coreclr/init-tools.sh lgs@u14.04:~$ ls -l `which sh` lrwxrwxrwx 1 root root 4 12 21 17:01 /bin/sh -> dash lgs@u14.04:~$ 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-02Upgrade CLI version and buildtools, and make build file changes.Davis Goodin1-1/+1
Unset CORE_ROOT in environment on Windows before doing restore so that dotnet CLI doesn't try to run using binaries from the test CORE_ROOT. Restore the xunit wrapper projects in a batch rather than individually to save a lot of time. Work around xunit.runner.msbuild not having compatible package layout by ignoring errors and adding import so that a future fix will work. Hard-code C# language for generated wrapper projects: the $(Language) property wasn't set. Also Change www.myget.org to dotnet.myget.org, as we switched to enterprise myget. Add System.ObjectModel to tests\src\JIT\config\benchmark+serialize\project.json to manually upgrade it to a version that doesn't require lifting for runtime. This fixes System.ObjectModel.dll being missing from CORE_ROOT and causing the test to fail. Switch to v3 nuget feeds and sync NuGet.Configs.
2016-02-29Map RHEL distribution to download CentOS CLIGaurav Khanna1-0/+4
2016-02-07Change to support Microsoft.NetCore.Runtime.CoreCLR nuget package generation.Gaurav Khanna (CLR)1-2/+42