spl-core 7.8.0rc1__py3-none-any.whl → 7.9.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 +1 -1
- spl_core/kickstart/templates/project/tools/toolchains/clang/toolchain.cmake +8 -0
- spl_core/kickstart/templates/project/tools/toolchains/gcc/toolchain.cmake +8 -0
- spl_core/steps/collect_pr_changes.py +7 -9
- {spl_core-7.8.0rc1.dist-info → spl_core-7.9.0.dist-info}/METADATA +3 -2
- {spl_core-7.8.0rc1.dist-info → spl_core-7.9.0.dist-info}/RECORD +10 -10
- {spl_core-7.8.0rc1.dist-info → spl_core-7.9.0.dist-info}/LICENSE +0 -0
- {spl_core-7.8.0rc1.dist-info → spl_core-7.9.0.dist-info}/WHEEL +0 -0
- {spl_core-7.8.0rc1.dist-info → spl_core-7.9.0.dist-info}/entry_points.txt +0 -0
spl_core/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "7.
|
|
1
|
+
__version__ = "7.9.0"
|
spl_core/common.cmake
CHANGED
|
@@ -620,7 +620,7 @@ macro(_spl_add_test_suite COMPONENT_NAME PROD_SRC TEST_SOURCES)
|
|
|
620
620
|
OUTPUT ${MOCK_SRC}
|
|
621
621
|
BYPRODUCTS mockup_${component_name}.h
|
|
622
622
|
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
|
|
623
|
-
COMMAND python -m hammocking --suffix _${COMPONENT_NAME} --sources ${PROD_SRC} --plink ${CMAKE_CURRENT_BINARY_DIR}/${PROD_PARTIAL_LINK} --outdir ${CMAKE_CURRENT_BINARY_DIR} "$<$<BOOL:${component_inc_dirs}>:-I$<JOIN:${component_inc_dirs},;-I>>" "$<$<BOOL:${component_comp_defs}>:-D$<JOIN:${component_comp_defs},;-D>>" -x c
|
|
623
|
+
COMMAND python -m hammocking --suffix _${COMPONENT_NAME} --sources ${PROD_SRC} --plink ${CMAKE_CURRENT_BINARY_DIR}/${PROD_PARTIAL_LINK} --outdir ${CMAKE_CURRENT_BINARY_DIR} "$<$<BOOL:${component_inc_dirs}>:-I$<JOIN:${component_inc_dirs},;-I>>" "$<$<BOOL:${component_comp_defs}>:-D$<JOIN:${component_comp_defs},;-D>>" ${COMPILER_SPECIFIC_INCLUDES} -x c
|
|
624
624
|
COMMAND_EXPAND_LISTS
|
|
625
625
|
VERBATIM
|
|
626
626
|
DEPENDS
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
set(CMAKE_C_COMPILER clang CACHE STRING "C Compiler")
|
|
2
2
|
set(CMAKE_CXX_COMPILER clang++ CACHE STRING "CXX Compiler")
|
|
3
3
|
set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER} CACHE STRING "ASM Compiler")
|
|
4
|
+
|
|
5
|
+
unset(CMAKE_C_COMPILER_FOUND_PATH)
|
|
6
|
+
find_program(CMAKE_C_COMPILER_FOUND_PATH ${CMAKE_C_COMPILER})
|
|
7
|
+
get_filename_component(CMAKE_C_COMPILER_FOUND_PATH ${CMAKE_C_COMPILER_FOUND_PATH} DIRECTORY)
|
|
8
|
+
# CMAKE_C_COMPILER_FOUND_PATH is the path to the 'bin' directory
|
|
9
|
+
set(COMPILER_SPECIFIC_INCLUDES
|
|
10
|
+
-I${CMAKE_C_COMPILER_FOUND_PATH}/../x86_64-w64-mingw32/include
|
|
11
|
+
)
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
set(CMAKE_C_COMPILER gcc CACHE STRING "C Compiler")
|
|
2
2
|
set(CMAKE_CXX_COMPILER g++ CACHE STRING "CXX Compiler")
|
|
3
3
|
set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER} CACHE STRING "ASM Compiler")
|
|
4
|
+
|
|
5
|
+
unset(CMAKE_C_COMPILER_FOUND_PATH)
|
|
6
|
+
find_program(CMAKE_C_COMPILER_FOUND_PATH ${CMAKE_C_COMPILER})
|
|
7
|
+
get_filename_component(CMAKE_C_COMPILER_FOUND_PATH ${CMAKE_C_COMPILER_FOUND_PATH} DIRECTORY)
|
|
8
|
+
# CMAKE_C_COMPILER_FOUND_PATH is the path to the 'bin' directory
|
|
9
|
+
set(COMPILER_SPECIFIC_INCLUDES
|
|
10
|
+
-I${CMAKE_C_COMPILER_FOUND_PATH}/../x86_64-w64-mingw32/include
|
|
11
|
+
)
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import json
|
|
1
2
|
from dataclasses import dataclass
|
|
2
3
|
from pathlib import Path
|
|
3
4
|
from typing import List, Optional
|
|
@@ -34,14 +35,12 @@ class CollectPRChanges(PipelineStep):
|
|
|
34
35
|
changed_files = self._get_changed_files(ci_context.target_branch, ci_context.current_branch)
|
|
35
36
|
output_file = self.get_outputs()[0]
|
|
36
37
|
output_file.parent.mkdir(parents=True, exist_ok=True)
|
|
37
|
-
output_file.write_text(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
encoding="utf-8",
|
|
44
|
-
)
|
|
38
|
+
output_file.write_text(json.dumps(
|
|
39
|
+
PR_Changes(
|
|
40
|
+
ci_system=ci_context.ci_system.name, target_branch=ci_context.target_branch, current_branch=ci_context.current_branch, commit_id=self._get_commit_id(ci_context), changed_files=changed_files
|
|
41
|
+
).to_dict(),
|
|
42
|
+
indent=2
|
|
43
|
+
))
|
|
45
44
|
logger.info(f"PR changes saved to {output_file}")
|
|
46
45
|
|
|
47
46
|
def _get_changed_files(self, target_branch: str, current_branch: str) -> List[str]:
|
|
@@ -89,7 +88,6 @@ class CollectPRChanges(PipelineStep):
|
|
|
89
88
|
logger.info("No CI context found.")
|
|
90
89
|
return ""
|
|
91
90
|
ci_context = ci_contexts[0]
|
|
92
|
-
logger.info(f"CI context: {ci_context}")
|
|
93
91
|
if isinstance(ci_context, CIContext) and ci_context.is_pull_request:
|
|
94
92
|
result = SubprocessExecutor(["git", "rev-parse", f"origin/{ci_context.current_branch}"]).execute(handle_errors=False)
|
|
95
93
|
if result and result.returncode == 0:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: spl-core
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.9.0
|
|
4
4
|
Summary: Software Product Line Support for CMake
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Avengineers
|
|
@@ -23,7 +23,8 @@ Requires-Dist: kconfiglib (>=14.1,<15.0)
|
|
|
23
23
|
Requires-Dist: mlx-traceability (>=10.0,<11.0)
|
|
24
24
|
Requires-Dist: myst-parser (>=0.16)
|
|
25
25
|
Requires-Dist: py-app-dev (>=2.1,<3.0)
|
|
26
|
-
Requires-Dist: pypeline-
|
|
26
|
+
Requires-Dist: pypeline-runner (>=1,<=2)
|
|
27
|
+
Requires-Dist: pypeline-semantic-release (>=0.4.1,<=0.5.0)
|
|
27
28
|
Requires-Dist: sphinx (>=7.3,<8.0)
|
|
28
29
|
Requires-Dist: sphinx-book-theme (>=1.1,<2.0)
|
|
29
30
|
Requires-Dist: sphinx-copybutton (>=0.5,<0.6)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
spl_core/__init__.py,sha256=
|
|
1
|
+
spl_core/__init__.py,sha256=cR9GZGw5gRT-1yq69vN7Bfk48p6j47mGqQA4xv9soHw,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/path.py,sha256=sDujd3n4XP1XGjHc7ImXEdjihO6A8BOIDbKCf7HgQ0Y,462
|
|
5
|
-
spl_core/common.cmake,sha256=
|
|
5
|
+
spl_core/common.cmake,sha256=_SpOGQKkPW21aTZpR49J4Swzk2G4QAeSHwbhYI4yoFc,35190
|
|
6
6
|
spl_core/conan.cmake,sha256=i1AuyN-e8cczX7TI1nl6e3Y8N-EP-QXPVY7LG6NUyJY,41958
|
|
7
7
|
spl_core/config/KConfig,sha256=atlUwl0kPIdoGjbOI2PoaCQ2wgao7-mblZKn3dXUCxI,1755
|
|
8
8
|
spl_core/gcov_maid/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -55,16 +55,16 @@ spl_core/kickstart/templates/project/pypeline.yaml,sha256=9Kz3D0-I5mVJ6UdG92BuQS
|
|
|
55
55
|
spl_core/kickstart/templates/project/pyproject.toml,sha256=FicwBOwVlGi_0pwTC0_LTaKMgWoaXfMayjYTp4Qb48I,310
|
|
56
56
|
spl_core/kickstart/templates/project/pytest.ini,sha256=Zh3jeEjZV_BqQoX7LB0cv6EtqDDogRCHsQdKHRQnq18,366
|
|
57
57
|
spl_core/kickstart/templates/project/scoopfile.json,sha256=7qDThZwB1jBtiQl1uOZQ21-zKITBpQzt1S-uUfW1JFE,500
|
|
58
|
-
spl_core/kickstart/templates/project/tools/toolchains/clang/toolchain.cmake,sha256=
|
|
59
|
-
spl_core/kickstart/templates/project/tools/toolchains/gcc/toolchain.cmake,sha256=
|
|
58
|
+
spl_core/kickstart/templates/project/tools/toolchains/clang/toolchain.cmake,sha256=pqAUH3vlzT3qrSkm8Z5cTkk0YKuC44_ySxEvKPRQWjA,553
|
|
59
|
+
spl_core/kickstart/templates/project/tools/toolchains/gcc/toolchain.cmake,sha256=3xKeNw1zjo5dSzu2v9WmFHJajOn64v7UukKNp6U5Dk8,547
|
|
60
60
|
spl_core/main.py,sha256=_hL4j155WZMXog_755bgAH1PeUwvTdJZvVdVw9EWhvo,1225
|
|
61
61
|
spl_core/spl.cmake,sha256=W8h-Zj-N302qxMrRG8MhoEkJ0io92bWGp4Y5r8LBQnc,4535
|
|
62
|
-
spl_core/steps/collect_pr_changes.py,sha256=
|
|
62
|
+
spl_core/steps/collect_pr_changes.py,sha256=0zqjF55K3P8V3ZfCNQc33pYrCxhJJhBmAG4cVxVuy1U,4182
|
|
63
63
|
spl_core/test_utils/archive_artifacts_collection.py,sha256=x7LH5dGIvssyhXsTFzB6rjgb5D2efKvHVpnjId3MNDk,5126
|
|
64
64
|
spl_core/test_utils/base_variant_test_runner.py,sha256=Oq27lkJlpB_y-p2_8S23F5zjn1438HW148q-hQNz3EY,3795
|
|
65
65
|
spl_core/test_utils/spl_build.py,sha256=bSM6hwhTH9aRryvUvtSPDfk_zoZuKEO5g3QXK4SIrco,8442
|
|
66
|
-
spl_core-7.
|
|
67
|
-
spl_core-7.
|
|
68
|
-
spl_core-7.
|
|
69
|
-
spl_core-7.
|
|
70
|
-
spl_core-7.
|
|
66
|
+
spl_core-7.9.0.dist-info/LICENSE,sha256=UjjA0o8f5tT3wVm7qodTLAhPWLl6kgVyn9FPAd1VeYY,1099
|
|
67
|
+
spl_core-7.9.0.dist-info/METADATA,sha256=knkDMaTHrUWuEgB8Z-N1fNRifF_ErdBmdxBJfNxvPgU,5257
|
|
68
|
+
spl_core-7.9.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
69
|
+
spl_core-7.9.0.dist-info/entry_points.txt,sha256=18_sdVY93N1GVBiAHxQ_F9ZM-bBvOmVMOMn7PNe2EqU,45
|
|
70
|
+
spl_core-7.9.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|