Using a locally built toolchain from command line on mac

Hi all,

I see this documentation on using a locally built swift compiler
with SWIFT_EXEC=/path/to/swiftc swift build. It seemed like this applies to the compiler only and doesn't apply to the runtime dynamically linked libraries? Because using DYLD_LIBRARY_PATH seemed to allow a locally built version to be used.

Is there a documentation on how to use a locally built compiler as well as a locally built runtime (or the entire toolchain) instead of the installed release version of the toolchain? This is about command line uses.

Thanks.

1 Like