File: firebuild.spec

package info (click to toggle)
firebuild 0.8.6-1
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 2,624 kB
  • sloc: cpp: 14,301; ansic: 6,429; python: 2,401; sh: 262; makefile: 40; awk: 33
file content (80 lines) | stat: -rw-r--r-- 2,864 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80

Name:           firebuild
Version:        0.8.6
Release:        1%{?dist}
Summary:        Automatic build accelerator cache

License:        Proprietary
URL:            https://firebuild.com
Source0:        %{name}-%{version}.tar.gz

BuildRequires:  cmake >= 3.13
BuildRequires:  gcc >= 10
BuildRequires:  gcc-c++ >= 10
BuildRequires:  clang
BuildRequires:  libconfig-devel
BuildRequires:  jemalloc-devel
# TODO(rbalint) package https://github.com/Tessil/hopscotch-map
# BuildRequires:  tsl-hopscotch-map-devel
BuildRequires:  xxhash-devel >= 0.8
BuildRequires:  python3-jinja2
BuildRequires:  libxslt
BuildRequires:  docbook-style-xsl
BuildRequires:  bash-completion
BuildRequires:  bc
BuildRequires:  moreutils
BuildRequires:  bats
BuildRequires:  dash
BuildRequires:  glibc-static
BuildRequires:  po-debconf

Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
Suggests:       nodejs-d3

%description
It works by caching the outputs of executed commands and replaying the results when the same commands are executed with the same parameters within the same environment.
.
The commands can be compilation or other build artifact generation steps, tests, or any command that produces predictable output. The commands to cache and replay from the cache are determined automatically based on firebuild's configuration and each command's and its children's observed behavior.
.
Firebuild supports caching compilation results of C, C++, Fortran, Java, Rust, Scala and other compilers and outputs of scripts written in Bash, Perl, Python and other interpreted languages.

%package libs
Summary:        Automatic build accelerator cache - shared library
License:        Proprietary

%description libs
It works by caching the outputs of executed commands and replaying the results when the same commands are executed with the same parameters within the same environment.
.
The commands can be compilation or other build artifact generation steps, tests, or any command that produces predictable output. The commands to cache and replay from the cache are determined automatically based on firebuild's configuration and each command's and its children's observed behavior.
.
Firebuild supports caching compilation results of C, C++, Fortran, Java, Rust, Scala and other compilers and outputs of scripts written in Bash, Perl, Python and other interpreted languages.
.
This package provides the shared library preloaded by the intercepted processes.

%prep
%setup -q

%build
%cmake -DCMAKE_INSTALL_SYSCONFDIR=/etc .
%cmake_build

%check
make -C %__cmake_builddir check

%install
%cmake_install

%files
%license LICENSE.md
%doc README.md
%{_bindir}/firebuild
%{_datadir}
%{_sysconfdir}/firebuild.conf

%files libs
%license LICENSE.md
%{_libdir}/libfirebuild.so*

%changelog
* Thu Jun 19 2025 Balint Reczey <balint@balintreczey.hu> - 0.8.4-1
- Initial RPM release