chore: remove lakefile copy in root and tests/ (#8054)

As we use a different Lean in these directories, using those copies
always results in a full rebuild
This commit is contained in:
Sebastian Ullrich 2025-04-22 18:03:12 +02:00 committed by GitHub
parent 5d82927d10
commit ad3ac150bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 3 deletions

View file

@ -843,6 +843,4 @@ endif()
if(USE_LAKE AND STAGE EQUAL 1)
configure_file(${LEAN_SOURCE_DIR}/lakefile.toml.in ${LEAN_SOURCE_DIR}/lakefile.toml)
configure_file(${LEAN_SOURCE_DIR}/lakefile.toml.in ${LEAN_SOURCE_DIR}/../tests/lakefile.toml)
configure_file(${LEAN_SOURCE_DIR}/lakefile.toml.in ${LEAN_SOURCE_DIR}/../lakefile.toml)
endif()

View file

@ -41,7 +41,7 @@ ifeq "${USE_LAKE} ${STAGE}" "ON 1"
# build in parallel
Init:
${PREV_STAGE}/bin/lake build Init Std Lean Lake LakeMain
${PREV_STAGE}/bin/lake build Init Std Lean Lake LakeMain $(LAKE_EXTRA_ARGS)
Std Lean Lake: Init