Skip to content

Commit

Permalink
Add clang patch with OpenCL 3.0 feature macro support
Browse files Browse the repository at this point in the history
  • Loading branch information
azabazno authored and woshiyifei committed May 28, 2020
1 parent 2638c80 commit 92f3f7f
Show file tree
Hide file tree
Showing 2 changed files with 3,155 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ if(NOT USE_PREBUILT_LLVM)

if(NOT LLVM_EXTERNAL_CLANG_SOURCE_DIR)
set(CLANG_SOURCE_DIR ${LLVM_SOURCE_DIR}/tools/clang)
set(CLANG_BASE_REVISION origin/release_10)
elseif(EXISTS "${LLVM_EXTERNAL_CLANG_SOURCE_DIR}/CMakeLists.txt")
set(CLANG_SOURCE_DIR "${LLVM_EXTERNAL_CLANG_SOURCE_DIR}")
set(CLANG_BASE_REVISION origin/release/10.x)
endif()
if(EXISTS ${CLANG_SOURCE_DIR})
message(STATUS "Using Clang source code direcotry: ${CLANG_SOURCE_DIR}")
Expand Down Expand Up @@ -117,7 +119,6 @@ if(NOT USE_PREBUILT_LLVM)
)
endif()

set(CLANG_BASE_REVISION master)
set(SPIRV_BASE_REVISION master)
set(TARGET_BRANCH "ocl-open-100")

Expand Down
Loading

0 comments on commit 92f3f7f

Please sign in to comment.