Commit Graph

18 Commits

Author SHA1 Message Date
Bartosz Taudul
eca841dfe3
Properly call make from within makefiles. 2023-05-23 22:42:53 +02:00
Graydon Hoare
0d4a4f6d9b
Support TRACY_NO_LTO build flag. 2022-05-19 23:40:27 -07:00
Bartosz Taudul
b10c83f358
Use lld linker, if available. 2022-04-27 02:17:16 +02:00
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
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
d68297ba45 Add trace update utility.
This tool will load a trace saved in previous version of tracy and save
an up-to-date version of the file.
2018-07-08 16:53:31 +02:00