Source-build: Why is source-build-reference-packages consumed as a prebuilt?

Created on 27 Jan 2020  路  3Comments  路  Source: dotnet/source-build

https://github.com/dotnet/source-build/pull/1009 consumes source-build-reference-packages as a prebuilt--a tar.gz of nupkgs. However, source-build-reference-packages can build from source. Why is it used as a prebuilt?

(I looked at https://github.com/dotnet/source-build/pull/1009 for an answer, readmes, and a few docs. Maybe I missed something. I think this should have an explanation somewhere visible.)

@dseefeld @crummel @adaggarwal

Most helpful comment

Oh duh, right over here: https://github.com/dotnet/source-build/issues/1456#issuecomment-578812849.

It looks like the answer from @dseefeld is that this is purely a build time optimization.

All 3 comments

@tmds was asking me the same question earlier today. I dont know the answer.

However, I don't mind source-build depending on prebuilts as long as there are sensible/obvious ways for users to provide those prebuilts (instead of source-build automagically downloading binaries from the internet).

Oh duh, right over here: https://github.com/dotnet/source-build/issues/1456#issuecomment-578812849.

It looks like the answer from @dseefeld is that this is purely a build time optimization.

Filed https://github.com/dotnet/source-build-reference-packages/pull/98 to add something about this to the readme.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

crummel picture crummel  路  9Comments

omajid picture omajid  路  5Comments

PureTryOut picture PureTryOut  路  6Comments

crummel picture crummel  路  5Comments

dagood picture dagood  路  10Comments