Thank you - I think I need to dive deeper and fully understand the purpose of the Dockerfile under version-name directories :-)
You're correct for the Dockerfile nested under swift-ci that's the one the CI uses to build the sources. Sources are hosted outside of the container. For my tests, I have them in a separate directory.
i originally anticipated that we would need to ship ld.gold with the version-specific dockerfiles as well, but as i mentioned earlier, ld.gold isn’t usable in the images anyways, so toolchain users need to specify
use-ld=ldto compile anything in release mode.
It is for me. I manage to build 5.8 in the container, without changing anything to the source tree for the x64 build and with one tiny patch to clang for the aarch64 build
I am now trying to build 5.9 with the container + Swift 5.8