diff --git a/stdlib/public/CommandLineSupport/CommandLine.cpp b/stdlib/public/CommandLineSupport/CommandLine.cpp index e1bc1e87df6b..0919bced07e1 100644 --- a/stdlib/public/CommandLineSupport/CommandLine.cpp +++ b/stdlib/public/CommandLineSupport/CommandLine.cpp @@ -24,7 +24,11 @@ #include #include +#if __has_include() +#include +#else #include +#endif #include "swift/Runtime/Debug.h" #include "swift/Runtime/Win32.h" diff --git a/stdlib/public/stubs/Stubs.cpp b/stdlib/public/stubs/Stubs.cpp index f7d23cdfd855..85f7e9107d9b 100644 --- a/stdlib/public/stubs/Stubs.cpp +++ b/stdlib/public/stubs/Stubs.cpp @@ -26,7 +26,11 @@ #define NOMINMAX #include #else // defined(_WIN32) +#if __has_include() +#include +#else #include +#endif #if __has_include() #include #endif diff --git a/utils/build-presets.ini b/utils/build-presets.ini index 666321ea0565..74bd156b103d 100644 --- a/utils/build-presets.ini +++ b/utils/build-presets.ini @@ -845,10 +845,10 @@ test-installable-package toolchain-benchmarks # Path to the root of the installation filesystem. -install-destdir=%(install_destdir)s +install-destdir=/home/build-user/swift-nightly-install # Path to the .tar.gz package we would create. -installable-package=%(installable_package)s +installable-package=/home/build-user/swift-DEVELOPMENT-SNAPSHOT-2024-02-27-a-amazonlinux2.tar.gz # This ensures the default module cache # location is local to this run, allowing @@ -911,21 +911,21 @@ no-assertions [preset: mixin_buildbot_linux,no_test] -skip-test-cmark -skip-test-lldb -skip-test-swift -skip-test-llbuild -skip-test-swiftpm -skip-test-swift-driver -skip-test-xctest -skip-test-foundation -skip-test-libdispatch -skip-test-playgroundsupport -skip-test-libicu -skip-test-indexstore-db -skip-test-sourcekit-lsp -skip-test-swiftdocc -skip-test-wasm-stdlib +; skip-test-cmark +; skip-test-lldb +; skip-test-swift +; skip-test-llbuild +; skip-test-swiftpm +; skip-test-swift-driver +; skip-test-xctest +; skip-test-foundation +; skip-test-libdispatch +; skip-test-playgroundsupport +; skip-test-libicu +; skip-test-indexstore-db +; skip-test-sourcekit-lsp +; skip-test-swiftdocc +; skip-test-wasm-stdlib # Linux package with out test [preset: buildbot_linux,no_test]