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
* Removed the C backend completely in the P 2.1
* Upgraded P to use .Net 8.0
* Updated the actions to .Net 8.0
* [PSym] Upgrade to .NET 8.0
* Update build scripts and docs (#703)
* Update .Net 8 SDK instructions for AL2 (#704)
* Update .net version to 8.0 in build scripts
* Update .net 8 installation in docs
* Update dotnet sdk 8.0 installation instructions for AL2
* [P 2.1] Cleanup and correct docs
Changes Java installation to Java 17 on AL2 in docs
Removes P 2.0.x install steps in old install instructions
Removes global.json file
* [2.1] Adds option --list-tests to p check command to list all test cases and exit
* Add installation details url for .net AL2 (#706)
---------
Co-authored-by: Ankush Desai <[email protected]>
Co-authored-by: Ankush Desai <[email protected]>
Co-authored-by: mchadalavada <[email protected]>
Copy file name to clipboardexpand all lines: Docs/docs/getstarted/install.md
+20-14
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ P is built to be cross-platform and can be used on MacOS, Linux, and Windows. We
7
7
8
8
### [Step 1] Install .Net Core SDK
9
9
The P compiler is implemented in C# and hence the tool chain requires `dotnet`.
10
-
P currently uses the specific version of [.Net SDK 6.0](https://dotnet.microsoft.com/en-us/download/dotnet/6.0).
10
+
P currently uses the specific version of [.Net SDK 8.0](https://dotnet.microsoft.com/en-us/download/dotnet/8.0).
11
11
12
12
13
13
=== "MacOS"
@@ -16,10 +16,10 @@ P currently uses the specific version of [.Net SDK 6.0](https://dotnet.microsoft
16
16
17
17
```shell
18
18
brew tap isen-ng/dotnet-sdk-versions
19
-
brew install --cask dotnet-sdk6-0-400
19
+
brew install --cask dotnet-sdk8-0-200
20
20
```
21
21
22
-
Dont have Homebrew? :upside_down_face: Install manually using the installer for [x64](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.405-macos-x64-installer) or [Arm64](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.405-macos-arm64-installer).
22
+
Dont have Homebrew? :upside_down_face: Install manually using the installer for [x64](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-8.0.201-macos-x64-installer) or [Arm64](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-8.0.201-macos-arm64-installer).
23
23
24
24
=== "Ubuntu"
25
25
@@ -32,32 +32,38 @@ P currently uses the specific version of [.Net SDK 6.0](https://dotnet.microsoft
Installing .Net SDK on Windows using the installer for [x64](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.405-windows-x64-installer) or [Arm64](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.405-windows-arm64-installer)
59
+
Installing .Net SDK on Windows using the installer for [x64](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-8.0.201-windows-x64-installer) or [Arm64](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-8.0.201-windows-arm64-installer)
54
60
55
61
??? hint "Troubleshoot: Confirm that dotnet is correctly installed on your machine."
56
62
```shell
57
63
dotnet --list-sdks
58
64
```
59
65
60
-
You must see an SDK with `6.0.*` dotnet version installed.
66
+
You must see an SDK with `8.0.*` dotnet version installed.
61
67
If you get `dotnet` command not found error, mostly likely, you need to add the path to dotnet in your `PATH`.
62
68
63
69
Useful resources:
@@ -88,10 +94,10 @@ The P compiler also requires Java (`java` version 11 or higher).
88
94
89
95
=== "Amazon Linux"
90
96
91
-
Installing Java 11 on Amazon Linux (you can use any version of java >= 11)
97
+
Installing Java 17 on Amazon Linux (you can use any version of java >= 11)
Copy file name to clipboardexpand all lines: Docs/docs/old/getstarted/install.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,10 @@
3
3
P is built to be cross-platform and can be used on MacOS, Linux, and Windows. We provide a step-by-step guide for installing P along with its required dependencies.
4
4
5
5
!!! info ""
6
-
After each step, please use the troubleshooting check to ensure that each installation step succeeded.
6
+
After each step, please use the troubleshooting check to ensure that each installation step succeeded.
7
7
8
8
### [Step 1] Install .Net Core SDK
9
-
The P compiler and checker are implemented in C# and hence the tool chain requires `dotnet`.
9
+
The P compiler and checker are implemented in C# and hence the tool chain requires `dotnet`.
10
10
P currently uses the specific version of [.Net SDK 3.1](https://dotnet.microsoft.com/download/dotnet/3.1).
Installing .Net SDK on Windows using the installer ([details](https://dotnet.microsoft.com/download/dotnet/thank-you/sdk-3.1.412-windows-x64-installer))
53
53
54
54
??? hint "Troubleshoot: Confirm that dotnet is correctly installed on your machine."
55
-
`dotnet --list-sdks`
55
+
`dotnet --list-sdks`
56
56
57
57
You must see an SDK with `3.1.*` dotnet version installed.
58
58
If you get `dotnet` command not found error, mostly likely, you need to add the path to dotnet in your `PATH`.
@@ -92,7 +92,7 @@ To install Java use:
92
92
Installing Java on Windows ([details](https://www.java.com/en/download/help/windows_manual_download.html))
93
93
94
94
??? hint "Troubleshoot: Confirm that java is correctly installed on your machine."
95
-
`java -version`
95
+
`java -version`
96
96
97
97
If you get `java` command not found error, mostly likely, you need to add the path to `java` in your `PATH`.
98
98
@@ -115,7 +115,7 @@ dotnet tool install --global P
115
115
If you are getting the error that the `pc` command is not found, it is most likely that `$HOME/.dotnet/tools` is not in your `PATH`.
116
116
117
117
??? help "Updating P Compiler"
118
-
You can update the version of `P` compiler by running the following command:
118
+
You can update the version of `P` compiler by running the following command:
119
119
120
120
`dotnet tool update --global P`
121
121
@@ -164,4 +164,4 @@ We highly recommend that you create the following alias as we use it in the rest
164
164
165
165
## Using P
166
166
167
-
Great :smile:! You are all set to compile and test your first P program :mortar_board:!
167
+
Great :smile:! You are all set to compile and test your first P program :mortar_board:!
0 commit comments