Skip to content

Commit

Permalink
[SYCL] Update DPCPP library major version (#6801)
Browse files Browse the repository at this point in the history
  • Loading branch information
againull committed Sep 15, 2022
1 parent 6647cfd commit 0f579ba
Show file tree
Hide file tree
Showing 3 changed files with 4,662 additions and 4,696 deletions.
2 changes: 1 addition & 1 deletion clang/lib/Driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ endif()

# This must be in sync with llvm/sycl/CMakeLists.txt.
SET_SOURCE_FILES_PROPERTIES( ToolChains/MSVC.cpp ToolChains/Clang.cpp
PROPERTIES COMPILE_DEFINITIONS SYCL_MAJOR_VERSION="5" )
PROPERTIES COMPILE_DEFINITIONS SYCL_MAJOR_VERSION="6" )

add_clang_library(clangDriver
Action.cpp
Expand Down
8 changes: 3 additions & 5 deletions sycl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@ include(SYCLUtils)

# The change in SYCL_MAJOR_VERSION must be accompanied with the same update in
# llvm/clang/lib/Driver/CMakeLists.txt.
set(SYCL_MAJOR_VERSION 5)
set(SYCL_MINOR_VERSION 7)
set(SYCL_MAJOR_VERSION 6)
set(SYCL_MINOR_VERSION 0)
set(SYCL_PATCH_VERSION 0)
# Don't forget to re-enable sycl_symbols_windows.dump once we leave ABI-breaking
# window!
set(SYCL_DEV_ABI_VERSION 18)
set(SYCL_DEV_ABI_VERSION 0)
if (SYCL_ADD_DEV_VERSION_POSTFIX)
set(SYCL_VERSION_POSTFIX "-${SYCL_DEV_ABI_VERSION}")
endif()
Expand Down
Loading

0 comments on commit 0f579ba

Please sign in to comment.