File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -8,4 +8,5 @@ RUN apt update && apt install -yqq \
8
8
ninja-build \
9
9
ccache \
10
10
git \
11
- python3
11
+ python3 \
12
+ python3-distutils
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ option(XPTI_ENABLE_TBB "Enable TBB in the framework" OFF)
15
15
16
16
option (XPTI_ENABLE_WERROR OFF )
17
17
18
+ option (XPTI_BUILD_SAMPLES OFF )
19
+
18
20
if (XPTI_ENABLE_WERROR )
19
21
if (MSVC )
20
22
set (CMAKE_CXX_FLAGS "/WX ${CMAKE_CXX_FLAGS} " )
@@ -53,8 +55,10 @@ add_subdirectory(src)
53
55
add_custom_target (check-xptifw )
54
56
55
57
add_subdirectory (unit_test )
56
- add_subdirectory (samples/basic_collector )
57
- add_subdirectory (samples/syclpi_collector )
58
+ if (XPTI_BUILD_SAMPLES )
59
+ add_subdirectory (samples/basic_collector )
60
+ add_subdirectory (samples/syclpi_collector )
61
+ endif ()
58
62
59
63
# The tests in basic_test are written using TBB, so these tests are enabled
60
64
# only if TBB has been enabled.
You can’t perform that action at this time.
0 commit comments