1292 Commits

Author SHA1 Message Date
Laszlo Nagy
ee396556a8 Revert "Remove USE_SOURCE_PERMISSIONS from install command"
This reverts commit 791135f7bf.
2025-11-05 19:43:39 +11:00
Junfeng Yang
791135f7bf Remove USE_SOURCE_PERMISSIONS from install command
The `USE_SOURCE_PERMISSIONS` option in the `install(DIRECTORY)` command
was causing issues with file permissions after `cmake install`.
Specifically, it was altering the permissions of the `bin`, `lib`, and
`share` folders, leading to `others` losing access to these directories.
Removing this option ensures that default permissions are maintained,
preventing unexpected access restrictions for users.
2025-11-02 00:15:23 +11:00
frogtd
71810e9ba8 Fix grammar and punctuation in README.md
Correct grammar and punctuation throughout the README file for clarity.
2025-10-23 08:05:23 +11:00
George Rennie
8bf857ffa9 Add support for sccache (#643)
* support sccache wrapper as ccache variant

* test sccache wrapper queries

* fix: call is_distcc_query in its tests not is_ccache_query
2025-09-27 08:31:26 +10:00
Laszlo Nagy
d75455d6ce remove rust implementation from the main branch 2025-05-10 12:12:06 +10:00
Jaime González
0a49313ac9 Disable network proxies by default (#631)
* Disable network proxies by default

and allow the user to enable them with the new --enable-network-proxy
flag

* Update man with new --enable-network-proxy flag

* Increase help space for option names

to accommodate the new option --enable-network-proxy
2025-05-10 12:02:31 +10:00
Laszlo Nagy
14c2e0174a version bump 3.1.6 2025-03-23 19:22:55 +11:00
Wataru Ashihara
c18c8eef1e citnames: add xgcc and xg++
When building gcc and g++, the compiler core is first built as xgcc/xg++, and
these are then used to compile other components (e.g. libgcc or libstdc++).
Since xgcc/xg++ were not recognized by bear, many files were missing from
compile_commands.json when building gcc.

    # building gcc (master branch) on x86_64 Linux
    ../configure --disable-bootstrap --disable-multilib --enable-languages=c,c++
    bear -- make
    jq 'length' compile_commands.json
    # before this change: 1067
    # after  this change: 2745

Fixes: https://github.com/rizsotto/Bear/issues/563
2025-03-22 11:03:09 +11:00
ruifm
02ec886d0b Add LLVM's flang support (#622)
* Recognize flang compiler as part of ToolClang

* Add flang specific flags to ToolClang

* Add flang(-new) as a compiler wrapper
2025-03-22 00:02:26 +00:00
Iñaki Amatria Barral
62004dd9b8 Add ftnfe as a compiler wrapper
Co-authored-by: ruifm <rui.marques@appentra.com>
2025-03-18 23:04:08 +11:00
Iñaki Amatria Barral
4c7231b17e Add support for ftnfe to citnames
Co-authored-by: ruifm <rui.marques@appentra.com>
2025-03-18 23:04:08 +11:00
Rui Marques
86b92df6c2 Add missing stdlib header
Otherwise it won't compile using alternative C++ stdlibs such as LLVM's
libc++.
2025-03-18 23:04:08 +11:00
Laszlo Nagy
355e04268e rust: fix clippy warning 2025-03-03 20:40:21 +11:00
Laszlo Nagy
7eaf617f4c rust: interpreter factory method simplified 2025-03-03 20:38:07 +11:00
Laszlo Nagy
fda853b35a rust: bump up "rand" crate version 2025-03-03 13:05:36 +11:00
Laszlo Nagy
28ad108097 rust: bump up "directories" crate version 2025-03-03 13:05:36 +11:00
Laszlo Nagy
d136b94701 rust: fix windows build 2025-03-03 13:05:32 +11:00
Laszlo Nagy
7840e5145b rust: add supervisor function to forward signals to child processes 2025-01-19 00:59:27 +11:00
Laszlo Nagy
8e9526c5eb rust: resolve todo items in wrapper 2025-01-18 22:19:14 +11:00
Laszlo Nagy
8dc417a449 rust: default intercept config added for non-linux os 2025-01-18 21:03:23 +11:00
Laszlo Nagy
f85263b054 rust: transformation module todo fixed 2025-01-18 20:41:32 +11:00
Laszlo Nagy
75c6cb74a3 rust: fix clippy warnings 2025-01-18 20:30:13 +11:00
Jaime Gonzalez
6d23d17cfe Add ifx and ifort as compiler wrappers 2025-01-16 18:16:00 +11:00
Jaime Gonzalez
973db23472 Add ifort and ifx support to citnames 2025-01-16 18:16:00 +11:00
Jaime Gonzalez
74b699dd16 Extract common Tool functions to a separate header 2025-01-16 18:16:00 +11:00
Laszlo Nagy
24dc8bf0fb rust: add unit tests 2025-01-11 23:07:22 +11:00
Laszlo Nagy
eee1dd1fcd rust: config for source file filtering reviewed 2025-01-11 20:45:12 +11:00
Laszlo Nagy
b69ac1d6ed rust: fix clippy warnings 2024-12-26 13:04:05 +11:00
Laszlo Nagy
61352b6b44 rust: format to absolute path is configurable 2024-12-26 13:01:53 +11:00
Laszlo Nagy
18c1ba4d00 rust: entry formatting is part of output module 2024-12-26 11:42:42 +11:00
Laszlo Nagy
48905d352d rust: clang output selection is in clang mod 2024-12-26 10:54:04 +11:00
Laszlo Nagy
b4c6a6f703 rust: intercept persistency got separate module 2024-12-26 10:40:49 +11:00
Laszlo Nagy
ecc1caebc9 rust: interpreter factory method moved 2024-12-25 15:05:16 +11:00
Laszlo Nagy
0dcd3eab5f rust: output writer moved to modes 2024-12-25 14:41:08 +11:00
Laszlo Nagy
49248d0138 rust: event serializers are in the same module as the declarations 2024-12-25 14:31:29 +11:00
Laszlo Nagy
40c05e7b82 rust: intercept module contains higher level abstractions 2024-12-25 14:11:17 +11:00
Laszlo Nagy
b4c289d007 rust: rename ipc to intercept 2024-12-25 13:56:15 +11:00
Laszlo Nagy
d8fd5a8b3a rust: print out envelopes not executions 2024-12-25 13:52:52 +11:00
Laszlo Nagy
fb299a965c rust: modes module reorg 2024-12-15 22:58:03 +11:00
Laszlo Nagy
ab180ba79f rust: intercept and combined mode share code 2024-12-15 22:26:51 +11:00
Laszlo Nagy
a200209f84 rust: semantic and combinded mode share code 2024-12-15 21:10:55 +11:00
Laszlo Nagy
6035d2de37 rust: event file read and write methods in the same module 2024-12-15 18:42:15 +11:00
Laszlo Nagy
1bd952d6a5 rust: implement semantic output writer 2024-12-15 14:06:24 +11:00
Laszlo Nagy
6bb363d555 rust: fmt fixes 2024-12-15 13:10:16 +11:00
Laszlo Nagy
757ddef656 rust: recognition type deleted 2024-12-15 13:09:24 +11:00
Laszlo Nagy
4eea6bd745 rust: output mod has writer trait 2024-12-15 12:55:08 +11:00
Laszlo Nagy
6a2b46d4a4 rust: modes module cleanup 2024-12-14 21:03:14 +11:00
Laszlo Nagy
ff7ae7ad7e rust: tarnsformation module is part of semantic pakcage 2024-12-14 11:56:55 +11:00
Laszlo Nagy
7e45025866 rust: rename semantic+intercept mode to combined 2024-12-14 11:26:09 +11:00
Laszlo Nagy
79379f2812 rust: event file read and write using JSON only 2024-11-24 22:27:39 +11:00