Skip to content

[Build System: CMake] Convert the SWIFT_STDLIB_BUILD_TYPE variable into a CMake cache variable in cmake/modules/StandaloneOverlay.cmake #24352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2019

Conversation

Rostepher
Copy link
Contributor

No description provided.

…to a CMake cache variable in cmake/modules/StandaloneOverlay.cmake
@Rostepher
Copy link
Contributor Author

@swift-ci please smoke test

@Rostepher
Copy link
Contributor Author

@swift-ci please test Linux platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 4cddfcc

@Rostepher
Copy link
Contributor Author

@swift-ci please smoke test Linux platform

@@ -10,9 +10,13 @@ endif()

set(CMAKE_INSTALL_PREFIX "${SWIFT_DEST_ROOT}${TOOLCHAIN_DIR}/usr")

set(SWIFT_STDLIB_BUILD_TYPE "Release" CACHE STRING
"Build type for the Swift standard library and SDK overlays [Debug, RelWithDebInfo, Release, MinSizeRel]")
set_property(CACHE SWIFT_STDLIB_BUILD_TYPE PROPERTY
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the property? The set(...CACHE...) should be sufficient.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm just duplicating what's already in the top-level CMakeLists.txt file here.

@Rostepher
Copy link
Contributor Author

@swift-ci please smoke test Linux platform

@Rostepher Rostepher merged commit 316a3b2 into swiftlang:master Apr 30, 2019
@Rostepher Rostepher deleted the standalone-stdlib-build-type branch April 30, 2019 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants