Skip to content

Commit db6ef61

Browse files
committed
---
yaml --- r: 318391 b: refs/heads/master-rebranch c: 49a1e7c h: refs/heads/master i: 318389: 85571fc 318387: 1279d43 318383: 8406efe
1 parent 2ca91f3 commit db6ef61

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1457,4 +1457,4 @@ refs/tags/swift-DEVELOPMENT-SNAPSHOT-2019-08-02-a: ddd2b2976aa9bfde5f20fe37f6bd2
14571457
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2019-08-03-a: 171cc166f2abeb5ca2a4003700a8a78a108bd300
14581458
refs/heads/benlangmuir-patch-1: baaebaf39d52f3bf36710d4fe40cf212e996b212
14591459
refs/heads/i-do-redeclare: 8c4e6d5de5c1e3f0a2cedccf319df713ea22c48e
1460-
refs/heads/master-rebranch: 15035bfa9cbabee863437e3a96b6a9ad99217028
1460+
refs/heads/master-rebranch: 49a1e7c668a22b8aac46c4e93f8a08747db4c8af

branches/master-rebranch/cmake/modules/SwiftSharedCMakeConfig.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
include(CMakeParseArguments)
22
include(SwiftXcodeSupport)
33

4+
include(CheckCXXCompilerFlag)
5+
46
macro(swift_common_standalone_build_config_llvm product is_cross_compiling)
57
option(LLVM_ENABLE_WARNINGS "Enable compiler warnings." ON)
68

branches/master-rebranch/stdlib/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ set(HOST_CMAKE_CXX_COMPILER ${CMAKE_CXX_COMPILER})
1313
set(HOST_CMAKE_C_COMPILER_INITIAL ${CMAKE_C_COMPILER})
1414

1515
if(SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER)
16-
if((NOT "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang") AND
17-
(NOT "${CMAKE_C_COMPILER_ID}" STREQUAL "AppleClang"))
16+
if(NOT "${CMAKE_C_COMPILER_ID}" MATCHES "Clang")
1817
message(FATAL_ERROR "Building the swift runtime is not supported with ${CMAKE_C_COMPILER_ID}. Use the just-built clang instead.")
1918
else()
2019
message(WARNING "Building the swift runtime using the host compiler, and not the just-built clang.")
@@ -32,6 +31,7 @@ else()
3231

3332
set(CMAKE_C_COMPILER_LAUNCHER "")
3433
set(CMAKE_CXX_COMPILER_LAUNCHER "")
34+
3535
# The sanitizers require using the same version of the compiler for
3636
# everything and there are various places where we link runtime code with
3737
# code built by the host compiler. Disable sanitizers for the runtime for

branches/master-rebranch/stdlib/public/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
set(SWIFT_RUNTIME_CXX_FLAGS)
23
set(SWIFT_RUNTIME_LINK_FLAGS)
34
set(SWIFT_RUNTIME_SWIFT_COMPILE_FLAGS)

0 commit comments

Comments
 (0)