]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
clang: build with MinSizeRel
authorRoss Burton <ross.burton@arm.com>
Mon, 29 Sep 2025 17:11:25 +0000 (18:11 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Oct 2025 10:27:31 +0000 (11:27 +0100)
commitea9b33f7c12f773830ec860ae817a3ed1368612b
tree714d49fe0da0357a0f10e550a569b5566fd4c74f
parent916c074a136e8e07f388c2c41d197a15a4c50022
clang: build with MinSizeRel

This is the recommended build configuration upstream unless speed is the
ultimate goal. They say it's almost as fast as Release (-O3) but a lot
smaller on disk:

  clang-libclang-cpp: PKGSIZE changed from 71729568 to 49368816 (-31%)
  clang-libllvm: PKGSIZE changed from 83015559 to 56662823 (-32%)
  clang-tidy: PKGSIZE changed from 15861679 to 9956175 (-37%)
  clang-tools: PKGSIZE changed from 6865635 to 5374691 (-22%)
  clang: PKGSIZE changed from 29693308 to 22697548 (-24%)
  libclang: PKGSIZE changed from 40087018 to 26966218 (-33%)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/recipes-devtools/clang/clang_git.bb