C内核按库功能拆解,编译结果缓存区构建,编译过程与已有缓存结果对照功能实现

This commit is contained in:
lujingze committed 2026-09-12 05:24:48 +00:00
1 parent aa4951b14e
commit 151e6e4b97
30 files changed
+4856 -604

No files matched your search

+2 -1
View File
@@ -8,6 +8,7 @@ import shutil
import subprocess
import tempfile
import unittest
from tests.native_kernel_source import native_kernel_source
ROOT = Path(__file__).resolve().parents[1]
@@ -67,7 +68,7 @@ class NativePipeSolverTests(unittest.TestCase):
cls.directory = tempfile.TemporaryDirectory(prefix='native-pipe-solver-')
cls.addClassCleanup(cls.directory.cleanup)
cls.compiler = command
source = (ROOT / 'native/components/kernels.c').read_text()
source = native_kernel_source()
cls.library = cls.build_library(source, 'ordinary')
# Fault injection only in the temporary test translation unit. The