llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

🍒[next] Set Swift clang-linker path

Open etcwilde opened this issue 1 year ago • 2 comments

The swift driver is picking up the system clang instead of using the clang set in CC. The system clang is attempting to use bfd to link Swift, which doesn't work due to Swift's protected symbol usage.

(cherry picked from commit 1f6bd5557207f61d5da4c66b657c12468fa4e9aa)

etcwilde avatar May 14 '24 22:05 etcwilde

@swift-ci please test

etcwilde avatar May 20 '24 17:05 etcwilde

@swift-ci please test

etcwilde avatar Jun 07 '24 15:06 etcwilde

2bed443d0657c (Adrian Prantl 2024-06-06 106) SWIFTFLAGS += -tools-directory "$(shell dirname $(CC))" Looks like this is there now.

adrian-prantl avatar Aug 15 '24 21:08 adrian-prantl