summaryrefslogtreecommitdiff
path: root/meson.sh
AgeCommit message (Collapse)AuthorFilesLines
2023-12-14meson.sh: add setup option for mesonKamil Konieczny1-1/+1
New meson version issue warning when running ./meson.sh script: WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. Add setup option as a first one for a new build. Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com> Cc: Petri Latvala <adrinael@adrinael.net> Signed-off-by: Kamil Konieczny <kamil.konieczny@linux.intel.com> Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-12-14meson.sh: Remove --quiet from meson callKamil Konieczny1-1/+1
Running with V=0 option in a clean dir (without build folder) will lead to following error: ./meson V=0 meson: error: unrecognized arguments: --quiet make: *** [Makefile:21: build/build.ninja] Error 2 Fixes: 4dfe9664f858 ("meson.sh: allow making it less verbose") Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Cc: Mauro Carvalho Chehab <mauro.chehab@linux.intel.com> Cc: Petri Latvala <adrinael@adrinael.net> Signed-off-by: Kamil Konieczny <kamil.konieczny@linux.intel.com> Acked-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-12-14meson.sh: add usage instructions at the beginning of the fileMauro Carvalho Chehab1-0/+16
Add some documentation about the supported targets and options. Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
2023-12-14meson.sh: allow making it less verboseMauro Carvalho Chehab1-10/+24
Add support for not output each build step and run ninja with --quiet option. With this patch, meson.sh now supports: ./meson.sh V=0 which will disable non-error messages while running ninja build. This is interesting specially when executed inside some script. Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-08-30replaced /bin/bash shebangs with /bin/sh for BSD compatibilityJake Freeland1-1/+1
Signed-off-by: Jake Freeland <jfree@freebsd.org> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
2018-10-04meson.sh: Add support for install/uninstallDaniel Vetter1-2/+5
This should work now. Acked-by: Petri Latvala <petri.latvala@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
2018-05-16igt: Drop Intel from the name in docs and pathsArkadiusz Hiler1-1/+1
This is just a simple change to reflect the actual state. No rewording yet, just a simple substitution in most visible places - docs, README and paths. There are probably some leftovers here and there, but we can let them be for now, this is already well overdue. v2: fixed couple of obvious leftovers pointed out by Petri Cc: Petri Latvala <petri.latvala@intel.com> Cc: Daniel Vetter <daniel.vetter@intel.com> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
2018-01-11build: make meson more officialDaniel Vetter1-0/+2
I also noticed that meson.sh doesn't set the prefix for patch submission. Fix that (even thought hopefully real soon igt will move to its own list). v2: Review from Petri. Cc: Petri Latvala <petri.latvala@intel.com> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
2017-12-05meson: gtkdoc supportDaniel Vetter1-1/+1
Bunch of neat improvements: - xml generates correctly depend upon the test binaries - no need to re-run autogen.sh when new chapters/functions get added, all handed by meson Still one issue: - the gtkdoc target doesn't depend upon the custom_target yet, hacked around using build_by_default: true This is an issue known to upstream already: https://github.com/mesonbuild/meson/issues/2148 v2: Bump meson version to 0.42, since that's the first release which adds the build dir when running the gtkdoc tools, and hence allows including generated files. v2: - Undo the bump, it's only needed for generated source files. Other generated files as input should work with 0.40 already. - Generate version.xml from version.xml.in, which allows us to keep the &version; entity. v3: Add github issue link. v4: - Resurrect lost KEYWORDS (Petri) - Fix issue when running with a clean build, files() doesn't work on generate files (Petri). Reviewed-by: Petri Latvala <petri.latvala@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2017-09-29meson.sh: Invoke meson correctlyPetri Latvala1-2/+2
Either source or build directory is required as a command line parameter. Also use mkdir -p when creating the build directory to avoid errors when it already exists. Signed-off-by: Petri Latvala <petri.latvala@intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2017-09-26meson: Simple makefile integrationDaniel Vetter1-0/+35
Run ./meson.sh once, then you have $ make and $ make test available in the normal src root. v2: Add $ make reconfigure which is the meson equivalent to rerunning ./configure. Also takes some arguments if needed. Start out with --help, as usual. v3: Use ninja -C (Chris). v4: Catch more automake targets and point out what's happening (Petri). v5: Use EOF as heredoc marker (Arek) Cc: Petri Latvala <petri.latvala@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>