Skip to content

Commit 5f9111e

Browse files
authored
Don't set project version so that BASE_LLVM_VERSION isn't needed (intel#496)
It is tedious to update BASE_LLVM_VERSION for different opencl-clang branches when llvm version changes. In addition, project version doesn't bring obvious gain.
1 parent 67016d0 commit 5f9111e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
cmake_minimum_required(VERSION 3.13.4)
22

3-
if(NOT DEFINED BASE_LLVM_VERSION)
4-
set(BASE_LLVM_VERSION 18)
5-
endif(NOT DEFINED BASE_LLVM_VERSION)
6-
set(OPENCL_CLANG_VERSION ${BASE_LLVM_VERSION}.0)
7-
83
if(NOT DEFINED OPENCL_CLANG_BUILD_EXTERNAL)
94
# check if we build inside llvm or not
105
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
@@ -14,8 +9,6 @@ endif(NOT DEFINED OPENCL_CLANG_BUILD_EXTERNAL)
149

1510
if(OPENCL_CLANG_BUILD_EXTERNAL)
1611
project(OPENCL_CLANG
17-
VERSION
18-
${OPENCL_CLANG_VERSION}
1912
LANGUAGES
2013
CXX
2114
C

0 commit comments

Comments
 (0)