| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| Name: qbe |
| Version: 1.1+24 |
| Release: 0 |
| Summary: Small embeddable C compiler backend |
| Group: Development/Tools/Building |
| URL: https://c9x.me/compile |
| Source0: qbe-v%{version}.tar.zst |
| BuildRequires: zstd |
| License: MIT |
| |
| %description |
| QBE is a compiler backend that aims to provide 70% of the |
| performance of industrial optimizing compilers in 10% of the code. |
| QBE fosters language innovation by offering a compact user-friendly |
| and performant backend. |
| |
| The size limit constrains QBE to focus on the essential and |
| prevents embarking on a never-ending path of diminishing returns. |
| |
| %prep |
| %setup -q -n %{name}-v%{version} |
| |
| %build |
| export CC="cc" |
| %make_build CFLAGS="%optflags -std=c99 -fPIE" |
| |
| %install |
| %make_install PREFIX="%_prefix" |
| |
| %files |
| %{_bindir}/%{name} |
| %license LICENSE |
| %doc README doc |
| |
| %changelog |