From: Dylan Baker <dylan@pnwbakers.com>
To: mesa-dev@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Cc: Dylan Baker <dylan@pnwbakers.com>
Subject: [PATCH 0/3] Meson build system
Date: Fri, 5 Jan 2018 12:00:57 -0800 [thread overview]
Message-ID: <cover.c5076c8123fbd6b0475d37c6e212606f7493b9ac.1515182161.git-series.dylan@pnwbakers.com> (raw)
In-Reply-To: <cover.8d4e3e1590ed6412452008916457f39582362af0.1515015012.git-series.dylan@pnwbakers.com>
This is a fifth iteration of the meson build system for libdrm. This
version is significantly cleaned up from the last version and uses a
style more like the build system in mesa.
It builds all of the drivers and tests, and the tests can be run via
`ninja test`.
It has support for being used as a wrapped dependency with ext_foo
variables (I have a branch of mesa that will build this code as a wrap,
which has also been useful for testing). This means it can be used to
build a mesa that requires a newer libdrm than the system provides
(which can be especially useful if you can't install packages on that
system), or to build libdrm support that your distro doesn't ship (like
arm only drivers on x86), cross compiling, and for testing.
This has been build tested and mesa has been compiled against it, but
only minimal functional testing has been done, since I only have i965
machines, and i965 only uses libdrm lightly.
Some reviewers of the previous versions have done some additional
testing.
Changes since v3:
- Fix freedreno kgsl check
- Fix kgls -> kgsl typo
- standardize meson options to use only `-` and not `_`
- fix typo radoen -> radeon
- add help messages to options
- fix typo in kms-universal-planes binary
- build and install modetest (this was missed in the first version for
some reason)
- install amdgpu.ids as 644 instead of 444
Changes since v4:
- Fix minor nits in options descriptions (Igor)
- Fix editorconfig settings
- Fix amdgpu.ids searh path
- Style nits for Eric E.
- Remove more tabs
- Ensure that 1/0 defines are always defined, instead of only when
their value is 1
- Don't add header files into file lists. (Meson figures out header
dependencies automatically using graphs that the compiler generates
during compilation)
- Don't assign file lists to variables when possible. In a few cases
files need to be conditionally added, but if we're not in one of
those cases just put the lists directly in the exectuable or library
declaration.
Dylan Baker (3):
Add meson build system
autotools: Include meson.build files in tarball
README: Add note about meson
.editorconfig | 4 +-
Makefile.am | 30 ++-
README | 24 +-
amdgpu/.editorconfig | 4 +-
amdgpu/meson.build | 65 +++++++-
data/meson.build | 27 +++-
etnaviv/meson.build | 59 ++++++-
exynos/meson.build | 53 +++++-
freedreno/meson.build | 76 ++++++++-
intel/meson.build | 105 +++++++++++-
libkms/meson.build | 74 ++++++++-
man/meson.build | 67 +++++++-
meson.build | 364 +++++++++++++++++++++++++++++++++++++-
meson_options.txt | 143 +++++++++++++++-
nouveau/meson.build | 58 ++++++-
omap/meson.build | 53 +++++-
radeon/meson.build | 63 ++++++-
tegra/meson.build | 52 +++++-
tests/amdgpu/meson.build | 34 +++-
tests/etnaviv/meson.build | 45 +++++-
tests/exynos/meson.build | 54 +++++-
tests/kms/meson.build | 49 +++++-
tests/kmstest/meson.build | 30 +++-
tests/meson.build | 86 +++++++++-
tests/modeprint/meson.build | 29 +++-
tests/modetest/meson.build | 29 +++-
tests/nouveau/meson.build | 30 +++-
tests/proptest/meson.build | 28 +++-
tests/radeon/meson.build | 27 +++-
tests/tegra/meson.build | 27 +++-
tests/util/meson.build | 28 +++-
tests/vbltest/meson.build | 28 +++-
vc4/meson.build | 28 +++-
33 files changed, 1869 insertions(+), 4 deletions(-)
create mode 100644 amdgpu/meson.build
create mode 100644 data/meson.build
create mode 100644 etnaviv/meson.build
create mode 100644 exynos/meson.build
create mode 100644 freedreno/meson.build
create mode 100644 intel/meson.build
create mode 100644 libkms/meson.build
create mode 100644 man/meson.build
create mode 100644 meson.build
create mode 100644 meson_options.txt
create mode 100644 nouveau/meson.build
create mode 100644 omap/meson.build
create mode 100644 radeon/meson.build
create mode 100644 tegra/meson.build
create mode 100644 tests/amdgpu/meson.build
create mode 100644 tests/etnaviv/meson.build
create mode 100644 tests/exynos/meson.build
create mode 100644 tests/kms/meson.build
create mode 100644 tests/kmstest/meson.build
create mode 100644 tests/meson.build
create mode 100644 tests/modeprint/meson.build
create mode 100644 tests/modetest/meson.build
create mode 100644 tests/nouveau/meson.build
create mode 100644 tests/proptest/meson.build
create mode 100644 tests/radeon/meson.build
create mode 100644 tests/tegra/meson.build
create mode 100644 tests/util/meson.build
create mode 100644 tests/vbltest/meson.build
create mode 100644 vc4/meson.build
base-commit: 831036a6f62005da9fb4a75fe043bd96ce672d27
--
git-series 0.9.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2018-01-05 20:00 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-03 21:31 [PATCH 0/3] Meson build system Dylan Baker
2018-01-03 21:31 ` [PATCH 1/3] Add meson " Dylan Baker
2018-01-03 22:18 ` Dylan Baker
2018-01-03 23:22 ` [Mesa-dev] " Igor Gnatenko
2018-01-04 0:02 ` Dylan Baker
2018-01-05 13:34 ` Eric Engestrom
2018-01-05 13:41 ` Eric Engestrom
2018-01-05 19:52 ` Dylan Baker
2018-01-03 21:31 ` [PATCH 2/3] autotools: Include meson.build files in tarball Dylan Baker
2018-01-03 21:31 ` [PATCH 3/3] README: Add note about meson Dylan Baker
2018-01-04 18:28 ` [PATCH v4 0/3] Meson build system Dylan Baker
2018-01-04 18:28 ` [PATCH v4 1/3] Add meson " Dylan Baker
2018-01-04 21:43 ` [Mesa-dev] " Igor Gnatenko
2018-01-04 23:28 ` Dylan Baker
2018-01-04 18:28 ` [PATCH v4 2/3] autotools: Include meson.build files in tarball Dylan Baker
2018-01-05 14:02 ` Eric Engestrom
2018-01-05 18:53 ` Dylan Baker
2018-01-04 18:28 ` [PATCH v4 3/3] README: Add note about meson Dylan Baker
2018-01-05 13:49 ` Eric Engestrom
2018-01-05 18:51 ` Dylan Baker
2018-01-05 20:00 ` Dylan Baker [this message]
2018-01-05 20:00 ` [PATCH 1/3] Add meson build system Dylan Baker
2018-01-12 17:10 ` Eric Engestrom
2018-01-05 20:00 ` [PATCH 2/3] autotools: Include meson.build files in tarball Dylan Baker
2018-01-12 17:12 ` [Mesa-dev] " Eric Engestrom
2018-01-05 20:01 ` [PATCH 3/3] README: Add note about meson Dylan Baker
2018-01-12 17:12 ` Eric Engestrom
2018-01-09 0:14 ` [PATCH 0/3] Meson build system Dylan Baker
2018-01-12 17:15 ` [Mesa-dev] " Eric Engestrom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.c5076c8123fbd6b0475d37c6e212606f7493b9ac.1515182161.git-series.dylan@pnwbakers.com \
--to=dylan@pnwbakers.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=mesa-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.