Browse Source

package/archlinux: enable colored output for clang + libc++ build.

pull/690/head
Vladimír Vondruš 3 months ago
parent
commit
c7440bd674
  1. 6
      package/archlinux/PKGBUILD-clang-libc++

6
package/archlinux/PKGBUILD-clang-libc++

@ -35,8 +35,14 @@ build() {
cd "$_rootdir/build-clang-libc++"
# Colored output is enabled implicitly. If Ninja detects it's outputting to
# a pipe, it strips it away from the output; Clang unfortunately doesn't
# have any env var to temporarily disable colors. The inverse, i.e.
# preserving colors when Ninja outputs to a pipe can be done with
# CLICOLOR_FORCE=1: https://github.com/ninja-build/ninja/issues/2196
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_COLOR_DIAGNOSTICS=ON \
-DMAGNUM_WITH_AUDIO=ON \
-DMAGNUM_WITH_VK=ON \
-DMAGNUM_WITH_GLFWAPPLICATION=ON \

Loading…
Cancel
Save