Skip to content

Define SwiftBuild_Dir when building SwiftPM in build.ps1 #80703

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

Merged
merged 1 commit into from
Apr 29, 2025

Conversation

owenv
Copy link
Contributor

@owenv owenv commented Apr 9, 2025

No description provided.

@owenv
Copy link
Contributor Author

owenv commented Apr 9, 2025

@owenv
Copy link
Contributor Author

owenv commented Apr 10, 2025

Linux:

error: link command failed with exit code 1 (use -v to see invocation)
/usr/bin/ld.gold: internal error in read_header_prolog, at ../../gold/dwarf_reader.cc:1678
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Never seen that one before, might be a fluke

Windows build dies with STATUS_DLL_NOT_FOUND when using the just built host toolchain to build docc, that's probably a bug in the build changes here.

@owenv
Copy link
Contributor Author

owenv commented Apr 10, 2025

@compnerd
Copy link
Member

The STATUS_DLL_NOT_FOUND might be a bug in swift-build itself - we might not be installing a DLL that we are building. The recent set of changes to build.ps1 have migrated to staging more into the toolchain image, so I would expect the DLLs to be found. However, if we are running it out of the build tree, then we are likely missing a path adjustment.

@owenv owenv force-pushed the owenv/swiftbuild-swiftpm-windows branch from 711c5d7 to fbaf8b2 Compare April 17, 2025 18:18
@owenv
Copy link
Contributor Author

owenv commented Apr 17, 2025

@owenv
Copy link
Contributor Author

owenv commented Apr 17, 2025

@owenv
Copy link
Contributor Author

owenv commented Apr 17, 2025

@owenv
Copy link
Contributor Author

owenv commented Apr 21, 2025

@owenv
Copy link
Contributor Author

owenv commented Apr 23, 2025

@owenv
Copy link
Contributor Author

owenv commented Apr 23, 2025

@owenv owenv force-pushed the owenv/swiftbuild-swiftpm-windows branch from fbaf8b2 to 81d92a5 Compare April 27, 2025 05:27
@owenv
Copy link
Contributor Author

owenv commented Apr 27, 2025

@owenv
Copy link
Contributor Author

owenv commented Apr 27, 2025

@owenv
Copy link
Contributor Author

owenv commented Apr 27, 2025

@owenv owenv force-pushed the owenv/swiftbuild-swiftpm-windows branch from 81d92a5 to f0ea339 Compare April 28, 2025 03:57
@owenv
Copy link
Contributor Author

owenv commented Apr 28, 2025

@owenv
Copy link
Contributor Author

owenv commented Apr 28, 2025

@owenv
Copy link
Contributor Author

owenv commented Apr 28, 2025

@owenv
Copy link
Contributor Author

owenv commented Apr 28, 2025

@owenv
Copy link
Contributor Author

owenv commented Apr 28, 2025

@owenv
Copy link
Contributor Author

owenv commented Apr 29, 2025

@owenv owenv merged commit 3437609 into main Apr 29, 2025
8 checks passed
@owenv owenv deleted the owenv/swiftbuild-swiftpm-windows branch April 29, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants