Michael Hirsch, Ph.D
ebfb09f5d6
Fortran 2008/2018 Coarray support
6 years ago
Michael Hirsch, Ph.D
1ebaeadf60
initial HDF5 pkg-config fortran works
6 years ago
Daniel Mensinger
a0175ecb14
CMake find_package dependency backend ( #4444 )
6 years ago
Patrick Griffis
46a42a69a6
Add custom libgcrypt dependency using libgcrypt-config
...
Fixes #3563
6 years ago
Nirbheek Chauhan
416a00308f
cross: Use ExternalProgram for cross-file exe_wrapper
...
We already have code to fetch and find binaries specified in a cross
file, so use the same code for exe_wrapper. This allows us to handle
the same corner-cases that were fixed for other cross binaries.
6 years ago
Nirbheek Chauhan
fc5e8dfcda
Don't fail on not-required not-found deps in forcefallback mode
...
This involves the creation of a new dummy NotFoundDependency.
7 years ago
Elliott Sales de Andrade
dbb025a175
Add an OpenMP dependency.
...
This works similarly to the thread dependency which stores the various
inconsistent flags in each compiler.
7 years ago
Aleksey Filippov
ffa5293901
Split boost dependency out into separate file
...
Boost dependency is very complex and it is easier to manage it
in a separate file.
7 years ago
Christophe Gouiran
81100f0695
Change handling of not found external programs
7 years ago
Félix Piédallu
bb84c1d109
Add LibWmf as a specified dependency, and associated tests.
7 years ago
Iñigo Martínez
35ef236c43
add support for cups dependencies ( #2255 )
...
* add support for cups dependencies
libcups has its own cups-config tool rather than using pkg-config.
This adds support for cups-config, based on pcap-config and
sdl2-config implementations.
This change also includes the unit test case and documentation for
cups dependency object implementation, and libcups2 dep to CI image.
7 years ago
Bruce Richardson
c89b8c5c4b
add support for pcap dependencies
...
Libpcap has its own pcap-config tool rather than using pkg-config. Add
support for pcap-config, based on the existing implementation of
sdl2-config that is there already.
7 years ago
Elliott Sales de Andrade
d9f01ffcea
Disallow language keyword for unsupported deps.
...
Also, document it in the manual.
7 years ago
Elliott Sales de Andrade
5a7e06a64f
Add MPI dependency.
...
We prefer pkg-config files, though only OpenMPI supplies them.
Otherwise, check environment variables and search for wrappers and ask
them for what to do.
7 years ago
nyorain
29e2aac690
Add first vulkan dependency module
7 years ago
Nirbheek Chauhan
0c83f8352d
dependencies: Add a new class ExternalDependency
...
This class now consolidates a lot of the logic that each external
dependency was duplicating in its class definition.
All external dependencies now set:
* self.version
* self.compile_args and self.link_args
* self.is_found (if found)
* self.sources
* etc
And the abstract ExternalDependency class defines the methods that
will fetch those properties. Some classes still override that for
various reasons, but those should also be migrated to properties as
far as possible.
Next step is to consolidate and standardize the way in which we call
'configuration binaries' such as sdl2-config, llvm-config, pkg-config,
etc. Currently each class has to duplicate code involved with that
even though the format is very similar.
Currently only pkg-config supports multiple version requirements, and
some classes don't even properly check the version requirement. That
will also become easier now.
8 years ago
Elliott Sales de Andrade
e922a6f6f0
Make base imports explicit.
8 years ago
Elliott Sales de Andrade
d3caadb675
Split misc dependencies into their own file.
8 years ago
Elliott Sales de Andrade
cb24c2d58a
Split apart platform-specific dependencies
8 years ago
Elliott Sales de Andrade
d96b16c24b
Split development-related deps into their own file.
8 years ago
Elliott Sales de Andrade
23f9b42d3b
Split UI-related into a separate file.
...
Some of these are a bit bigger than just UI libraries, but this division
seems close enough.
8 years ago
Elliott Sales de Andrade
92557e1c2a
Move dependencies.py into a subdirectory.
8 years ago
Franz Zapata
4b5a0e5de7
Reintroduce Python Zipapp support
...
* Added `main` function as an entry point.
* Created `__main__.py` to allow the creation of Zipapps without explicitly
calling `meson:main`.
8 years ago
Jussi Pakkanen
455e55f8e5
Back to .py suffix in files. Closes #394 .
9 years ago
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
9 years ago
Jussi Pakkanen
2ee27504a8
Moved mesonconf implementation in the module.
9 years ago
Jussi Pakkanen
ec44795f8a
Moved all wrap related things to their own submodule.
9 years ago
Jussi Pakkanen
66c01401de
Moved scripts in the module and started work to run them via the main meson command.
9 years ago
Jussi Pakkanen
8b1039fa30
Organise files into a module structure.
9 years ago
Thibault Saunier
33b2a414e9
Make it working on python 3.3
9 years ago
Yoav Alon
a4809cf632
Added support for extended command line to overcome OS command line length limitation
9 years ago
Jussi Pakkanen
1caf7e6f4a
Yet another step in the neverending saga of -Wpedantic.
9 years ago
Wink Saville
60896c0f04
Add --version to command line arguments.
9 years ago
Jussi Pakkanen
63e803ae0f
Made shared the default libtype as it is faster for daily development.
9 years ago
Jussi Pakkanen
8495075cee
Turned builtin options into proper objects.
9 years ago
Jussi Pakkanen
e2313b85d7
Refactored builtin options to a dictionary and created a new default library target type.
9 years ago
Jussi Pakkanen
c0070aadae
Now that projects can easily override defaults, return warning level to 2.
9 years ago
Jussi Pakkanen
572ce0f451
Added cpu family property to system information.
9 years ago
Thibault Saunier
c24573483d
Do not use intr before it exists
9 years ago
Jussi Pakkanen
067935ce76
Added conf option for build tree layout.
9 years ago
Jussi Pakkanen
384365c843
Added outdir() method to build targets so we can make output dirs togglable.
9 years ago
Jussi Pakkanen
c7e367ac16
Can set default warning with an envvar.
9 years ago
Jussi Pakkanen
6cca79b052
Added multiple selectable warning levels.
9 years ago
Jussi Pakkanen
9d559b2b39
More robust windows detection and more logs.
9 years ago
Jussi Pakkanen
bd5b4deeda
Better sanity testing.
9 years ago
Jussi Pakkanen
30d0c2292f
Support target-only cross compilation properly.
9 years ago
Jussi Pakkanen
37b2a195bd
Get build machine's CPU info too.
9 years ago
Jussi Pakkanen
463d08d545
Now host_machine, build_machine and target_machine are properly separated and return correct values.
9 years ago
Igor Gnatenko
174e72413f
style: fix indenting in meson.py
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
79417eac80
meson: fix undefined-variable in backends chooser
...
E:146,57: Undefined variable 'options' (undefined-variable)
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago