kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

yyjson.recipe (776B)


      1 # test/ecosystem/recipes/yyjson.recipe — real-world C build gate for yyjson.
      2 # Contract documented in sqlite.recipe.
      3 #
      4 # Green at both -O0 and -O1 (build, run, and clang-identical output). It was
      5 # previously kept red by two now-fixed defects — the -O0 "MCEmitter: label
      6 # placed twice" codegen abort (known_bugs/yyjson-write-label.md, Bug A) and the
      7 # -O1 one-shot `.Lkit_ro` link failure (known_bugs/sqlite-o1-lkit-ro.md, Bug B).
      8 
      9 ECO_VERSION=0.12.0
     10 ECO_URL="https://github.com/ibireme/yyjson/archive/refs/tags/0.12.0.tar.gz"
     11 ECO_SHA256=b16246f617b2a136c78d73e5e2647c6f1de1313e46678062985bdcf1f40bb75d
     12 ECO_SRCDIR=yyjson-0.12.0/src
     13 ECO_INCLUDES="."
     14 ECO_DEFINES=""
     15 ECO_LIBS=""
     16 ECO_DRIVER=use/use_yyjson.c
     17 
     18 eco_lib_srcs() { echo "$ECO_SRC/yyjson.c"; }
     19 
     20 eco_run() { "$1"; }