diff options
author | Kunal Pathak <Kunal.Pathak@microsoft.com> | 2022-11-09 09:57:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-09 09:57:30 +0300 |
commit | 136657403c045ab99e0cb18ef2a39e0179e6b434 (patch) | |
tree | 0c0931e5a3dc605b9409f0d8437f7482d80111c8 | |
parent | 18eaeb27c0f69d9ebd60fbe9301014d405e40017 (diff) |
Upgrade dotnet version needed to build benchmarks in superpmi (#78088)
* Upgrade benchmarks to .NET 8
* Only run benchmarks
* Revert "Only run benchmarks"
This reverts commit bbdac67661871cf2c10ea5b4fd03da9b50e0f79b.
-rw-r--r-- | src/coreclr/scripts/superpmi_benchmarks.py | 2 | ||||
-rw-r--r-- | src/coreclr/scripts/superpmi_collect_setup.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/coreclr/scripts/superpmi_benchmarks.py b/src/coreclr/scripts/superpmi_benchmarks.py index e62b1c364da..d525277087a 100644 --- a/src/coreclr/scripts/superpmi_benchmarks.py +++ b/src/coreclr/scripts/superpmi_benchmarks.py @@ -178,7 +178,7 @@ def build_and_run(coreclr_args, output_mch_name): run_command( [dotnet_exe, "build", project_file, "--configuration", "Release", - "--framework", "net7.0", "--no-restore", "/p:NuGetPackageRoot=" + artifacts_packages_directory, + "--framework", "net8.0", "--no-restore", "/p:NuGetPackageRoot=" + artifacts_packages_directory, "-o", artifacts_directory], _exit_on_fail=True) # Disable ReadyToRun so we always JIT R2R methods and collect them diff --git a/src/coreclr/scripts/superpmi_collect_setup.py b/src/coreclr/scripts/superpmi_collect_setup.py index a97383cf35a..7a66eaf6a1f 100644 --- a/src/coreclr/scripts/superpmi_collect_setup.py +++ b/src/coreclr/scripts/superpmi_collect_setup.py @@ -405,7 +405,7 @@ def setup_microbenchmark(workitem_directory, arch): # have not published yet. As a result, we hit errors of "dotnet restore". As a workaround, hard code the # working version until we move to ".NET 8" in the script. run_command( - get_python_name() + [dotnet_install_script, "install", "--dotnet-versions", "7.0.100-rc.2.22458.3", "--architecture", arch, "--install-dir", + get_python_name() + [dotnet_install_script, "install", "--dotnet-versions", "8.0.100-alpha.1.22558.2", "--architecture", arch, "--install-dir", dotnet_directory, "--verbose"]) |