[SR-2027] build-script -x fails during building of SwiftShims #44636
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
build-script
Area → utils: The build script
cmake
Environment
OS X 10.11.5 (15F34), MacBook Pro (Retina, 15-inch, Late 2013), Xcode Version 8.0 beta 2 (8S162m)
Additional Detail from JIRA
md5: d1f70e4668dbe43b833dce4c9a7ef89a
Issue Description:
On my machine, utils/build-script -c -x fails with the error "Clang headers were not found" from stdlib/public/SwiftShims/CMakeLists.txt line 65.
Investigation showed that CMAKE_CFG_INTDIR contained xcodebuild-style $(...) variables which were not being substituted before the "if(EXISTS …)" call. The change at <beccadax@2db328fa48d90be530f2fa4cff1034b8bc2dc35d\> corrects this issue for me, although it feels a little hacky and I have zero CMake experience, so there may be a better solution.
The text was updated successfully, but these errors were encountered: