Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

What is in this repository?

This is an Open Build Service (OBS) Source Service to allow clang builds for Debian packages.

An OBS instance using this package to rebuild Debian Unstable packages against clang is available at

How to use this package?

Since this Source Service is supposed to be used in buildtime mode, it must be available to the OBS project as a package (just build this package in your OBS project and make sure the Use for Build Flag is enabled).

Then, you must activate the source service for the target package. To do so, read OBS Source Service documentation. In short, you need to add a _service file to the target package working directory with the following content:

  <service name="clang_build" mode="buildtime" />

and trigger the target package build.

Check the build log, searching for Running build time source services... to make sure your source service was triggered.

Additional resources


obs-service-clang-build Copyright (C) 2018 Athos Ribeiro

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see


Open Build Service build time Source Service to substitute gcc with clang on deb builds







No packages published