<html><body><p>After apply this commit, the s390x build started to fail:<br><a href="https://github.com/apple/swift/commit/dc88e51321e0a4f281406c265a91308a06aa517f">https://github.com/apple/swift/commit/dc88e51321e0a4f281406c265a91308a06aa517f</a><br><br>The commit added 2 new functions in stdlib/public/SwiftShims/RuntimeStubs.h. They are used in stdlib/public/stubs/CommandLine.cpp with <b>SWIFT_CC(swift)</b> macro. Since we use the LLVM's intrinsic "swiftcall" on s390x, this caused a build error. To fix it we added the <b>SWIFT_CC(swift)</b> macro and <b>#include "swift/Runtime/Config.h"</b> to RuntimeStubs.h. We then ran into this build error:<br><br><font face="Courier New"><module-includes>:9:10: note: in file included from <module-includes>:9:</font><br><font face="Courier New">#include "RuntimeStubs.h"</font><br><font face="Courier New"> ^</font><br><font face="Courier New">/localbox/vivkong/swift/build/Ninja-RelWithDebInfoAssert/swift-linux-s390x/./lib/swift/shims/RuntimeStubs.h:23:10: error: </font><b><font face="Courier New">'swift/Runtime/Config.h' file not found</font></b><br><font face="Courier New">#include "swift/Runtime/Config.h"</font><br><br><br>I tried modifying stdlib/public/SwiftShims/CMakeLists.txt with<br><br><font face="Courier New">include_directories(</font><br><font face="Courier New"> ${CMAKE_SOURCE_DIR}/include</font><br><font face="Courier New"> )</font><br><br>But that didn't seem to work. Any suggestions on how to fix this?<br><br>Thanks for your help!<br><br>Regards,<br><br>Vivian Kong<br>Software Developer<br>IBM Canada Toronto Lab<BR>
</body></html>