Comments (7)
The best place to ask for this might be https://github.com/dotnet/sdk - I neither work on the SDK nor the CLR so I don't have much experience for the workflow of using custom builds.
The msbuild file that fundamentally runs the store is here: https://github.com/dotnet/sdk/blob/b5aa4a2b0db4f6203050063139e1873fa024337a/src/Tasks/Microsoft.NET.Build.Tasks/build/Microsoft.NET.ComposeStore.targets
/cc @eerhardt @JosephTremoulet in case they have any ideas about the best way to proceed
from jitbench.
Thanks for the pointer! I'll ask there and reply back once I have my solution.
from jitbench.
FWIW, when I want to use a custom clrjit.dll, then, working in the dev
branch of JitBench, I just copy clrjit.dll out of D:\coreclr\bin\Product\Windows_NT.x64.Release
over top of the copy under the local .dotnet
directory. I'd imagine the same would work for crossgen.exe.
from jitbench.
The crossgen executable that dotnet store
uses is resolved from the runtime.{RID}.Microsoft.NETCore.App
NuGet package. See
I tried overwriting the /p:CrossgenDir
property on the command line, but that doesn't work since these properties are being set in a Target, and unconditionally set. If we wanted to support this scenario more, we could change that code to check if the property was already defined.
I haven't tried @JosephTremoulet's recommendation, but that sounds reasonable - overwriting the file in the NuGet cache, which is where dotnet store
will pick it up from. ex. C:\Users\eerhardt\.nuget\packages\runtime.win-x64.microsoft.netcore.app\2.0.0\runtimes\win-x64\native\..\..\..\tools
.
from jitbench.
Thanks for the suggestions! Overwriting the crossgen executable at C:\Users\Varun\.nuget\packages\runtime.win-x64.microsoft.netcore.app\2.1.0-preview2-25616-02\tools
was the easiest fix for this.
from jitbench.
Cool, glad you found a solution.
I'm re-opening this to track updating the docs to explain this. If you this suggestion please file an issue on SDK so they can track the feedback.
from jitbench.
Done: #1614
from jitbench.
Related Issues (20)
- A new database warning HOT 1
- A new database issue on appveyor HOT 2
- Update dotnet-install scripts HOT 1
- Remove set +e from scripts that get sourced HOT 1
- Dev branch build is broken HOT 12
- dotnet store fails with error that it cannot find DiaSymReader HOT 1
- Cannot find framework... HOT 1
- Enable CI HOT 1
- All branches currently broken HOT 4
- dotnet publish failing for 2.0 x86 HOT 14
- Announcement: rel/2.0.0-preview2 available HOT 1
- Announcement: Precompilation was on by default
- JitBench dev branch not using master branch builds of CoreCLR HOT 5
- Known Issue: Unable to resolve path for 'coreclr' HOT 2
- Announcement: Updating to netcoreapp2.1 HOT 1
- Dev branch README instructions currently don't seem to get latest CoreCLR bits HOT 14
- MusicStore fails with System.Net.Http.HttpRequestException error HOT 6
- Support latest 3.0 preview HOT 4
- Announcment: Updating to 3.0 and simplifying scripts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jitbench.