You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documentation/VMR-re-bootstrapping.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,14 @@ dependency on a new toolset feature until after that feature has been released.
29
29
# Steps to re-bootstrap
30
30
31
31
## Automated
32
-
You can re-bootstrap the VMR using [this pipeline](https://dev.azure.com/dnceng/internal/_build?definitionId=1371). The pipeline will upload the artifacts & open the corresponding re-bootstrap PR.
32
+
33
+
> [!IMPORTANT]
34
+
> The re-bootstrap pipeline uploads the artifacts to the official blob storage,
35
+
> so do not use this pipeline for testing of any kind.
36
+
> To test stage 2 failures, please refer to [this documentation](bootstrapping-guidelines.md#building-on-a-supported-platform-using-rid-known-to-net).
37
+
38
+
You can re-bootstrap the VMR using [this pipeline](https://dev.azure.com/dnceng/internal/_build?definitionId=1371).
39
+
The pipeline will upload the artifacts & open the corresponding re-bootstrap PR.
33
40
34
41
## Manual
35
42
In case the automated re-bootstrapping pipeline is unavailable, you can manually re-bootstrap the VMR:
Copy file name to clipboardExpand all lines: Documentation/bootstrapping-guidelines.md
+18-6Lines changed: 18 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,27 +29,39 @@ Building .NET for the first time is a two stage process:
29
29
1. Download a platform-native portable Microsoft-built version of the dotnet SDK for bootstrapping as well as the previously-source-built package archive.
30
30
31
31
```bash
32
-
./prep.sh
32
+
./prep-source-build.sh
33
33
```
34
34
35
35
1. Build the source built .NET SDK.
36
36
37
37
``` bash
38
-
./build.sh
38
+
./build.sh --source-only
39
39
```
40
40
41
-
**Stage 2:** Use the sourcebuilt .NET SDK created in stage 1 to build .NET SDK from source. There is no need to run `prep.sh`in this stage.
41
+
**Stage 2:** Use the source-built .NET SDK and source-built artifacts created in stage 1 to build .NET SDK from source.
42
42
43
43
1. Extract your freshly-built stage 1 SDK to a convenient location.
44
44
45
45
``` bash
46
-
tar -ozxf /<stage1-path>/artifacts/<arch>/Release/dotnet-sdk-<version>-<rid>-tar.gz -C <extracted-stage1-sdk-path>
46
+
tar -ozxf /<stage1-path>/artifacts/assets/Release/dotnet-sdk-<version>-<rid>-tar.gz -C <extracted-stage1-sdk-path>
47
47
```
48
48
49
+
1. Extract your freshly-built stage 1 source-built artifacts to a convenient location.
50
+
51
+
```bash
52
+
tar -ozxf /<stage1-path>/artifacts/assets/Release/Private.SourceBuilt.Artifacts.<version>-<rid>-.tar.gz -C <extracted-stage1-artifacts-path>
## Building for New OS (Using a RID unknown to .NET)
@@ -110,5 +122,5 @@ While this is a more complicated scenario that may differ from platform to platf
110
122
Building a subsequent or servicing version of .NET requires that you have source built the previous version of .NET available as descibed in one of the [building scenarios](#scenarios). Once you have a previous verion of the .NET SDK available, all you have to do is run the following build command.
0 commit comments