spl-core 7.3.2__py3-none-any.whl → 7.4.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- spl_core/__init__.py +1 -1
- spl_core/common.cmake +21 -7
- spl_core/kickstart/templates/project/build.ps1 +1 -1
- spl_core/test_utils/base_variant_test_runner.py +1 -1
- {spl_core-7.3.2.dist-info → spl_core-7.4.0.dist-info}/METADATA +1 -1
- {spl_core-7.3.2.dist-info → spl_core-7.4.0.dist-info}/RECORD +9 -9
- {spl_core-7.3.2.dist-info → spl_core-7.4.0.dist-info}/LICENSE +0 -0
- {spl_core-7.3.2.dist-info → spl_core-7.4.0.dist-info}/WHEEL +0 -0
- {spl_core-7.3.2.dist-info → spl_core-7.4.0.dist-info}/entry_points.txt +0 -0
spl_core/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "7.
|
|
1
|
+
__version__ = "7.4.0"
|
spl_core/common.cmake
CHANGED
|
@@ -192,10 +192,17 @@ macro(spl_create_component)
|
|
|
192
192
|
\"has_reports\": \"\",
|
|
193
193
|
\"reports_output_dir\": \"\"
|
|
194
194
|
}")
|
|
195
|
-
|
|
196
|
-
|
|
195
|
+
set(_component_is_header_only FALSE)
|
|
196
|
+
# If prod and sources or test and test_sources define library. Else make it an interface and set the flag
|
|
197
|
+
if ((BUILD_KIT STREQUAL prod AND SOURCES) OR
|
|
198
|
+
(BUILD_KIT STREQUAL test AND TEST_SOURCES))
|
|
197
199
|
add_library(${component_name} ${CREATE_COMPONENT_LIBRARY_TYPE} ${SOURCES})
|
|
200
|
+
else()
|
|
201
|
+
# Add header only component
|
|
202
|
+
set(_component_is_header_only TRUE)
|
|
203
|
+
add_library(${component_name} INTERFACE)
|
|
198
204
|
endif()
|
|
205
|
+
|
|
199
206
|
if(BUILD_KIT STREQUAL prod)
|
|
200
207
|
if(SOURCES)
|
|
201
208
|
# Define list of productive specific compile options for component's sources
|
|
@@ -213,7 +220,6 @@ macro(spl_create_component)
|
|
|
213
220
|
|
|
214
221
|
set(_component_dir ${CMAKE_CURRENT_LIST_DIR})
|
|
215
222
|
set(_component_doc_dir ${_component_dir}/doc)
|
|
216
|
-
set(_component_doc_file ${_component_doc_dir}/index.rst)
|
|
217
223
|
set(_component_test_junit_xml ${CMAKE_CURRENT_BINARY_DIR}/junit.xml)
|
|
218
224
|
set(_component_coverage_json ${CMAKE_CURRENT_BINARY_DIR}/coverage.json)
|
|
219
225
|
set(_component_docs_out_dir ${CMAKE_CURRENT_BINARY_DIR}/docs)
|
|
@@ -223,7 +229,7 @@ macro(spl_create_component)
|
|
|
223
229
|
set(_sphinx_source_dir ${PROJECT_SOURCE_DIR})
|
|
224
230
|
|
|
225
231
|
# Create component docs target if there is an index.rst file in the component's doc directory
|
|
226
|
-
if(EXISTS ${
|
|
232
|
+
if(EXISTS ${_component_doc_dir}/index.rst OR EXISTS ${_component_doc_dir}/index.md)
|
|
227
233
|
file(RELATIVE_PATH _rel_component_docs_out_dir ${_sphinx_source_dir} ${_component_docs_out_dir})
|
|
228
234
|
string(JSON _component_info SET "${_component_info}" docs_output_dir "\"${_rel_component_docs_out_dir}\"")
|
|
229
235
|
string(JSON _component_info SET "${_component_info}" has_docs "\"True\"")
|
|
@@ -355,7 +361,7 @@ Code Coverage
|
|
|
355
361
|
# Collect all component sphinx include pattern to be used in the variant targets (docs, reports)
|
|
356
362
|
list(APPEND COMPONENTS_SPHINX_INCLUDE_PATTERNS "${_rel_component_doc_dir}/**" "${_rel_component_docs_out_dir}/**" "${_rel_component_reports_out_dir}/**")
|
|
357
363
|
set(COMPONENTS_SPHINX_INCLUDE_PATTERNS ${COMPONENTS_SPHINX_INCLUDE_PATTERNS} PARENT_SCOPE)
|
|
358
|
-
endif(EXISTS ${
|
|
364
|
+
endif(EXISTS ${_component_doc_dir}/index.rst OR EXISTS ${_component_doc_dir}/index.md)
|
|
359
365
|
endif(BUILD_KIT STREQUAL prod)
|
|
360
366
|
|
|
361
367
|
# Implicitly add default include directories to provided interfaces
|
|
@@ -376,10 +382,18 @@ Code Coverage
|
|
|
376
382
|
# Define the target public interfaces to be used instead of the global include directories.
|
|
377
383
|
if(TARGET ${component_name})
|
|
378
384
|
foreach(interfaceDir IN LISTS PROVIDED_INTERFACES)
|
|
379
|
-
|
|
385
|
+
if (_component_is_header_only)
|
|
386
|
+
target_include_directories(${component_name} INTERFACE ${interfaceDir})
|
|
387
|
+
else()
|
|
388
|
+
target_include_directories(${component_name} PUBLIC ${interfaceDir})
|
|
389
|
+
endif()
|
|
380
390
|
endforeach()
|
|
381
391
|
foreach(component IN LISTS REQUIRED_INTERFACES)
|
|
382
|
-
|
|
392
|
+
if(_component_is_header_only)
|
|
393
|
+
target_link_libraries(${component_name} INTERFACE ${component})
|
|
394
|
+
else()
|
|
395
|
+
target_link_libraries(${component_name} PUBLIC ${component})
|
|
396
|
+
endif()
|
|
383
397
|
endforeach()
|
|
384
398
|
endif()
|
|
385
399
|
|
|
@@ -261,7 +261,7 @@ function Get-User-Menu-Selection {
|
|
|
261
261
|
|
|
262
262
|
function Invoke-Bootstrap {
|
|
263
263
|
# Download bootstrap scripts from external repository
|
|
264
|
-
Invoke-RestMethod -Uri https://raw.githubusercontent.com/avengineers/bootstrap-installer/v1.17.
|
|
264
|
+
Invoke-RestMethod -Uri https://raw.githubusercontent.com/avengineers/bootstrap-installer/v1.17.1/install.ps1 | Invoke-Expression
|
|
265
265
|
# Execute bootstrap script
|
|
266
266
|
. .\.bootstrap\bootstrap.ps1
|
|
267
267
|
}
|
|
@@ -81,7 +81,7 @@ class BaseVariantTestRunner(ABC):
|
|
|
81
81
|
@pytest.mark.reports
|
|
82
82
|
def test_reports(self, build_type: Optional[str] = None) -> None:
|
|
83
83
|
spl_build: SplBuild = SplBuild(variant=self.variant, build_kit="test", build_type=build_type)
|
|
84
|
-
assert 0 == spl_build.execute(target="
|
|
84
|
+
assert 0 == spl_build.execute(target="reports") # noqa: S101
|
|
85
85
|
for artifact in self.expected_variant_report_artifacts:
|
|
86
86
|
self.assert_artifact_exists(dir=spl_build.build_dir, artifact=artifact)
|
|
87
87
|
for component in self.component_paths:
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
spl_core/__init__.py,sha256=
|
|
1
|
+
spl_core/__init__.py,sha256=Dbq9JbNzDz-GmfE0eozgGmdee4W8D3uVIIQv1bzHZPk,22
|
|
2
2
|
spl_core/__run.py,sha256=DphnN7_Bjiw_mOOztsHxTDHS8snz1g2MMWAaJpZxPKM,361
|
|
3
3
|
spl_core/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
spl_core/common/command_line_executor.py,sha256=GHIMpNiMD_eP44vq7L_HiC08aKt7lgW_wn_omU6REwQ,2217
|
|
5
5
|
spl_core/common/path.py,sha256=sDujd3n4XP1XGjHc7ImXEdjihO6A8BOIDbKCf7HgQ0Y,462
|
|
6
|
-
spl_core/common.cmake,sha256=
|
|
6
|
+
spl_core/common.cmake,sha256=sRWqQeK04iUpeM3beQZXIi5mpEQNyO751O-yBoFCrqk,35160
|
|
7
7
|
spl_core/conan.cmake,sha256=i1AuyN-e8cczX7TI1nl6e3Y8N-EP-QXPVY7LG6NUyJY,41958
|
|
8
8
|
spl_core/config/KConfig,sha256=atlUwl0kPIdoGjbOI2PoaCQ2wgao7-mblZKn3dXUCxI,1755
|
|
9
9
|
spl_core/gcov_maid/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -41,7 +41,7 @@ spl_core/kickstart/templates/project/CMakeLists.txt,sha256=le-VTB-TWz6dEisvypxom
|
|
|
41
41
|
spl_core/kickstart/templates/project/README.md,sha256=k-P_SycFIRnRmjjUoAiDrRF8Gg1Te-qErAX-pgtYuqg,310
|
|
42
42
|
spl_core/kickstart/templates/project/bootstrap.json,sha256=FqVp5PmTRZvO0FR_jeA9g2TvIMPPQ5-ozlZNs5YZTmE,119
|
|
43
43
|
spl_core/kickstart/templates/project/build.bat,sha256=RaFszwOtD27hhmInBV0K2vNRwgcmUBx0ihCKa0LIY6I,85
|
|
44
|
-
spl_core/kickstart/templates/project/build.ps1,sha256=
|
|
44
|
+
spl_core/kickstart/templates/project/build.ps1,sha256=IVI_fhKUiDyuEx2e2TtYwlh-j4DyHl4sqjmhkN6k5FY,14350
|
|
45
45
|
spl_core/kickstart/templates/project/conf.py,sha256=KYcz0pLP0nMSYdNhebdNcQPzC5Yg14TDcMPD-mHnlso,6502
|
|
46
46
|
spl_core/kickstart/templates/project/doc/Doxyfile.in,sha256=NOj07VHEUeEfYIrETKg--G2ShBXMqFh61q1FdhfY-5U,123953
|
|
47
47
|
spl_core/kickstart/templates/project/doc/common/index.rst,sha256=tOqSYkFdxIJtBcllwMwWEkw9_cbbAsg9NPU2AanyJNc,91
|
|
@@ -60,10 +60,10 @@ spl_core/kickstart/templates/project/tools/toolchains/clang/toolchain.cmake,sha2
|
|
|
60
60
|
spl_core/kickstart/templates/project/tools/toolchains/gcc/toolchain.cmake,sha256=AmLzPyhTgfc_Dsre4AlsvSOkVGW6VswWvrEnUL8JLhA,183
|
|
61
61
|
spl_core/main.py,sha256=_hL4j155WZMXog_755bgAH1PeUwvTdJZvVdVw9EWhvo,1225
|
|
62
62
|
spl_core/spl.cmake,sha256=W8h-Zj-N302qxMrRG8MhoEkJ0io92bWGp4Y5r8LBQnc,4535
|
|
63
|
-
spl_core/test_utils/base_variant_test_runner.py,sha256=
|
|
63
|
+
spl_core/test_utils/base_variant_test_runner.py,sha256=EeGvHEwrMOAbYolVfHNs2l9EAVhYxvJqC0Nq9qcdggE,3497
|
|
64
64
|
spl_core/test_utils/spl_build.py,sha256=OO7rIZpBb7EP87D39NeTK4XH17x3xNfwRI5YHPBvGgY,6041
|
|
65
|
-
spl_core-7.
|
|
66
|
-
spl_core-7.
|
|
67
|
-
spl_core-7.
|
|
68
|
-
spl_core-7.
|
|
69
|
-
spl_core-7.
|
|
65
|
+
spl_core-7.4.0.dist-info/LICENSE,sha256=UjjA0o8f5tT3wVm7qodTLAhPWLl6kgVyn9FPAd1VeYY,1099
|
|
66
|
+
spl_core-7.4.0.dist-info/METADATA,sha256=2teM61g497KKyTWSpSWBc_dGrxktihfK8bCKUpytq6A,5156
|
|
67
|
+
spl_core-7.4.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
68
|
+
spl_core-7.4.0.dist-info/entry_points.txt,sha256=18_sdVY93N1GVBiAHxQ_F9ZM-bBvOmVMOMn7PNe2EqU,45
|
|
69
|
+
spl_core-7.4.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|