Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How should F# bootstrapping be handled in source-build? #13470

crummel started this conversation in General
Discussion options

As I understand it the Proto build in F# bootstraps F# and requires a version of FSharp.Core that doesn't participate in version flow. This brings in the FSharp.Core version used as a source-build prebuilt. Should this package be updated with the previously-source-built version flow? Is bootstrapping necessary in the source-build F# build?

You must be logged in to vote

Replies: 3 comments

Comment options

I'll leave it for @KevinRansom to describe :)

You must be logged in to vote
0 replies
Comment options

@vzarytovskii , thanks mate, I appreciate it :-)
@crummel.

We use a last known good to build the proto compiler, including a proto fsharp.core and a proto fsharp.build.dll, as it were.

There is a crappy hack in there to use a published fsharp.core, solely because we expect the fsharp.build.dll to load into visual studio, and we "need" to ensure that when we build the proto fsharp.build.dll it matches a published fsharp.core.

In source build that is absolutely not necessary ... and so you can change the condition
to exclude doing this package reference on source build too.
Here:

<ItemGroup Condition="'$(Configuration)' == 'Proto'">

and here:
<ItemGroup Condition="'$(Configuration)' != 'Proto'">
You must be logged in to vote
0 replies
Comment options

Converted to discussion

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Converted from issue

This discussion was converted from issue #13463 on July 08, 2022 13:10.

AltStyle によって変換されたページ (->オリジナル) /