summaryrefslogtreecommitdiff
path: root/build-packages.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-05-28Use Arcade for native versioning (#24785)Elinor Fung1-1/+1
2019-05-21Switch NuGet package build to use Arcade instead of BuildTools (#24619)Elinor Fung1-7/+8
2019-02-25For linux-musl-arm64 use OutputRid (#22840)Jarret Shook1-0/+5
This variable was added for linux-musl-x64 in our old official builds, because our current logic in src/.nuget/dirs.props incorrectly parses the __DistroRid passed.
2019-02-22Correctly build packages for linux-musl-arm64 (#22793)Jarret Shook1-0/+7
* Correctly build packages for linux-musl-arm64 Also add build-package step to PR. * Correctly add back if * Fix build-packages
2019-02-21Correct __CrossBuild in build-packages to be 0 or 1 (#22769)Jarret Shook1-1/+2
2019-02-21[Unix|*] Rework and share the logic for determining __DistroRid (#22628)Jarret Shook1-45/+12
* [Unix|*] Rework and share the logic for determining __DistroRid This will consolidate all of our different functions which determine the __DistroRid into one file. In addition, it will remove the unused __HostDistroRid file. Lastly, it corrects the rid choice when crossbuilding musl-arm64 as the cross-rootfs non-portable build will correctly be picked up. * Fix typo and use __BuildArch in place of __Arch * Correct non-portable build decision * Add error for missing redhat-release * Fix redhat comparison * Correct previous rhel or * Fix cross scenerio * Fix missed $ * Set __RuntimeId for runtest.proj * Correct naming convention of file * Address feedback and support -portablebuild=0 With this change: 1. build.sh and build-test.sh should build portable by default. 2. init-distro-rid.sh checks __PortableBuild=1. If so, then it must force rhel 6 and freebsd to __PortableBuild=0 and use the non-portable build - For __PortableBuild=0 init-distro-rid.sh sets the non-portable rid correctly to "${ID}.${VERSION_ID}-${buildArch}" * Correct arguments * Fix if to include then * A few more changes to correct linux-musl-arm64 * Add error for non-cross build and correctly pass ROOTFS_DIR * Correctly exit instead of echo * Correct isCrossBuild and use rootfsDir only * Add documentation * Address feedback * Rework rhel if
2019-02-15Manually update the dependencies.props and move S.P.Corelib to use ↵Tanner Gooding1-1/+1
LangVersion=8.0 (#22452) * Update BuildTools to preview1-03713-01 (master) * Updating CoreCLR to use LangVersion=8.0 * Moving the Windows scripts to default to `dotnet msbuild` for managed components * Setting UseSharedCompilation=true * Changing some additional callsites that were using msbuild to use dotnet msbuild * Revert packages.builds to use Desktop msbuild on Windows * Fixing runtest.cmd to always set DotNetCli
2019-01-30Remove run.exe and config.json (#21608)Sven Boemer1-10/+31
This moves us one step away from buildtools and towards arcade. This replaces run.sh and run.cmd (and all invocations) with "dotnet.sh msbuild" and "msbuild.cmd". - I'm using these wrapper scripts for now instead of those in eng/common in order to retain the very helpful "Running <command>" output in the build logs. - I'm using msbuild.cmd instead of dotnet.sh to match the current behavior that uses desktop msbuild on windows, instead of dotnet. All of the arguments that used to be implicitly generated by run.exe and config.json are now explicit, resulting in longer (but easier to copy+paste) commands. Some of these arguments are likely unnecessary, but in this change my goal is just to match the run.exe behavior. Later, I would like to go through and clean up parameters that don't need to be passed in every invocation. I might also consider moving more of the common arguments out into variables in a later change. Some of the wrapper scripts now have limited support for parsing "-Argument=Value" style parameters, to support our existing buildpipeline infrastructure, since I thought this was easier to test than changing our buildpipeline definitions. We can remove that parsing logic once we stop using buildpipeline (which has happened at this point). Some subtle parts of the change: * Add msbuild.cmd This simulates the behavior of Tools\msbuild.cmd, which calls desktop msbuild. * Fix BuildOS processing in package build and publish Previously, config.json had its own processing that would set OSName. Instead, we now pass it in explicitly where it's needed (building packages), or not at all (publishing them). * Handle "=" in publish-packages.cmd and other scripts This seems necessary to properly handle the azure access token * Set __BuildOS in PublishPackages Required for cases where the build OS isn't detected during the build such as freebsd. * Use dotnet msbuild in runtest.py This prevents us from having to deal with different quote escape behavior on windows and linux. Previously, arguments like fileloggerparameters and the logger were given quotes to escape semicolons in the argument. On unix, this prevented the argument from being split up by bash. On windows, it seems that the run.cmd/run.exe tools would prevent the extra quotes from being passed to msbuild.exe (desktop msbuild would choke on the quotes if they were passed along). Unlike desktop msbuild, dotnet msbuild is able to parse the quoted strings, so we simply psas the quoted arguments directly to it on windows. We may be able to do the same on unix. * Fix build-test.sh problem with BuildOS When copying native files during the unix test build, we rely on __BuildOS being set. Fixing the import order and always setting __BuildOS fixes this. We should eventually fix the inconsistent use of BuildOS vs __BuildOS.
2018-12-14Publish packages in Azure DevOps official build (#21536)Sven Boemer1-0/+3
This enables coreclr participation in dependency flow.
2018-10-31more changes to fix packaging on FreeBSD. runtime.json now contains ↵Tomas Weinfurt1-0/+2
freebsd-x64 and portable build/packaging works (#20725)
2018-04-23Remove Alpine 3.6 buildsWes Haggard1-1/+4
The alpine 3.6 builds have been replaced with the more generic linux-musl builds so removing them.
2018-01-30Building non-Windows builds using the CLI's MSBuild (#16101)Jose Perez Rodriguez1-1/+1
* Building non-Windows builds using the CLI's MSBuild
2017-10-30Pass overridden packages directory to CMakeWes Haggard1-1/+1
2017-10-30Normalize the alpine and rhel RIDsWes Haggard1-1/+1
See: https://github.com/dotnet/core-setup/commit/c8a27076f93c3107759b8a86a02ea4f40d100b67 We need to strip the last part of the version number for alpine and rhel because they are compatible and we don't want the specific versions.
2017-10-23Fix RID extraction in packages and test build for Alpine (#14656)Jan Vorlicek1-1/+9
* Fix RID extraction in packages and test build for Alpine The host RID extraction in build-packages.sh and build-test.sh was not matching the one in build.sh * Reflect feedback
2017-08-17Enable RedHat 6 in coreclr master (#13315)smile21prc1-2/+24
* 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-05-31Default to portable build in dev and official builds (#11985)Gaurav Khanna1-6/+6
2017-03-22Various fixes for generating portable RID packages (#10409)Gaurav Khanna1-13/+12
2016-12-19Update build-packages.sh to support portableLinuxGaurav Khanna1-4/+62
2016-08-04Use packages.builds when generating nuget packageswtgodbe1-29/+1
2016-07-29Apply run on recent changes in master.Lakshmi Priya Sekar1-4/+2
2016-07-29Respond to PR feedback.Lakshmi Priya Sekar1-4/+4
2016-07-29Use run tool in coreclr dev workflow.Lakshmi Priya Sekar1-123/+28
2016-07-29adds testhost packageRahul Kumar1-0/+9
2016-07-19Stop building targetingPack package on non-windowswtgodbe1-9/+0
2016-07-18Fix package build in build-packages.sh to use dotnet instead of corerunwtgodbe1-1/+1
2016-07-14Update to latest version of buildtoolswtgodbe1-4/+4
2016-07-13build the TargetingPack package as part of build-packages scriptswtgodbe1-0/+9
2016-05-26Add Fedora, OpenSuse and Ubuntu 16.04 packagesMatt Ellis1-12/+7
- 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-23ILAsm/ILDAsm PackageKyungwoo Lee1-1/+19
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-17Add dev workflow scripts for build pipelinewtgodbe1-0/+148