Laszlo Nagy
20138bd1d6
fix execptions for run_build
2019-01-01 13:20:31 +11:00
Laszlo Nagy
2a251419d0
use full path to pick the right mpi compiler
2018-07-24 20:55:48 +10:00
Laszlo Nagy
45b4e60cd7
fix broken travis-ci build
2018-05-14 08:24:54 +10:00
Laszlo Nagy
fd5f2caf70
fix new pylint warnings and errors
2017-11-22 20:53:12 +11:00
Laszlo Nagy
515121e646
add more typing
2017-09-03 17:53:31 +10:00
Laszlo Nagy
b48b017afb
apply review comments from phabricator
2017-08-11 21:44:01 +10:00
Jani Mikkonen
0a3dd5bdbf
intercept-build to work with response files.
...
More info: https://msdn.microsoft.com/en-us/library/3te4xt0y.aspx
QT's qmake nmake generator generates makefile that puts all the
compilation units into response file. Thus, when compiling with
intercept-build to generate compilation_database.json, it won't get
populated due to _split_command not being able to detect any source
files in the intercepted call.
This patch will read the response file and append its data as
commandline parameters.
Includes unittest - essentially it covers also the functionality
so i dont see any need for "proper" functional test.
2017-08-09 20:58:13 +10:00
Laszlo Nagy
821c4aaf05
add typing
2017-08-05 23:23:53 +10:00
Laszlo Nagy
5af43962e9
try to fix #88
2017-08-05 19:48:37 +10:00
Laszlo Nagy
14e9908acc
replace @staticmethod to @classmethod
2017-07-08 14:30:15 +02:00
Laszlo Nagy
1b6acffac8
fix #86
2017-06-23 15:16:26 +02:00
Laszlo Nagy
d76feab992
fix more pylint issues
2017-05-07 17:30:09 +10:00
Laszlo Nagy
9f3fbba80d
run non configured pylint on travis-ci
2017-05-07 16:47:41 +10:00
Laszlo Nagy
317bb6848b
compilation class methods renamed
2017-04-07 22:00:15 +10:00
Laszlo Nagy
5480fc4d73
compilation object does implement __hash__, __eq__ without _hash_str
2017-03-25 19:58:58 +11:00
Laszlo Nagy
f94595d707
trim down execution details
2016-11-08 09:13:40 +11:00
Laszlo Nagy
506ed63a22
add docstrings to compilation module
2016-11-06 21:04:10 +11:00
Laszlo Nagy
09ef5e7343
execution type refactored to module level from intercept
2016-11-05 19:32:16 +11:00
Laszlo Nagy
1880b6b90d
remove shell and wincmd modules
2016-11-04 23:54:15 +11:00
Laszlo Nagy
bd2d2e125b
create class to represent compilation
2016-11-04 23:04:24 +11:00
Laszlo Nagy
b72d083337
file is relative in compilation database
2016-11-01 18:58:58 +11:00
Laszlo Nagy
8bc9035df8
intercept: use hand written genarators and split up big functions
2016-11-01 00:13:20 +11:00
Laszlo Nagy
d88d10770b
--use-cc and --use-c++ parameters are used to find compilers
2016-10-30 14:12:27 +11:00
Laszlo Nagy
d6b9348130
make compilation entries in one place
2016-10-29 14:06:33 +11:00
Laszlo Nagy
0aed42782d
analyzer does not call split_compiler, but split_command
2016-10-29 12:22:02 +11:00
Laszlo Nagy
1078abd864
compilation: known compilers split into c vs c++ group
2016-10-28 23:08:41 +11:00
Laszlo Nagy
11470f26ff
add support for intel, AIX, Solaris, HP C/C++ compiler
2016-09-03 12:05:01 +10:00
Laszlo Nagy
e02ef1cfdb
add compiler wrapper support
2016-09-02 21:55:24 +10:00
Laszlo Nagy
de73dcc270
create decorator for compiler wrappers
2016-04-17 00:32:58 +10:00
Laszlo Nagy
31a96ac2ef
D17487 apply review changes
2016-04-17 00:27:05 +10:00
Laszlo Nagy
de03471503
separate compile option filtering
2016-03-13 20:55:00 +11:00