File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.12.4 )
1+ cmake_minimum_required (VERSION 3.19.6 )
22
33# TODO: Fix RPATH usage to be CMP0068 compliant
44# Disable Policy CMP0068 for CMake 3.9
@@ -183,7 +183,7 @@ endif()
183183set (SWIFT_USE_LINKER ${SWIFT_USE_LINKER_default} CACHE STRING
184184 "Build Swift with a non-default linker" )
185185
186- option (SWIFT_DISABLE_DEAD_STRIPPING
186+ option (SWIFT_DISABLE_DEAD_STRIPPING
187187 "Turn off Darwin-specific dead stripping for Swift host tools." FALSE )
188188
189189set (SWIFT_TOOLS_ENABLE_LTO OFF CACHE STRING "Build Swift tools with LTO. One
Original file line number Diff line number Diff line change 11# -*- mode: cmake -*-
22
3- cmake_minimum_required (VERSION 2.8.12 )
3+ cmake_minimum_required (VERSION 3.19.6 )
44
55# Add path for custom CMake modules.
66list (APPEND CMAKE_MODULE_PATH
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ library should be distributed alongside them.
4343### CMake Standalone (no build-script)
4444
4545To build the Swift benchmarks using only an Xcode installation: install an
46- Xcode version with Swift support, install cmake 2.8.12 , and ensure Xcode is
46+ Xcode version with Swift support, install cmake 3.19.6 or higher , and ensure Xcode is
4747selected with xcode-select.
4848
4949The following build options are available:
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ Double-check that running `pwd` prints a path ending with `swift`.
158158 * [CentOS 7](https://github.com/apple/swift-docker/blob/main/swift-ci/master/centos/7/Dockerfile)
159159 * [CentOS 8](https://github.com/apple/swift-docker/blob/main/swift-ci/master/centos/8/Dockerfile)
160160 * [Amazon Linux 2](https://github.com/apple/swift-docker/blob/main/swift-ci/master/amazon-linux/2/Dockerfile)
161-
161+
1621622. To install sccache (optional):
163163 ```
164164 sudo snap install sccache --candidate --classic
@@ -170,7 +170,7 @@ Double-check that running `pwd` prints a path ending with `swift`.
170170
171171### Spot check dependencies
172172
173- * Run `cmake --version`: This should be 3.18.1 or higher for macOS .
173+ * Run `cmake --version`: This should be 3.19.6 or higher.
174174* Run `python3 --version`: Check that this succeeds.
175175* Run `ninja --version`: Check that this succeeds.
176176* Run `sccache --version`: Check that this succeeds.
You can’t perform that action at this time.
0 commit comments