[SR-5817] Swift CMake prints "Building Swift standard library and SDK overlays" and "Building Swift runtime", even when those are *not* being built #48387
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
cmake
good first issue
Good for newcomers
Additional Detail from JIRA
md5: e3a6dd6c80b11e84ee6fe96250c68658
Issue Description:
Using the following project layout:
If I run the following CMake command:
...then the CMake configuration step outputs the following:
However, this is not true; if I invoke
ninja
, it will not build the Swift standard library, SDK overlays, or runtime.I believe this same bug can be reproduced by invoking the build script in the following way:
I think the solution here would be to not print the above statements, or to print something different, if the CMake variable
SWIFT_BUILD_STDLIB
is set toFALSE
inswift/CMakeLists.txt
.The text was updated successfully, but these errors were encountered: