Hey guys, may I ask what is the best practice for building an x86_64 Swift toolchain on an apple silicon mac?
I found these 2 approaches:
- run
build-script
in Rosetta like:
arch -x86_64 ../swift/utils/build-script ...
But I saw some failures like FAILED: bin/swift-demangle
by doing this.
- specify
cross-compile-hosts=macosx-x86_64
forbuild-script