diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-12-15 13:51:16 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-12-19 00:46:29 +0100 |
commit | c26730ed8fb7ca94ef448f53dd69da472aa4e75b (patch) | |
tree | d1b289a838a3a5a816e5cb96f3ce7ac6e60bc161 /libavfilter/Makefile | |
parent | 69a45b8a4998e61efd40b054e70abc722f7e155f (diff) | |
download | ffmpeg-c26730ed8fb7ca94ef448f53dd69da472aa4e75b.tar.gz |
tests/dnn: Make DNN tests regular libavfilter tests
They test libavfilter internal API, so they should be libavfilter
test programs (which implies: linked statically to libavfilter
to access internal APIs and linked normally (statically or dynamically
depending upon the build configuration) against all the other libs).
Right now, they are always linked statically against all libs,
which is a significant size waste compared to shared libs as all
of libavcodec has been pulled in despite not being really used.
This also leads to linking failures on systems for which av_export_avutil
is intended: libavcodec does not expect to be linked statically
against the library providing avpriv_(cga|vga16)_font in this case.
This is fixed by this commit.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/Makefile')
-rw-r--r-- | libavfilter/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/Makefile b/libavfilter/Makefile index 9a061ba3c8..cb328c2bf8 100644 --- a/libavfilter/Makefile +++ b/libavfilter/Makefile @@ -590,6 +590,9 @@ SKIPHEADERS-$(CONFIG_VULKAN) += vulkan.h vulkan_filter.h TOOLS = graph2dot TESTPROGS = drawutils filtfmts formats integral +TESTPROGS-$(CONFIG_DNN) += dnn-layer-avgpool dnn-layer-conv2d dnn-layer-dense \ + dnn-layer-depth2space dnn-layer-mathbinary \ + dnn-layer-mathunary dnn-layer-maximum dnn-layer-pad \ TOOLS-$(CONFIG_LIBZMQ) += zmqsend |