mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-07 08:36:02 -10:00
Built with ffmpeg 8, libaom 3.13, x265 4.1, glibc 2.43 and clang 21, five lanes failed on the 26.04 runners: - AV1 fixtures: a monochrome sequence comes out full range with no matrix whatever is asked for; the oracle takes the colour ffprobe reads instead of assuming it. - Preview audio oracle: ffmpeg 8 leaves a timestamp gap at every seam of a -stream_loop copy, which the mixer honours and ffmpeg's raw decode does not. trailing_large loops its picture and encodes its sound as one track. - rh265 multi-slice oracle: x265 4.1 writes unreadable slice headers when two slices are encoded on several threads; those cases encode on one worker. - vkms: the kernel follows the runner's own release, its modules may sit under /usr/lib/modules, and modules-extra is fetched only where it exists. - clang -std=c89 -pedantic: glibc's const-generic strchr/strstr under _GNU_SOURCE are _Generic; -Wno-c11-extensions goes wherever -Wno-c99-extensions already does. ci_paths filters a file at the top of a samples tree by its own path. rh264 and rh265 lose the parameters no instantiation reads, the 8-bit H.264 kernels mark the depth they ignore, and the AV1 WebM fixtures leave out the MP4 box writer they never use.
23 lines
1012 B
Makefile
23 lines
1012 B
Makefile
CC ?= cc
|
|
LRC := ../../..
|
|
CFLAGS += -O1 -g1 -std=c89 -pedantic -Wall -Wextra -Werror -Wframe-larger-than=2048 -I$(LRC)/include
|
|
ifneq ($(findstring clang,$(shell $(CC) --version 2>/dev/null)),)
|
|
CFLAGS += -Wno-c99-extensions -Wno-c11-extensions
|
|
endif
|
|
ifneq ($(SANITIZER),)
|
|
CFLAGS += -fsanitize=$(SANITIZER) -fno-omit-frame-pointer
|
|
LDFLAGS += -fsanitize=$(SANITIZER)
|
|
endif
|
|
all: flv_mux_test$(EXE) flv_remux_test$(EXE)
|
|
flv_mux_test$(EXE): flv_mux_test.c $(LRC)/formats/flv/rflv_mux.c $(LRC)/include/formats/rflv_mux.h
|
|
$(CC) $(CFLAGS) -o $@ flv_mux_test.c $(LRC)/formats/flv/rflv_mux.c $(LDFLAGS)
|
|
flv_remux_test$(EXE): flv_remux_test.c $(LRC)/formats/flv/rflv_mux.c $(LRC)/include/formats/rflv_mux.h
|
|
$(CC) $(CFLAGS) -o $@ flv_remux_test.c $(LRC)/formats/flv/rflv_mux.c $(LDFLAGS)
|
|
check: all
|
|
$(RUNNER) ./flv_mux_test$(EXE)
|
|
stream-check: all
|
|
python3 run.py --runner "$(RUNNER)" ./flv_remux_test$(EXE)
|
|
clean:
|
|
rm -f flv_mux_test flv_mux_test.exe flv_remux_test flv_remux_test.exe
|
|
.PHONY: all check stream-check clean
|