File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 echo "total .asm (NASM): $(grep -oE '[^ ]+\.asm\b' make-n.log | sort -u | wc -l)"
2929 echo "aarch64 dir sources: $(grep -oE '[^ ]+/aarch64/[^ ]+\.[cS]\b' make-n.log | sort -u | wc -l)"
3030 echo "=== sample aarch64 .S ==="; grep -oE '[^ ]+/aarch64/[^ ]+\.S\b' make-n.log | sort -u | head -8
31- mkdir -p ../snapshot
31+ # COMPLETE snapshot (everything gen_descriptor.py needs): config
32+ # headers + all *_list.c generated files + sources.txt (make -n ground
33+ # truth, src/-prefixed, deduped) mirroring tools/compat-ffmpeg layout.
34+ mkdir -p ../snapshot/libavutil ../snapshot/libavcodec ../snapshot/libavformat ../snapshot/libavfilter ../snapshot/libavdevice
3235 cp config.h config_components.h configure.log make-n.log ../snapshot/ 2>/dev/null || true
33- find . \( -name avconfig.h -o -name ffversion.h \) -exec cp {} ../snapshot/ \; 2>/dev/null || true
36+ cp libavutil/avconfig.h libavutil/ffversion.h ../snapshot/libavutil/ 2>/dev/null || true
37+ cp libavcodec/codec_list.c libavcodec/parser_list.c libavcodec/bsf_list.c ../snapshot/libavcodec/ 2>/dev/null || true
38+ cp libavformat/demuxer_list.c libavformat/muxer_list.c libavformat/protocol_list.c ../snapshot/libavformat/ 2>/dev/null || true
39+ cp libavfilter/filter_list.c ../snapshot/libavfilter/ 2>/dev/null || true
40+ cp libavdevice/indev_list.c libavdevice/outdev_list.c ../snapshot/libavdevice/ 2>/dev/null || true
41+ # sources.txt: extract compiled .c/.S/.asm from make -n, src/-prefixed, deduped
42+ grep -oE '\S+\.(c|S|asm)\b' make-n.log | sed 's|^\.\./ffmpeg-8.1.2/|src/|; s|^|src/|; s|src/src/|src/|' | sort -u > ../snapshot/sources.txt || true
43+ echo "captured $(ls -R ../snapshot | grep -c '\.' ) files; sources.txt lines: $(wc -l < ../snapshot/sources.txt)"
3444 - uses : actions/upload-artifact@v4
3545 with :
3646 name : ffmpeg-macosx-arm64-snapshot
You can’t perform that action at this time.
0 commit comments