File tree Expand file tree Collapse file tree 6 files changed +11
-14
lines changed Expand file tree Collapse file tree 6 files changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ endif()
19
19
20
20
# This must be in sync with llvm/sycl/CMakeLists.txt.
21
21
SET_SOURCE_FILES_PROPERTIES ( ToolChains/MSVC.cpp ToolChains/Clang.cpp
22
- PROPERTIES COMPILE_DEFINITIONS SYCL_MAJOR_VERSION= "6 " )
22
+ PROPERTIES COMPILE_DEFINITIONS SYCL_MAJOR_VERSION= "7 " )
23
23
24
24
add_clang_library (clangDriver
25
25
Action.cpp
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ include(SYCLUtils)
32
32
#
33
33
# See doc/developer/ABIPolicyGuide.md for the meaning when in the middle of
34
34
# development cycle.
35
- set (SYCL_MAJOR_VERSION 6 )
36
- set (SYCL_MINOR_VERSION 2 )
35
+ set (SYCL_MAJOR_VERSION 7 )
36
+ set (SYCL_MINOR_VERSION 0 )
37
37
set (SYCL_PATCH_VERSION 0 )
38
38
39
39
set (SYCL_DEV_ABI_VERSION 0 )
Original file line number Diff line number Diff line change @@ -35,13 +35,10 @@ Adding a new exported symbol is considered to be non-breaking change.
35
35
The release version of the DPC++ runtime library follows
36
36
[ Semantic Versioning] ( https://semver.org/ ) scheme: ` MAJOR.MINOR.PATCH ` . ` MAJOR `
37
37
version indicates breaking change. Version ` X ` is backwards incompatible with
38
- version ` X-1 ` . ` MINOR ` indicates a non-breaking change. The development version
39
- of the library has a postfix ` -V ` that indicates breaking changes between
40
- releases. Every time a pull request introduces a breaking change, it must also
41
- uplift ` V ` . It is pull request author responsibility to accordingly update
42
- ` V ` part of library version. If ` V > 0 ` on release date, then ` MAJOR_VERSION `
43
- is uplifted and ` V ` is set to zero. ` MAJOR ` , ` MINOR ` , and ` PATCH ` versions are
44
- not updated between releases.
38
+ version ` X-1 ` . ` MINOR ` indicates a non-breaking change. We bump the versions
39
+ immediately after the previous release had been branched off. As such, if next
40
+ release is allowed/expected to be ABI-breaking we bump ` MAJOR ` and drop ` MINOR `
41
+ to zero otherwise increment ` MINOR ` in the beginning of the development cycles.
45
42
46
43
## ` __SYCL_EXPORT ` Macro
47
44
Original file line number Diff line number Diff line change 197
197
config .substitutions .append ( ('%opencl_include_dir' , config .opencl_include_dir ) )
198
198
199
199
if cl_options :
200
- config .substitutions .append ( ('%sycl_options' , ' ' + config .sycl_libs_dir + '/../lib/sycl6 .lib /I' +
200
+ config .substitutions .append ( ('%sycl_options' , ' ' + config .sycl_libs_dir + '/../lib/sycl7 .lib /I' +
201
201
config .sycl_include + ' /I' + os .path .join (config .sycl_include , 'sycl' )) )
202
202
config .substitutions .append ( ('%include_option' , '/FI' ) )
203
203
config .substitutions .append ( ('%debug_option' , '/DEBUG' ) )
206
206
config .substitutions .append ( ('%shared_lib' , '/LD' ) )
207
207
else :
208
208
config .substitutions .append ( ('%sycl_options' ,
209
- (' -lsycl6 ' if platform .system () == "Windows" else " -lsycl" ) + ' -I' +
209
+ (' -lsycl7 ' if platform .system () == "Windows" else " -lsycl" ) + ' -I' +
210
210
config .sycl_include + ' -I' + os .path .join (config .sycl_include , 'sycl' ) +
211
211
' -L' + config .sycl_libs_dir ) )
212
212
config .substitutions .append ( ('%include_option' , '-include' ) )
Original file line number Diff line number Diff line change 3
3
# DO NOT EDIT IT MANUALLY. Refer to sycl/doc/developer/ABIPolicyGuide.md for more info.
4
4
################################################################################
5
5
6
- # RUN: env LLVM_BIN_PATH=%llvm_build_bin_dir %python %sycl_tools_src_dir/abi_check.py --mode check_symbols --reference %s %llvm_build_bin_dir/sycl6 .dll
6
+ # RUN: env LLVM_BIN_PATH=%llvm_build_bin_dir %python %sycl_tools_src_dir/abi_check.py --mode check_symbols --reference %s %llvm_build_bin_dir/sycl7 .dll
7
7
# REQUIRES: windows
8
8
# UNSUPPORTED: libcxx
9
9
Original file line number Diff line number Diff line change 102
102
sycl_host_only_options += ' -isystem %s' % include_dir
103
103
config .substitutions .append ( ('%fsycl-host-only' , sycl_host_only_options ) )
104
104
105
- config .substitutions .append ( ('%sycl_lib' , ' -lsycl6 ' if platform .system () == "Windows" else '-lsycl' ) )
105
+ config .substitutions .append ( ('%sycl_lib' , ' -lsycl7 ' if platform .system () == "Windows" else '-lsycl' ) )
106
106
107
107
llvm_config .add_tool_substitutions (['llvm-spirv' ], [config .sycl_tools_dir ])
108
108
You can’t perform that action at this time.
0 commit comments