aboutsummaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2020-02-23cmake2meson fix if nesting (#6676)Yann Dirson1-8/+17
2020-02-20boost: Rewrite boost_names.py generatorDaniel Mensinger1-143/+228
2020-01-08types: import typing as T (fixes #6333)Daniel Mensinger2-9/+9
2019-12-06Update Python2 syntax to Python3 syntax in ghwt.pyMichael Brockus1-5/+5
2019-11-07CI: add initial type annotation checkingMichael Hirsch, Ph.D3-17/+20
2019-10-19cmake2meson: improve exceptions, add type annotations, use argparseMichael Hirsch, Ph.D1-22/+22
2019-04-29Fix unused variables warningsDaniel Mensinger1-1/+1
2019-01-16allow nested if loopMichael Hirsch, Ph.D1-17/+31
close paren
2019-01-06modernize library default syntax, be like CMake static defaultMichael Hirsch, Ph.D1-2/+2
2018-09-13Fix flake8 whitespace reportsJon Turney1-1/+1
$ flake8 | grep -E '(E203|E221|E226|E303|W291|W293)' ./mesonbuild/build.py:964:5: E303 too many blank lines (2) ./tools/dircondenser.py:70:36: E221 multiple spaces before operator
2018-07-31Add script to condense test directory names.Jussi Pakkanen1-0/+82
2017-10-25Boost: Add Python librariesNiklas Claesson1-0/+3
Fixes: #2507
2017-10-12Boost: Jamfile has two syntaxes for boost librariesNiklas Claesson1-0/+4
Fixes #2456
2017-10-01Boost: Improve search algorithmNiklas Claesson1-0/+180
The new implementation will correctly pick boost from 3 possible locations on windows and two locations on posix compatible OSs. The new search algorithm also differentiates between debug and release builds of Boost and multi or single threading builds. It was also decided to map "Meson modules" to Boost software libraries and not Boost modules since it there are a lot of options regarding linking. Some modules can even be used either as headers-only or with dynamic linking. This commit also fixes a bug that prevented header-only use on Windows. Fixes: #2274 #2239 #1803 #669
2017-09-14cmake2meson: convert varexp to lowercaseGeorg Müller1-1/+1
since variable names in 'set' statements are converted to lowercase, the variable itself should be converted to lower-case too when used.
2017-09-14cmake2meson: strip comments from statementsGeorg Müller1-1/+4
Without this change, the following correct cmake will cause an error: statement( arg1 # arg2 arg3 )
2017-09-14cmake2meson: convert statements to lower caseGeorg Müller1-1/+1
cmake does not distinguish between upper and lower case, so convert it to lower case for the later comparisons.
2017-07-31Improve ac_converter to print a help message.Jussi Pakkanen1-1/+8
2017-07-16Removed unnecessary pass statements.Jussi Pakkanen1-1/+0
2017-07-16Removed duplicate key in dictionary.Jussi Pakkanen1-1/+0
2017-06-04A few typo fixes in the converter script.Jussi Pakkanen1-2/+2
2017-06-04Added more functions to the list of checks.Jussi Pakkanen1-0/+143
2017-01-18cleanup: Unbound local variableMike Sinkovsky1-0/+1
2017-01-18cleanup: Remove redundant parenthesesMike Sinkovsky1-3/+3
2017-01-18cleanup: Redundant character escapeMike Sinkovsky1-1/+1
2017-01-11style: [E1**] IndentationMike Sinkovsky1-2/+3
2017-01-11style: [E301] expected 1 blank line, found 0Mike Sinkovsky1-0/+1
2017-01-01style: fix E703 violationsIgor Gnatenko1-1/+1
E703: statement ends with a semicolon Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-01-01style: fix E124 violationsIgor Gnatenko1-1/+1
E124: closing bracket does not match visual indentation Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-01-01style: fix E265 violationsIgor Gnatenko1-1/+1
E265: block comment should start with '# ' Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-01-01style: fix E226 violationsIgor Gnatenko1-2/+2
E226: missing whitespace around arithmetic operator Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-12-31Fix space before :.Jussi Pakkanen2-35/+35
2016-10-19Allow id to contain a pipe "|"Gautier Pelloux-Prayer1-1/+1
For instance in [color](https://github.com/bagage/color/blob/master/tests/CMakeLists.txt#L26) project tests contains a `|` character.
2016-10-18cmake2meson.py: Fix missing quote around options type/nameGautier Pelloux-Prayer1-4/+4
2016-10-07tools/ac_converter: couple of trivial fixes (#867)Igor Gnatenko1-3/+2
W: 31, 4: Duplicate key 'HAVE_UNSETENV' in dictionary (duplicate-key) Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> * tools/ac_converter: fix undefined variable 'func' E:283,11: Undefined variable 'func' (undefined-variable) Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> * tools/ac_converter: use spaces properly in HAVE_SOCKET C: 97, 0: Exactly one space required after comma 'HAVE_SOCKET' : ('socket',' sys/socket.h'), ^ (bad-whitespace) This also might cause some issue after conversion. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-09-04loop over `sizes'Iain Lane1-1/+1
I ran `ac_converter.py`, and it crashed ``` Traceback (most recent call last): File "ac_converter.py", line 299, in <module> for elem, typename in size: ``` I think it's a typo like this.
2016-08-30Use context manager in scripts.Elliott Sales de Andrade2-65/+97
2016-08-14Use our config template rather than Autoconf's.Jussi Pakkanen1-1/+1
2016-08-13A few more checks for ac converter tool.Jussi Pakkanen1-0/+5
2016-07-28Convert socket checks.Jussi Pakkanen1-0/+1
2015-11-20A few more checks for converter.Jussi Pakkanen1-0/+4
2015-11-12More checks for converter.Jussi Pakkanen1-0/+53
2015-09-04Moved new ac converter from wrap repo and made shebang line use env. Closes ↵Jussi Pakkanen3-123/+218
#256.
2014-06-14Convert project name.Jussi Pakkanen1-0/+6
2014-06-14Convert some pkg-config declarations.Jussi Pakkanen1-1/+15
2014-06-14Some simple autoconf parsing.Jussi Pakkanen1-6/+29
2014-06-13Simple target converter.Jussi Pakkanen1-2/+20
2014-06-13Traverse the entire autotools tree.Jussi Pakkanen1-2/+14
2014-06-13Skeleton for converting autotools projects.Jussi Pakkanen1-0/+49
2014-06-04Convert test declarations.Jussi Pakkanen1-0/+2