@@ -36,15 +36,15 @@ def do_configure(args):
36
36
sycl_build_pi_hip = 'OFF'
37
37
sycl_build_pi_hip_platform = 'AMD'
38
38
sycl_clang_extra_flags = ''
39
- sycl_werror = 'ON '
39
+ sycl_werror = 'OFF '
40
40
llvm_enable_assertions = 'ON'
41
41
llvm_enable_doxygen = 'OFF'
42
42
llvm_enable_sphinx = 'OFF'
43
43
llvm_build_shared_libs = 'OFF'
44
44
llvm_enable_lld = 'OFF'
45
45
46
46
sycl_enable_xpti_tracing = 'ON'
47
- xpti_enable_werror = 'ON '
47
+ xpti_enable_werror = 'OFF '
48
48
49
49
# replace not append, so ARM ^ X86
50
50
if args .arm :
@@ -77,9 +77,9 @@ def do_configure(args):
77
77
sycl_build_pi_hip_platform = args .hip_platform
78
78
sycl_build_pi_hip = 'ON'
79
79
80
- if args .no_werror :
81
- sycl_werror = 'OFF '
82
- xpti_enable_werror = 'OFF '
80
+ if args .werror | | args . ci_defaults :
81
+ sycl_werror = 'ON '
82
+ xpti_enable_werror = 'ON '
83
83
84
84
if args .no_assertions :
85
85
llvm_enable_assertions = 'OFF'
@@ -213,7 +213,7 @@ def main():
213
213
parser .add_argument ("--enable-esimd-emulator" , action = 'store_true' , help = "build with ESIMD emulation support" )
214
214
parser .add_argument ("--no-assertions" , action = 'store_true' , help = "build without assertions" )
215
215
parser .add_argument ("--docs" , action = 'store_true' , help = "build Doxygen documentation" )
216
- parser .add_argument ("--no- werror" , action = 'store_true' , help = "Don't treat warnings as errors" )
216
+ parser .add_argument ("--werror" , action = 'store_true' , help = "Don't treat warnings as errors" )
217
217
parser .add_argument ("--shared-libs" , action = 'store_true' , help = "Build shared libraries" )
218
218
parser .add_argument ("--cmake-opt" , action = 'append' , help = "Additional CMake option not configured via script parameters" )
219
219
parser .add_argument ("--cmake-gen" , default = "Ninja" , help = "CMake generator" )
0 commit comments