Header "atomic" not found when compiling the compiler on macOS 11.1 with Xcode 12.4

Hi developers,

I am trying to compile the swift compiler using the following command with Xcode 12.4 and macOS 11.1 installed, and I got an error saying that the header file "atomic" cannot be found:

The command:

utils/build-script --skip-build-benchmarks --skip-ios --skip-watchos --skip-tvos --swift-darwin-supported-archs "$(uname -m)" --sccache --release-debuginfo --test --xcode --skip-test-cmark

Here's the link to the gist containing the error log:

Could you please take a look and help me with that?

Thank you so much for your help!

Hi @Xkinler
I don't know about this error in specific but here are some references you may found helpful

Also make sure you run update-checkout :)

Hi @LucianoPAlmeida,

Thank you for your reply.

That error no longer exists for me.

Thank you again for your time.

1 Like
Terms of Service

Privacy Policy

Cookie Policy