Skip to content

Commit b4d2d8b

Browse files
Remove setting -Wno-deprecated-declarations in examples
1 parent ca9517c commit b4d2d8b

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

examples/pybind11/external_usm_allocation/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ pybind11_add_module(${py_module_name}
2828
external_usm_allocation/_usm_alloc_example.cpp
2929
)
3030
target_include_directories(${py_module_name} PUBLIC ${Dpctl_INCLUDE_DIRS})
31-
target_compile_options(${py_module_name} PRIVATE -Wno-deprecated-declarations)
3231
install(TARGETS ${py_module_name}
3332
DESTINATION external_usm_allocation
3433
)

examples/pybind11/onemkl_gemv/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ target_include_directories(${py_module_name} PUBLIC ${Dpctl_INCLUDE_DIRS})
5050
get_target_property(_sycl_gemm_sources ${py_module_name} SOURCES)
5151
set_source_files_properties(${_sycl_gemm_sources}
5252
PROPERTIES
53-
COMPILE_OPTIONS "-O3;-Wno-deprecated-declarations"
53+
COMPILE_OPTIONS "-O3"
5454
)
5555

5656
add_executable(standalone_cpp

examples/pybind11/use_dpctl_syclqueue/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ pybind11_add_module(${py_module_name}
2828
use_queue_device/_example.cpp
2929
)
3030
target_include_directories(${py_module_name} PUBLIC ${Dpctl_INCLUDE_DIRS})
31-
target_compile_options(${py_module_name} PRIVATE -Wno-deprecated-declarations)
3231
install(TARGETS ${py_module_name}
3332
DESTINATION use_queue_device
3433
)

0 commit comments

Comments
 (0)