Package simpletest: Specfile
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 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | %def_disable bootstrap %def_enable profile %def_enable sanitizers %def_enable coverage Name: simpletest Version: 11 Release: alt5 Summary: Simple toolchain test License: GPL-3 Group: Other Url: http://git.altlinux.org/people/bircoph/packages/simpletest.git Packager: Andrew Savchenko <bircoph@altlinux.org> Source: %name-%version.tar BuildRequires: gcc-c++ gcc-fortran %{?!_enable_bootstrap:BuildRequires: libgomp-devel} %if_enabled sanitizers BuildRequires: /proc libasan-devel-static %ifarch %e2k BuildRequires: liblsan-devel-static libmsan-devel-static %else %ifarch i586 armh BuildRequires: libubsan-devel-static %else BuildRequires: liblsan-devel-static libtsan-devel-static libubsan-devel-static %endif %endif %endif %description Simple suit for testing basic runtime toolchain functionality: - build chroot installability; - C/C++/Fortran base testing (compiles & works); - OpenMP tests for both C and Fortran (C++ OpenMP is the same as C); - profiler testing; - coverage testing. Also provides useful information about system: - running CPU version and architecture; - active instruction set, bitness, optlevel; - uname information; - effective compiler version and supported standards. %prep %setup %build # armv7a (armh) build hosts tells us it's aarch64, so set arch explicitly %configure \ %ifarch armh --arch=armv7a \ %endif %{subst_enable bootstrap} \ %{subst_enable profile} \ %{subst_enable sanitizers} \ %{subst_enable coverage} %make_build -O # No need to check since all checks are done during build %install %makeinstall_std %files %_bindir/* %doc README %changelog * Tue Dec 15 2020 Andrew Savchenko <bircoph@altlinux.org> 11-alt5 - Fix configure exit code when all sanitizers are disabled. * Mon Jul 27 2020 Andrew Savchenko <bircoph@altlinux.org> 11-alt4 - Add lcc-1.25 support (-pg + msan are not compatible). * Tue Jun 30 2020 Andrew Savchenko <bircoph@altlinux.org> 11-alt3 - Simplify compiler specific pg-args selection. * Tue Jun 30 2020 Andrew Savchenko <bircoph@altlinux.org> 11-alt2 - Workaround gcc incompatibility between -pg and -fomit-frame-pointer. This fixes armh build. * Tue Jun 30 2020 Andrew Savchenko <bircoph@altlinux.org> 11-alt1 - Add coverage support: gcov and gprof on all arches. - Allow running tests in parallel (for fixed build options). - Add multiple exceptions to workaround lcc shortcomings. * Fri Jun 19 2020 Andrew Savchenko <bircoph@altlinux.org> 10-alt4 - Add armh support. * Mon May 18 2020 Andrew Savchenko <bircoph@altlinux.org> 10-alt3 - Remove no longer needed libgfortran-devel dependency. * Fri May 15 2020 Andrew Savchenko <bircoph@altlinux.org> 10-alt2 - Fix build issues on aarch64 and i586. * Fri May 15 2020 Andrew Savchenko <bircoph@altlinux.org> 10-alt1 - Add sanitizers support. * Thu May 14 2020 Andrew Savchenko <bircoph@altlinux.org> 9-alt2 - Disable bootstrap, reenable profile. * Mon Apr 27 2020 Andrew Savchenko <bircoph@altlinux.org> 9-alt1 - Add bootstap support (for lcc updates) with minimal test. * Fri Jan 17 2020 Andrew Savchenko <bircoph@altlinux.org> 8-alt3 - Use subst_enable macro. * Sat Jan 11 2020 Andrew Savchenko <bircoph@altlinux.org> 8-alt2 - Update summary. - Fix macro type, thanks ldv@ for noticing. * Sat Jan 11 2020 Andrew Savchenko <bircoph@altlinux.org> 8-alt1 - Add gcc support. - Disable m32 tests for non-e2k arches. It can be used on x86_64, but outside of build infra, since x86_64-i586 is a separate arepo generated repository. - Refactor build system, add configure. - Install 32-bit binaries on e2k and docs. * Thu Nov 21 2019 Andrew Savchenko <bircoph@altlinux.org> 7-alt1 - Add profiler testing (eprof). - Refactoring. * Thu Nov 07 2019 Andrew Savchenko <bircoph@altlinux.org> 6-alt1 - Add libgfortran-devel dummy dependency to check libgfortran installability. * Mon Jul 01 2019 Andrew Savchenko <bircoph@altlinux.org> 5-alt1 - Add CPU model and arch run-time information. * Wed Feb 13 2019 Andrew Savchenko <bircoph@altlinux.org> 4-alt1 - Add 32-bit C and C++ tests. * Tue Dec 18 2018 Andrew Savchenko <bircoph@altlinux.org> 3-alt1 - Extend compiler and language standard information. - Add OpenMP C and Fortran checks. - Add run-time tests. * Fri Nov 16 2018 Andrew Savchenko <bircoph@altlinux.org> 2-alt2 - Use flags properly (they are not exported by rpm by default) * Fri Nov 16 2018 Andrew Savchenko <bircoph@altlinux.org> 2-alt1 - Add C++ and Fortran tests. * Wed Mar 21 2018 Andrew Savchenko <bircoph@altlinux.org> 1-alt1 - Initial release. |