Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rm new shared libs before build for Windows #5541

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

tydeu
Copy link
Member

@tydeu tydeu commented Sep 30, 2024

On Windows, shared libraries must be removed before linking. Otherwise, linking can fail with "Permission denied" when the libraries are in use. This ensures such removal is done for the new libLake_shared.dll and both parts of libleanshared.

@tydeu
Copy link
Member Author

tydeu commented Sep 30, 2024

@Kha As this touches the build code, a 👍 from you might be helpful.

@tydeu tydeu requested a review from Kha September 30, 2024 14:46
@tydeu tydeu added the release-ci Enable all CI checks for a PR, like is done for releases label Sep 30, 2024
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Sep 30, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Sep 30, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Sep 30, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Sep 30, 2024
@leanprover-community-bot leanprover-community-bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Sep 30, 2024
@leanprover-community-bot
Copy link
Collaborator

Mathlib CI status (docs):

@tydeu tydeu added this pull request to the merge queue Oct 1, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 1, 2024
@tydeu tydeu added the needs-update-stage0 stage 0 should be updated after merging this PR label Oct 2, 2024
@tydeu tydeu enabled auto-merge October 2, 2024 02:57
@tydeu tydeu added this pull request to the merge queue Oct 2, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Oct 2, 2024
Merged via the queue into leanprover:master with commit 952c086 Oct 2, 2024
24 checks passed
@tydeu tydeu deleted the rm-new-libs-prebuild branch October 2, 2024 13:57
@Kha
Copy link
Member

Kha commented Oct 7, 2024

@Kha As this touches the build code, a 👍 from you might be helpful.

(late 👍)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builds-mathlib CI has verified that Mathlib builds against this PR needs-update-stage0 stage 0 should be updated after merging this PR release-ci Enable all CI checks for a PR, like is done for releases toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants