cb424d7448
verify-patch-sanity.py validates every active recipe .patch has internally- consistent hunk line counts — catching the 'malformed patch at line N' failure at commit/CI/preflight time instead of hours into a cook. This cycle hit that class three times (qtwaylandscanner, sddm, xwayland), each only discovered when cookbook tried to apply the patch. Running it across the repo found 29 latent malformed patches (validated against GNU patch: e.g. relibc/P3-sysv-ipc reproduces 'malformed patch at line 22'). They were harmless only because they sit in vendored recipes (baked, not re- applied) — but would fail on any version-bump re-derivation. --fix recounts the hunk headers (body untouched) and repaired all 29. Wired into build-preflight.sh (Phase 1.0D) and redbear-ci.yml, with a unit test (test-patch-sanity.sh). Skips archived/legacy trees and unvalidatable formats (empty placeholders, bare-@@ git hunks).
44 lines
1.2 KiB
ReStructuredText
44 lines
1.2 KiB
ReStructuredText
Getting Started/Tutorials
|
|
=========================
|
|
|
|
For those new to the LLVM system.
|
|
|
|
.. toctree::
|
|
:hidden:
|
|
|
|
CompilerWriterInfo
|
|
Frontend/PerformanceTips
|
|
GettingStarted
|
|
GettingStartedVS
|
|
ProgrammersManual
|
|
tutorial/index
|
|
MyFirstTypoFix
|
|
|
|
:doc:`GettingStarted`
|
|
Discusses how to get up and running quickly with the LLVM infrastructure.
|
|
Everything from unpacking and compilation of the distribution to execution
|
|
of some tools.
|
|
|
|
:doc:`tutorial/index`
|
|
Tutorials about using LLVM. Includes a tutorial about making a custom
|
|
language with LLVM.
|
|
|
|
:doc:`ProgrammersManual`
|
|
Introduction to the general layout of the LLVM sourcebase, important classes
|
|
and APIs, and some tips & tricks.
|
|
|
|
:doc:`Frontend/PerformanceTips`
|
|
A collection of tips for frontend authors on how to generate IR
|
|
which LLVM is able to effectively optimize.
|
|
|
|
:doc:`GettingStartedVS`
|
|
An addendum to the main Getting Started guide for those using Visual Studio
|
|
on Windows.
|
|
|
|
:doc:`CompilerWriterInfo`
|
|
A list of helpful links for compiler writers.
|
|
|
|
:doc:`MyFirstTypoFix`
|
|
This tutorial will guide you through the process of making a change to
|
|
LLVM, and contributing it back to the LLVM project.
|