using clang with pbuilder/cowbuilder
Today, Junich Uekawa has added some compiler support hook to pbuilder (thanks!), so you can test your package with clang easily.
How to use)
- install newest pbuilder
- enable hook script "D65various-complier-support" to your pbuilder hook directory
- specify "CHOOSE_COMPILER" variables and build
$ cp /usr/share/doc/pbuilder/examples/D65various-complier-support /your/hook/dir/
$ sudo CHOOSE_COMPILER=clang cowbuilder --build yourpackage_1.00-1.dsc
clang maybe little bit strict than gcc4.7, and its outputs looks good, have fun :)
Comments
Post a Comment