Mike Sinkovsky
969be1f679
cleanup: Remove redundant parentheses
8 years ago
Mike Sinkovsky
1d177fb127
cleanup: Unused local variables
8 years ago
Mike Sinkovsky
22eed4c417
cleanup: Redundant character escape
8 years ago
Nirbheek Chauhan
705612f7cf
pkgdep: Print found message after setting cargs/libs
...
Fetching cflags and libs can also fail if, for instance, the pkg-config
file for a dependency needed by this package isn't found. Without this,
we will print "Found: YES" and then "Found: NO".
8 years ago
Nirbheek Chauhan
2d31851d3b
Print pkg-config error when framework dep isn't found
...
Without this, macOS users can't figure out why a particular dependency
wasn't found because the pkg-config error message gets masked by the
fresh and useless DependencyException.
8 years ago
Nirbheek Chauhan
e441a74282
Derive all exceptions correctly from base exceptions
...
Don't need to define __init__ and manually call the parent init. Doing
so messes up the error message you get by doing str(exception) because
it includes the current class name in it repeatedly.
8 years ago
Jussi Pakkanen
11f9425a5e
Can use targets directly in test arguments.
8 years ago
Jussi Pakkanen
cfc33ac421
Merge pull request #1303 from mesonbuild/buildonall
...
Add kwarg build_by_default
8 years ago
Jussi Pakkanen
7a28f387e2
More readable total statistics.
8 years ago
Jussi Pakkanen
21d8505825
build_by_default it is.
8 years ago
Jussi Pakkanen
72a346dacf
Merge pull request #1257 from QuLogic/generator-files
...
Add support for Files passed to generators.
8 years ago
Nirbheek Chauhan
0bc44da702
tests/common/126: Also skip unsupported CPUs here
...
Related to https://github.com/mesonbuild/meson/pull/1289 and
https://github.com/mesonbuild/meson/issue/1287
8 years ago
Jussi Pakkanen
58878b998d
Get rid of hasattr.
8 years ago
Jussi Pakkanen
db8ad2a4bd
Add test for build_on_all.
8 years ago
Jussi Pakkanen
b1087f011c
Moved detection of targets to build on all into own function.
8 years ago
Jussi Pakkanen
7abc7c64b0
Created base class for all targets and moved common functionality there.
8 years ago
Jussi Pakkanen
4aea0276f0
Merge pull request #1279 from trhd/master
...
mesontest: Improve test suite selection.
8 years ago
Hemmo Nieminen
5833bd6735
tests: Add a test for new test suite selection.
8 years ago
Hemmo Nieminen
b90956c2f2
mesontest: Improve test suite selection.
...
Suite option can now be given to specify in more detail which tests should
be run.
8 years ago
Elliott Sales de Andrade
78b030cf19
Add support for Files passed to generators.
...
I need this for windows.compile_resources to be able to use
configure_file results, but it may have other benefits.
8 years ago
Mike Sinkovsky
eea0670872
style: disable flake8 warnings E241, E251, E305, E401
8 years ago
Mike Sinkovsky
5b626ab4cb
style: [E1**] Indentation
8 years ago
Mike Sinkovsky
0dd1e33898
style: [E251] unexpected spaces around keyword / parameter equals
8 years ago
Mike Sinkovsky
ab4f7b56ce
style: [E272] multiple spaces before keyword
8 years ago
Mike Sinkovsky
3adf5aed81
style: [E402] module level import not at top of file
8 years ago
Mike Sinkovsky
77515ee541
style: [E303] too many blank lines (2)
8 years ago
Mike Sinkovsky
84902cb93a
style: [E301] expected 1 blank line, found 0
8 years ago
Mike Sinkovsky
f9344b03a8
style: [E721] do not compare types, use 'isinstance()'
8 years ago
Mike Sinkovsky
bf14cec81b
style: [E712] comparison to True should be 'if cond is True:' or 'if cond:'
8 years ago
Mike Sinkovsky
c8981bdd1b
style: [E711] comparison to None should be 'if cond is None:'
8 years ago
Mike Sinkovsky
e9a891fe25
style: [E502] the backslash is redundant between brackets
8 years ago
Jussi Pakkanen
34caf6471c
Merge pull request #787 from mesonbuild/py3module
...
Created a Python 3 module for simpler building of Python extension mo…
8 years ago
Jussi Pakkanen
6ac9a8e738
Add .find_python() method. Supersedes #777 .
8 years ago
Jussi Pakkanen
fbabe8ad85
There are two different kinds of extensions: modules that create new
...
objects directly and snippets that just call into interpreter methods.
8 years ago
Jussi Pakkanen
24221d71cc
Created a Python 3 module for simpler building of Python extension modules.
8 years ago
Jussi Pakkanen
9cf0991a1d
Merge pull request #1278 from mesonbuild/newmodules
...
Bring some order to modules
8 years ago
Nirbheek Chauhan
747d4f2b03
We only need Ninja 1.5.x for the core code
...
This change helps us run on older distros such as Ubuntu LTS which is
very lazy in updating even non-core and stable packages such as Ninja.
Ninja 1.6.x is only needed for running the tests.
8 years ago
Jussi Pakkanen
340781c515
Fix Gnome module.
8 years ago
Jussi Pakkanen
00f62d0755
Can get values in ConfigurationData objects.
8 years ago
Jussi Pakkanen
8f3616e72e
Compile asm only on supported cpus. Closes #1287 .
8 years ago
Jussi Pakkanen
fdd0675661
Better error messages. Closes #1284 .
8 years ago
Jussi Pakkanen
570c9b150b
Fix a few more modules.
8 years ago
Jussi Pakkanen
de24fddbd1
Create a module return value object.
8 years ago
Jussi Pakkanen
56e2c46ce1
Merge pull request #1272 from mesonbuild/ignatenko/lint
...
fix some linting errors
8 years ago
Jussi Pakkanen
55cdba635e
Merge pull request #1260 from mesonbuild/subproj_defaults
...
Can set subproject option defaults from command line and master project
8 years ago
Jussi Pakkanen
5ff97b0f35
Update author list.
8 years ago
Jussi Pakkanen
35633c6865
Merge pull request #1253 from geier1993/intel
...
Intel C/C++ Compiler support
8 years ago
Jussi Pakkanen
027af6b064
Error out if trying to do gettext without appropriate tools.
8 years ago
Nirbheek Chauhan
a99732aaf2
Project tests: Also catch ValueError
...
It seems on Windows, deleting in a loop can cause a race where the
following error is raised:
Traceback (most recent call last):
File "run_project_tests.py", line 550, in <module>
(passing_tests, failing_tests, skipped_tests) = run_tests(all_tests, 'meson-test-run', options.extra_args)
File "run_project_tests.py", line 416, in run_tests
result = result.result()
File "C:\python34-x64\lib\concurrent\futures\_base.py", line 402, in result
return self.__get_result()
File "C:\python34-x64\lib\concurrent\futures\_base.py", line 354, in __get_result
raise self._exception
ValueError: I/O operation on closed file.
https://ci.appveyor.com/project/jpakkane/meson/build/1.0.1559/job/vsek754eu000kg3e
8 years ago
Nirbheek Chauhan
2589009d23
ifort: Derive from IntelCompiler base class
...
And fix the list of supported file suffixes, and use .f90 for all
fortran tests since ifort, the Intel Fortran compiler ignores files
ending with .f95, .f03, and .f08
8 years ago