%global test_suite_srcdir test-suite-%{version}%{?rc_ver:rc%{rc_ver}}.src.fedora Name: llvm-test-suite Version: 7.0.0 Release: 3%{?dist} Summary: C/C++ Compiler Test Suite License: NCSA and BSD and GPLv1 and GPLv2+ and GPLv2 and MIT and Python and Public Domain URL: http://llvm.org # The LLVM Test Suite contains progrms with "BAD" or unknown licenses which should # be removed. Some of the unknown licenses may be OK, but until they are reviewed, # we will remove them. # Use the pkg_test_suite.sh script to generate the test-suite tarball: # wget http://llvm.org/releases/%%{version}/%%{test_suite_srcdir}.tar.xz # ./pkg_test_suite.sh %%{test_suite_srcdir}.tar.xz Source0: %{test_suite_srcdir}.tar.xz # We need python3-devel for pathfix.py. BuildRequires: python3-devel Requires: cmake Requires: libstdc++-static Requires: python3-lit = 0.7.0 # ABI-Testsuite requires python2-lit Requires: python2-lit = 0.7.0 Requires: llvm Requires: tcl Requires: which %description C/C++ Compiler Test Suite that is maintained as an LLVM sub-project. This test suite can be run with any compiler, not just clang. %prep %autosetup -n %{test_suite_srcdir} -p1 pathfix.py -i %{__python2} -pn \ ParseMultipleResults \ utils/*.py \ CollectDebugInfoUsingLLDB.py \ CompareDebugInfo.py \ tools/get-report-time \ FindMissingLineNo.py \ MicroBenchmarks/libs/benchmark-1.3.0/tools/compare_bench.py chmod -R -x+X ABI-Testsuite %install mkdir -p %{buildroot}%{_datadir}/llvm-test-suite/ cp -R %{_builddir}/%{test_suite_srcdir}/* %{buildroot}%{_datadir}/llvm-test-suite %files %{_datadir}/llvm-test-suite/ %changelog * Fri Oct 26 2018 Tom Stellard - 7.0.0-3 - 7.0.0 Release