Repository navigation
fix(build): восстановить сборку main (zig build -Dci=true: 0 ошибок) - #753
Merged
Merged
Conversation
- src/depin/mod.zig: один модуль depin вместо трёх пересекающихся
- модули basal_ganglia/locus_coeruleus/reticular_formation из src/brain/
- storm_golden_chain: тип GoldenChain и runGoldenChainCommand из src/storm/
- модули kaggle/arrow_of_time/origin_of_life/quantum_gravity_full/
measurement/monopoles/superconductivity/gravity
- внутренние импорты src/tri/** переведены на относительные пути
- Zig 0.15: спецификаторы {:.Nf} -> {d:.N} (16 мест), ArrayList .items,
managed append, лишний catch unreachable, totalVelocity без allocator
- ASCII вместо юникода в [N]u8-буфере графика SPARC
… 0.15 - src/vsa.zig и src/hybrid.zig: тонкие слои совместимости, только реэкспорт модуля зависимости zig-hdc-vsa (usingnamespace в Zig 0.15 отсутствует, поэтому реэкспорт явный, 42 символа) - src/vsa_jit.zig, src/jit_unified.zig, src/jit_arm64.zig, src/jit_x86_64.zig восстановлены из 42490a2^: копия в zig-hdc не собирается (её jit_unified.zig импортирует ../../jit_arm64.zig за пределами пакета) - build.zig: импорт zig-hdc-vsa добавлен всем модулям - vm.zig, query_cli.zig, sota_report_demo.zig, examples/memory.zig: вызовы приведены к API zig-hdc (bundle*/add/mul/negate/dotProduct/toI64 без allocator, unpacked_cache не optional, bundleN не error union) zig build -Dci=true: exit 0, 0 ошибок. Три raylib-цели (photon-demo, photon-immersive, trinity-node-gui) требуют системного raylib и уже исключены флагом -Dci=true.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что было
На
mainzig buildне проходил: 15 целей падали. Красный CI — свойствоmain, не отдельных PR.Что сделано
build.zig — 16 недостающих модулей
depinобъявлен ОДНИМ модулем с корнемsrc/depin/mod.zig: network/bootstrap/persistence ссылаются друг на друга, три отдельных модуля давалиfile exists in modules ... and ...basal_ganglia/locus_coeruleus/reticular_formation— изsrc/brain/(вsrc/tri/лежали урезанные копии:Statsбезactive_claims)storm_golden_chain—GoldenChainиrunGoldenChainCommandживут вsrc/storm/golden_chain.zig, а не в одноимённом файле рядомkaggle,gravity,measurement,monopoles,superconductivity,arrow_of_time,origin_of_life,quantum_gravity_fullsrc/tri/**переведены на относительные путиСлой совместимости с zig-hdc
src/vsa.zigиsrc/hybrid.zig— тонкие файлы, ТОЛЬКО реэкспорт модуляzig-hdc-vsa. Код не дублируется. Реэкспорт явный:usingnamespaceв Zig 0.15 отсутствуетsrc/vsa_jit.zig,src/jit_unified.zig,src/jit_arm64.zig,src/jit_x86_64.zigвосстановлены из42490a222^: копия в zig-hdc не собирается — еёjit_unified.zigимпортирует../../jit_arm64.zigза пределами пакетаZig 0.15 API
{:.Nf}→{d:.N}(16 мест),{m}→{s}ArrayList—.itemsпри итерации, managedappendбез allocatorbundle2/bundle3/bundleN/add/mul/negate/dotProduct/toI64— без allocator (новый API zig-hdc)unpacked_cacheбольше не optional;bundleNне error unioncatch unreachableнаstd.debug.print[N]u8-буфере графика SPARCЧестные заглушки вместо удалённого кода
src/tri/evolution.zig:runIGLABenchmarkвозвращает0.0и печатает, что IGLA переехал вgHashTag/trinity-training(src/bench/igla_*.zigудалены в42490a222)hslm-bench/bpe-train→b.addFail(...)с указаниемgHashTag/trinity-trainingПроверка
Ограничение
photon-demo,photon-immersive,trinity-node-guiтребуют системного raylib — это окружение, не код. Уже исключены флагом-Dci=true; в sandbox пакета raylib нет, локально не проверены.