Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
Clean up from the move to RC3 packages. Removed the dotnet-core depen…
Browse files Browse the repository at this point in the history
…dency on NuGet.Config now that we have RC3 packages in the cli-deps feed. Re-enabled crossgen for windows now that we added JITPath to the crossgen call.
  • Loading branch information
livarcocc committed May 24, 2016
1 parent fe7b519 commit 2858e79
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion NuGet.Config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<packageSources>
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
<clear />
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
<add key="cli-deps" value="https://dotnet.myget.org/F/cli-deps/api/v3/index.json" />
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
Expand Down
3 changes: 0 additions & 3 deletions build_projects/dotnet-cli-build/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ else
$env:DOTNET_BUILD_SKIP_PACKAGING=0
}

Write-Host "Disabling crossgen for the CLI build. See issue - https://github.com/dotnet/cli/issues/3059"
$env:DISABLE_CROSSGEN=1

# Load Branch Info
cat "$RepoRoot\branchinfo.txt" | ForEach-Object {
if(!$_.StartsWith("#") -and ![String]::IsNullOrWhiteSpace($_)) {
Expand Down
7 changes: 6 additions & 1 deletion build_projects/shared-build-targets-utils/Utils/Crossgen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,15 @@ public void CrossgenDirectory(BuildTargetContext c, string pathToAssemblies)

IList<string> crossgenArgs = new List<string> {
"-readytorun", "-in", file, "-out", tempPathName,
"-JITPath", GetLibCLRJitPathForVersion(),
"-platform_assemblies_paths", platformAssembliesPaths
};

if (CurrentPlatform.IsUnix)
{
crossgenArgs.Add("-JITPath");
crossgenArgs.Add(GetLibCLRJitPathForVersion());
}

ExecSilent(_crossGenPath, crossgenArgs, env);

File.Copy(tempPathName, file, overwrite: true);
Expand Down
2 changes: 1 addition & 1 deletion tools/MultiProjectValidator/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc3-*",
"Microsoft.NETCore.App": "1.0.0-rc2-*",
"Microsoft.DotNet.ProjectModel": {
"target": "project"
},
Expand Down

0 comments on commit 2858e79

Please sign in to comment.