Skip to content

Commit

Permalink
[SYCL][Doc] Update CMake version requirements. (intel#10120)
Browse files Browse the repository at this point in the history
LLVM project now requires CMake 3.20+.
  • Loading branch information
bader authored Jul 4, 2023
1 parent 130919b commit c324001
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sycl/doc/GetStartedGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ and a wide range of compute accelerators such as GPU and FPGA.
## Prerequisites

* `git` - [Download](https://git-scm.com/downloads)
* `cmake` version 3.14 or later - [Download](http://www.cmake.org/download/)
* `cmake` version 3.20 or later - [Download](http://www.cmake.org/download/)
* `python` - [Download](https://www.python.org/downloads/)
* `ninja` -
[Download](https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages)
Expand Down Expand Up @@ -743,8 +743,6 @@ compiler and by adding the SYCL specific flags. For example assuming `clang++`
is on the `PATH`, a minimal `CMakeLists.txt` file for the sample above would be:
```cmake
cmake_minimum_required(VERSION 3.14)
# Modifying the compiler should be done before the project line
set(CMAKE_CXX_COMPILER "clang++")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsycl")
Expand Down

0 comments on commit c324001

Please sign in to comment.