Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #671110

Bug#795253: Add support for Meson build system

From Jussi Pakkanen <jpakkane@gmail.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#795253: Add support for Meson build system
Date 2015-08-12 12:00 +0200
Message-ID <pWAZc-MN-19@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: debhelper
Version: 9.20150811
Severity: wishlist

Please add support for building packages using the Meson build system. The
exact build steps to take are the following.

Configuring

Create a build directory. Meson supports all the standard CFLAGS etc so
assuming they are set the configuration is done by running this in the
build dir:

meson --buildtype=plain --prefix=/usr <path to source dir> <additional
flags>

Compiling

To compile, run 'ninja -v' in the build dir. The -v causes all build
commands to be printed so the compile flag checker will work. Ninja
parallelises itself automatically based on the number of CPUs on the
machine. To override add an explicit '-j number' to the invocation.

Testing

To test, run 'ninja test' in the build dir. Tests are run automatically in
parallel. To manually specify number of processes, set the
MESON_TESTTHREADS environment variable to the number of CPUs to use.

Installing

Meson obeys DESTDIR so installation only requires a "ninja install" in the
build dir.

Thanks,

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#795253: Add support for Meson build system Jussi Pakkanen <jpakkane@gmail.com> - 2015-08-12 12:00 +0200
  Bug#795253: [debhelper-devel] Bug#795253: Add support for Meson build system Niels Thykier <niels@thykier.net> - 2015-08-12 16:40 +0200
    Bug#795253: [debhelper-devel] Bug#795253: Add support for Meson build system Jussi Pakkanen <jpakkane@gmail.com> - 2015-08-13 02:10 +0200

csiph-web