Skip to content

Commit a828df0

Browse files
committed
---
yaml --- r: 346858 b: refs/heads/master c: 49a1e7c h: refs/heads/master
1 parent 30d12de commit a828df0

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 15035bfa9cbabee863437e3a96b6a9ad99217028
2+
refs/heads/master: 49a1e7c668a22b8aac46c4e93f8a08747db4c8af
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/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

trunk/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

trunk/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)