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 | %def_enable profile %ifarch %e2k %def_enable m32 %endif Name: simpletest Version: 8 Release: alt2 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 libgfortran-devel libgomp-devel %ifarch %e2k %if_enabled m32 BuildRequires: e2k32-gcc e2k32-gcc-c++ # For lib.req (and debuginfo etc.) to work properly: BuildPreReq: e2k32-glibc # Work-around lib.req not knowing that lib32 is in our default search path. # TODO: change lib.req to get the idea of the default search path # from the corresponding ld.so interpreter. %filter_from_requires \:/lib.*\( = \|(\): s:^\(/usr\)\?/lib32/:: %endif %if_enabled profile BuildRequires: lcc1.23 >= 1.23.20-alt5 %endif %endif #ifarch x86_64 #if_enabled m32 #BuildRequires: i586-gcc9 i586-gcc9-c++ #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. 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 %configure \ %if_enabled m32 --enable-m32 \ %endif %if_enabled profile --enable-profile \ %endif %make_build %check %make check %install %makeinstall_std %files %_bindir/* %doc README %changelog * 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 15 2018 Andrew Savchenko <bircoph@altlinux.org> 2-alt2 - Use flags properly (they are not exported by rpm by default) * Fri Nov 15 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. |