Last active
December 10, 2024 19:12
-
-
Save jsturtevant/ce387b60cd0188ac4d0ddd3f2cac38d5 to your computer and use it in GitHub Desktop.
Revisions
-
jsturtevant revised this gist
Dec 10, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,7 +15,7 @@ build unit tests for [specific library](https://github.com/dotnet/runtime/blob/m build [subset](https://github.com/dotnet/runtime/blob/main/docs/workflow/building/libraries/README.md#building-individual-libraries): ``` ./build.sh -projects /home/jstur/projects/runtime/src/libraries/*/System.Net.Security.sln -bl -os wasi -subset libs+libs.tests -c Debug ``` build/run tests for [clr](https://github.com/dotnet/runtime/tree/main/docs/workflow/building/coreclr#the-basics): -
jsturtevant revised this gist
Dec 10, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ build runtime/libraries run a [sample project](https://github.com/dotnet/runtime build unit tests for [specific library](https://github.com/dotnet/runtime/blob/main/src/mono/browser/README.md#windows-3): ``` ./build.sh -bl -subset mono+libs+libs.tests -c Debug #can leave mono off after first run ./dotnet.sh build /t:Test src/libraries/System.Net.Security/tests/UnitTests/ /p:TargetOS=wasi /p:TargetArchitecture=wasm /p:Configuration=Debug ``` -
jsturtevant revised this gist
Dec 10, 2024 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,6 +12,12 @@ build unit tests for [specific library](https://github.com/dotnet/runtime/blob/m ./dotnet.sh build /t:Test src/libraries/System.Net.Security/tests/UnitTests/ /p:TargetOS=wasi /p:TargetArchitecture=wasm /p:Configuration=Debug ``` build [subset](https://github.com/dotnet/runtime/blob/main/docs/workflow/building/libraries/README.md#building-individual-libraries): ``` ./build.sh -projects src/libraries/System.Net.Security/System.Net.Security.sln -bl -os wasi -subset libs+libs.tests -c Debug ``` build/run tests for [clr](https://github.com/dotnet/runtime/tree/main/docs/workflow/building/coreclr#the-basics): ``` -
jsturtevant revised this gist
Dec 9, 2024 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,7 +22,9 @@ build/run tests for [clr](https://github.com/dotnet/runtime/tree/main/docs/workf ## trouble shooting ``` home/jstur/projects/runtime/.dotnet/sdk/9.0.100/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(221,5): error NU5118: Warning As Error: File '/home/jstur/projects/runtime/artifacts/bin/native/net10.0-wasi-Debug-wasm/libz.a' is not added because the package already contains file 'runtimes/wasi-wasm/native/libz.a ``` try `dotnet --clean` -
jsturtevant revised this gist
Dec 9, 2024 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,3 +18,11 @@ build/run tests for [clr](https://github.com/dotnet/runtime/tree/main/docs/workf ./build.sh -bl -subset clr+libs+libs.tests -c Debug ./dotnet.sh build /t:Test src/libraries/System.Net.Security/tests/UnitTests/ /p:Configuration=Debug ``` ## trouble shooting ``` home/jstur/projects/runtime/.dotnet/sdk/9.0.100/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(221,5): error NU5118: Warning As Error: File '/home/jstur/projects/runtime/artifacts/bin/native/net10.0-wasi-Debug-wasm/libz.a' is not added because the package already contains file 'runtimes/wasi-wasm/native/libz.a ``` try `dotnet --clean` -
jsturtevant revised this gist
Dec 9, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ build runtime/libraries run a [sample project](https://github.com/dotnet/runtime build unit tests for [specific library](https://github.com/dotnet/runtime/blob/main/src/mono/browser/README.md#windows-3): ``` ./build.sh -bl -os wasi -subset mono+libs+libs.tests -c Debug ./dotnet.sh build /t:Test src/libraries/System.Net.Security/tests/UnitTests/ /p:TargetOS=wasi /p:TargetArchitecture=wasm /p:Configuration=Debug ``` -
jsturtevant revised this gist
Dec 9, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ build unit tests for [specific library](https://github.com/dotnet/runtime/blob/m ``` ./build.sh -bl -subset mono+libs+libs.tests -c Debug ./dotnet.sh build /t:Test src/libraries/System.Net.Security/tests/UnitTests/ /p:TargetOS=wasi /p:TargetArchitecture=wasm /p:Configuration=Debug ``` build/run tests for [clr](https://github.com/dotnet/runtime/tree/main/docs/workflow/building/coreclr#the-basics): -
jsturtevant renamed this gist
Dec 9, 2024 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jsturtevant created this gist
Dec 9, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ build runtime/libraries run a [sample project](https://github.com/dotnet/runtime/tree/main/src/mono/wasi#how-to-build-the-runtime) ``` ./build.sh -bl -os wasi -subset mono+libs -c Debug ./dotnet.sh build /p:TargetOS=wasi /p:Configuration=Debug /t:RunSample src/mono/sample/wasi/wasi-tls/Wasip2.Tls.Console.Sample.csproj ``` build unit tests for [specific library](https://github.com/dotnet/runtime/blob/main/src/mono/browser/README.md#windows-3): ``` ./build.sh -bl -subset mono+libs+libs.tests -c Debug ./dotnet.sh build /t:Test src/libraries/System.Net.Security/tests/UnitTests/ /p:TargetOS=wasi /p:TargetArchitecture=wasm /p:Configuration=Debug `` build/run tests for [clr](https://github.com/dotnet/runtime/tree/main/docs/workflow/building/coreclr#the-basics): ``` ./build.sh -bl -subset clr+libs+libs.tests -c Debug ./dotnet.sh build /t:Test src/libraries/System.Net.Security/tests/UnitTests/ /p:Configuration=Debug ```