Bartosz Taudul
2dd61aba49
Makefiles can now build clangd database.
...
Executing the "make db" will run the build process of the selected tool or
library through the bear wrapper (which has to be available in the system),
which will record the compilation parameters of each source file. This
database can be then used by VS Code to set the proper defines and find all
the required includes.
Note that database building is performed in context of the specific tool or
library. Not all tools have the same set of flags.
2022-04-23 23:46:55 +02:00
Bartosz Taudul
9892407ff0
Use system getopt in capture utility on unix.
...
This fixes header clash between getopt.h and unistd.h (required for unlink),
which prevented LTO on macos.
2021-01-27 00:32:38 +01:00
Bartosz Taudul
57ca6112b8
Enable Link Time Optimization on unix.
2021-01-26 22:43:50 +01:00
Bartosz Taudul
c8ea47782c
ARM clang doesn't support -march=native.
2021-01-26 19:46:39 +01:00
Bartosz Taudul
62d6f4127d
Don't pass -s parameter to clang.
2021-01-26 19:39:24 +01:00
Bartosz Taudul
4394d396f5
Build release target by default.
2020-10-03 13:45:11 +02:00
Jim Blandy
7bc8c6283a
Factor out Unix build logic into shared files.
2020-07-31 11:08:36 -07:00
Jim Blandy
652582b119
Factor out makefile TBB detection, apply to all tools.
2020-07-31 09:14:12 -07:00
Bartosz Taudul
25c7245566
Revert "Use pkg-config to link with TBB, but silence errors."
...
This reverts commit b4d6833231
.
pkg-config setup for TBB is debian-specific.
2020-06-19 20:07:06 +02:00
Bartosz Taudul
b4d6833231
Use pkg-config to link with TBB, but silence errors.
2020-06-19 02:17:10 +02:00
Bartosz Taudul
884de148c9
Target native architecture.
2020-05-13 18:35:56 +02:00
Bartosz Taudul
fd027c65e7
Remove -fomit-frame-pointer.
2020-04-12 21:55:47 +02:00
Bartosz Taudul
b2a8b53efa
Query source location of each assembly instruction.
2020-04-01 21:43:03 +02:00
Bartosz Taudul
28d749982a
Fix typo.
2020-02-08 20:03:38 +01:00
Bartosz Taudul
3e74d041c9
Link with Thread Building Blocks, if available.
2019-07-28 01:53:39 +02:00
Bartosz Taudul
4c16aa9b96
Store build objects in separate directories.
2018-06-27 20:31:17 +02:00
Bartosz Taudul
249cd4783c
Use C++17 in server.
2018-05-08 01:23:24 +02:00
Bartosz Taudul
d747f2b74f
Disable statistics collection in capture tool.
2018-03-18 13:00:11 +01:00
Bartosz Taudul
3f2ba6797b
Link with pthreads.
2018-03-10 01:32:39 +01:00
Bartosz Taudul
c673f70f90
Add command line trace capture utility.
2018-03-10 01:29:27 +01:00