Skip to content

v1.2.22 — Correção do cache de compilação / Compilation cache fix

Choose a tag to compare

@GenissonEmilio GenissonEmilio released this 01 Dec 17:05
ee49feb

Português

A v1.2.22 corrige o reaproveitamento do cache de compilação no Windows e no Linux. A etapa 4, GAMECORE, mantém os objetos compatíveis quando o kit muda de pasta ou o AppImage abre em outro ponto de montagem. O launcher verifica os insumos e os objetos e liga o executável com o runtime da versão atual.

  • Atualização e cache. O cache antigo pode ser reutilizado no caminho original. Ao mover uma instalação que ainda usa somente chaves antigas, a primeira preparação pode recompilar uma vez para gravar as novas chaves. Alterações no compilador, nas bibliotecas do kit, nos cabeçalhos ou no código gerado continuam exigindo reconstrução dos objetos afetados. Se o preparo demorar, o last-prepare.log mostra o fingerprint dos insumos, os workers e quantos blocos foram compilados ou reaproveitados.
  • Validação. No comparativo Windows com o GAMECORE USA, a etapa completa a partir dos C++ gerados reaproveitou 284 de 284 objetos após mover o kit e levou 3,31 s, incluindo o link. A referência a frio levou 9 min 40 s. Os 284 objetos das duas compilações a frio foram idênticos byte a byte, com Clang e -O2. Esses tempos são de um teste na mesma máquina. As verificações automatizadas de relocação também cobrem o Linux.
  • Distribuição. ZIP para Windows x86_64, AppImage e .tar.gz para Linux x86_64, com SHA-256. O APK Android ARM64 0.2.1 reaproveita o arquivo assinado da v1.2.20. A prévia do renderizador PAL fica desativada por padrão.

Correção e metodologia · Relato da etapa 4

English

v1.2.22 fixes compilation cache reuse on Windows and Linux. Stage 4, GAMECORE, can reuse compatible objects after the compiler kit moves to a new directory or AppImage mounts at a different path. The launcher verifies the inputs and objects and links the executable with the current runtime.

  • Updates and caching. Legacy cache entries can still be used at their original path. Moving an installation that only has legacy keys may require one preparation to populate the new cache. Changes to the compiler, its libraries, the headers or generated code still trigger recompilation of the affected objects. If preparation is slow, last-prepare.log shows the input fingerprint, worker count and how many batches were built or reused.
  • Validation. In the Windows USA GAMECORE benchmark, stage 4 reused all 284 objects after the kit was moved and took 3.31 s, including linking and starting from generated C++. The cold reference took 9 min 40 s. All 284 objects in the two cold builds matched byte for byte with Clang and -O2. These times are from one machine. Automated relocation checks also cover Linux.
  • Packages. Windows x86_64 ZIP, Linux x86_64 AppImage and .tar.gz, with SHA-256 checksums. The Android ARM64 0.2.1 APK is the signed file from v1.2.20. The PAL renderer preview is off by default.

Fix and methodology · Stage 4 report