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 )
2
2
3
3
# TODO: Fix RPATH usage to be CMP0068 compliant
4
4
# Disable Policy CMP0068 for CMake 3.9
@@ -183,7 +183,7 @@ endif()
183
183
set (SWIFT_USE_LINKER ${SWIFT_USE_LINKER_default} CACHE STRING
184
184
"Build Swift with a non-default linker" )
185
185
186
- option (SWIFT_DISABLE_DEAD_STRIPPING
186
+ option (SWIFT_DISABLE_DEAD_STRIPPING
187
187
"Turn off Darwin-specific dead stripping for Swift host tools." FALSE )
188
188
189
189
set (SWIFT_TOOLS_ENABLE_LTO OFF CACHE STRING "Build Swift tools with LTO. One
Original file line number Diff line number Diff line change 1
1
# -*- mode: cmake -*-
2
2
3
- cmake_minimum_required (VERSION 2.8.12 )
3
+ cmake_minimum_required (VERSION 3.19.6 )
4
4
5
5
# Add path for custom CMake modules.
6
6
list (APPEND CMAKE_MODULE_PATH
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ library should be distributed alongside them.
43
43
### CMake Standalone (no build-script)
44
44
45
45
To 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
47
47
selected with xcode-select.
48
48
49
49
The 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`.
158
158
* [CentOS 7](https://github.com/apple/swift-docker/blob/main/swift-ci/master/centos/7/Dockerfile)
159
159
* [CentOS 8](https://github.com/apple/swift-docker/blob/main/swift-ci/master/centos/8/Dockerfile)
160
160
* [Amazon Linux 2](https://github.com/apple/swift-docker/blob/main/swift-ci/master/amazon-linux/2/Dockerfile)
161
-
161
+
162
162
2. To install sccache (optional):
163
163
```
164
164
sudo snap install sccache --candidate --classic
@@ -170,7 +170,7 @@ Double-check that running `pwd` prints a path ending with `swift`.
170
170
171
171
### Spot check dependencies
172
172
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.
174
174
* Run `python3 --version`: Check that this succeeds.
175
175
* Run `ninja --version`: Check that this succeeds.
176
176
* Run `sccache --version`: Check that this succeeds.
You can’t perform that action at this time.
0 commit comments