Repository navigation
Conversation
Kha
commented
Nov 11, 2019
| @@ -0,0 +1 @@ | |||
| ../src/stage0 No newline at end of file | |||
Member
Author
There was a problem hiding this comment.
@leodemoura stage0/library and stage0/src are just symlinks here to avoid merge conflicts and huge diff lists; you should call update-stage0 before trying a parallel change, and after this commit is merged into master. Then we can remove src/stage0.
leodemoura
reviewed
Nov 11, 2019
| if ((${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 3.1) OR (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} EQUAL 3.1)) | ||
| cmake_policy(SET CMP0054 NEW) | ||
| endif() | ||
| include(ExternalProject) |
Member
|
In the next Dev meeting, could you please go over these changes and describe how the new build system works? |
Member
|
It worked for me, and I managed to update stage0 without problems. |
ChrisHughes24
pushed a commit
to ChrisHughes24/lean4
that referenced
this pull request
Dec 2, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR changes
src/from being used to build both stage0 and stage1lean, which was the major source of bootstrapping headaches. Instead a new top-level directorystage0/contains a complete copy ofsrcas well as the corresponding extractedlibrary(the oldsrc/stage0). This means it is now trivial to do C++ and Lean changes in parallel. The build interface itself is (mostly) unchanged.@leodemoura I checked that
update-stage0and parallel changes indeed work, but I haven't used this change in practice yet. Please give it a try.