%define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x %sparc m68k
%define lsan_arch x86_64 %ix86 %arm aarch64
%define ubsan_arch x86_64 %ix86 ppc ppc64 %arm aarch64
-%define cilkrts_arch x86_64 %ix86
%ifarch armv7l
%define ARCH armv7l
%post -n libatomic -p /sbin/ldconfig
%postun -n libatomic -p /sbin/ldconfig
-%package -n libcilkrts
-Summary: The GNU Compiler Cilk+ Runtime Library
-License: MIT
-Group: Development/Languages
-%description -n libcilkrts
-The runtime library needed to run programs compiled with the
--fcilkplus option of the GNU Compiler Collection (GCC).
-%post -n libcilkrts -p /sbin/ldconfig
-%postun -n libcilkrts -p /sbin/ldconfig
-
%package -n liblsan
Summary: The GNU Compiler Leak Sanitizer Runtime Library
License: MIT
%post -n libatomic-32bit -p /sbin/ldconfig
%postun -n libatomic-32bit -p /sbin/ldconfig
-%package -n libcilkrts-32bit
-Summary: The GNU Compiler Cilk+ Runtime Library
-License: MIT
-Group: Development/Languages
-%description -n libcilkrts-32bit
-The runtime library needed to run programs compiled with the
--fcilkplus option of the GNU Compiler Collection (GCC).
-%post -n libcilkrts-32bit -p /sbin/ldconfig
-%postun -n libcilkrts-32bit -p /sbin/ldconfig
-
%package -n libubsan-32bit
Summary: The GNU Compiler Undefined Sanitizer Runtime Library
License: MIT
%endif
# move libraries to libdir
-for lib in asan atomic cilkrts gfortran gomp cc1 itm lsan quadmath stdc++ supc++ tsan ubsan
+for lib in asan atomic gfortran gomp cc1 itm lsan quadmath stdc++ supc++ tsan ubsan
do
[ -e %{buildroot}%{libsubdir}/lib$lib.a ] && mv %{buildroot}%{libsubdir}/lib$lib.a %{buildroot}%{libdir}/
[ -e %{buildroot}%{libsubdir}/lib$lib.so ] && mv %{buildroot}%{libsubdir}/lib$lib.so* %{buildroot}%{libdir}/
%{libsubdir}/*.spec
%{libdir}/*.so
%{libdir}/*.a
-%ifarch %cilkrts_arch
-%{libsubdir}/include/cilk/*
-%endif
%{libsubdir}/include/sanitizer/*
%ifarch %asan_arch
%exclude %{libdir}/libasan.so
%{libdir}/libitm.so.*
%endif
-%ifarch %cilkrts_arch
-%files -n libcilkrts
-%manifest gcc.manifest
-%defattr(-,root,root)
-%{libdir}/libcilkrts.so.*
-%endif
-
%ifarch %ubsan_arch
%files -n libubsan
%manifest gcc.manifest
%{libsubdir}/32/libatomic.so.*
%endif
-%ifarch %cilkrts_arch
-%files -n libcilkrts-32bit
-%defattr(-,root,root)
-%{libsubdir}/32/libcilkrts.so.*
-%endif
-
%files -n libgcc-32bit
%manifest gcc.manifest
%license COPYING3 COPYING.RUNTIME
%define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x %sparc m68k
%define lsan_arch x86_64 %ix86 %arm aarch64
%define ubsan_arch x86_64 %ix86 ppc ppc64 %arm aarch64
-%define cilkrts_arch x86_64 %ix86
%ifarch armv7l
%define ARCH armv7l
%post -n libatomic -p /sbin/ldconfig
%postun -n libatomic -p /sbin/ldconfig
-%package -n libcilkrts
-Summary: The GNU Compiler Cilk+ Runtime Library
-License: MIT
-Group: Development/Languages
-%description -n libcilkrts
-The runtime library needed to run programs compiled with the
--fcilkplus option of the GNU Compiler Collection (GCC).
-%post -n libcilkrts -p /sbin/ldconfig
-%postun -n libcilkrts -p /sbin/ldconfig
-
%package -n liblsan
Summary: The GNU Compiler Leak Sanitizer Runtime Library
License: MIT
%post -n libatomic-32bit -p /sbin/ldconfig
%postun -n libatomic-32bit -p /sbin/ldconfig
-%package -n libcilkrts-32bit
-Summary: The GNU Compiler Cilk+ Runtime Library
-License: MIT
-Group: Development/Languages
-%description -n libcilkrts-32bit
-The runtime library needed to run programs compiled with the
--fcilkplus option of the GNU Compiler Collection (GCC).
-%post -n libcilkrts-32bit -p /sbin/ldconfig
-%postun -n libcilkrts-32bit -p /sbin/ldconfig
-
%package -n libubsan-32bit
Summary: The GNU Compiler Undefined Sanitizer Runtime Library
License: MIT
%endif
# move libraries to libdir
-for lib in asan atomic cilkrts gfortran gomp cc1 itm lsan quadmath stdc++ supc++ tsan ubsan
+for lib in asan atomic gfortran gomp cc1 itm lsan quadmath stdc++ supc++ tsan ubsan
do
[ -e %{buildroot}%{libsubdir}/lib$lib.a ] && mv %{buildroot}%{libsubdir}/lib$lib.a %{buildroot}%{libdir}/
[ -e %{buildroot}%{libsubdir}/lib$lib.so ] && mv %{buildroot}%{libsubdir}/lib$lib.so* %{buildroot}%{libdir}/
%{libsubdir}/*.spec
%{libdir}/*.so
%{libdir}/*.a
-%ifarch %cilkrts_arch
-%{libsubdir}/include/cilk/*
-%endif
%{libsubdir}/include/sanitizer/*
%ifarch %asan_arch
%exclude %{libdir}/libasan.so
%{libdir}/libitm.so.*
%endif
-%ifarch %cilkrts_arch
-%files -n libcilkrts
-%manifest gcc.manifest
-%defattr(-,root,root)
-%{libdir}/libcilkrts.so.*
-%endif
-
%ifarch %ubsan_arch
%files -n libubsan
%manifest gcc.manifest
%{libsubdir}/32/libatomic.so.*
%endif
-%ifarch %cilkrts_arch
-%files -n libcilkrts-32bit
-%defattr(-,root,root)
-%{libsubdir}/32/libcilkrts.so.*
-%endif
-
%files -n libgcc-32bit
%manifest gcc.manifest
%license COPYING3 COPYING.RUNTIME
%define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x %sparc m68k
%define lsan_arch x86_64 %ix86 %arm aarch64
%define ubsan_arch x86_64 %ix86 ppc ppc64 %arm aarch64
-%define cilkrts_arch x86_64 %ix86
%ifarch armv7l
%define ARCH armv7l
%post -n libatomic -p /sbin/ldconfig
%postun -n libatomic -p /sbin/ldconfig
-%package -n libcilkrts
-Summary: The GNU Compiler Cilk+ Runtime Library
-License: MIT
-Group: Development/Languages
-%description -n libcilkrts
-The runtime library needed to run programs compiled with the
--fcilkplus option of the GNU Compiler Collection (GCC).
-%post -n libcilkrts -p /sbin/ldconfig
-%postun -n libcilkrts -p /sbin/ldconfig
-
%package -n liblsan
Summary: The GNU Compiler Leak Sanitizer Runtime Library
License: MIT
%post -n libatomic-32bit -p /sbin/ldconfig
%postun -n libatomic-32bit -p /sbin/ldconfig
-%package -n libcilkrts-32bit
-Summary: The GNU Compiler Cilk+ Runtime Library
-License: MIT
-Group: Development/Languages
-%description -n libcilkrts-32bit
-The runtime library needed to run programs compiled with the
--fcilkplus option of the GNU Compiler Collection (GCC).
-%post -n libcilkrts-32bit -p /sbin/ldconfig
-%postun -n libcilkrts-32bit -p /sbin/ldconfig
-
%package -n libubsan-32bit
Summary: The GNU Compiler Undefined Sanitizer Runtime Library
License: MIT
%endif
# move libraries to libdir
-for lib in asan atomic cilkrts gfortran gomp cc1 itm lsan quadmath stdc++ supc++ tsan ubsan
+for lib in asan atomic gfortran gomp cc1 itm lsan quadmath stdc++ supc++ tsan ubsan
do
[ -e %{buildroot}%{libsubdir}/lib$lib.a ] && mv %{buildroot}%{libsubdir}/lib$lib.a %{buildroot}%{libdir}/
[ -e %{buildroot}%{libsubdir}/lib$lib.so ] && mv %{buildroot}%{libsubdir}/lib$lib.so* %{buildroot}%{libdir}/
%{libsubdir}/*.spec
%{libdir}/*.so
%{libdir}/*.a
-%ifarch %cilkrts_arch
-%{libsubdir}/include/cilk/*
-%endif
%{libsubdir}/include/sanitizer/*
%ifarch %asan_arch
%exclude %{libdir}/libasan.so
%{libdir}/libitm.so.*
%endif
-%ifarch %cilkrts_arch
-%files -n libcilkrts
-%manifest gcc.manifest
-%defattr(-,root,root)
-%{libdir}/libcilkrts.so.*
-%endif
-
%ifarch %ubsan_arch
%files -n libubsan
%manifest gcc.manifest
%{libsubdir}/32/libatomic.so.*
%endif
-%ifarch %cilkrts_arch
-%files -n libcilkrts-32bit
-%defattr(-,root,root)
-%{libsubdir}/32/libcilkrts.so.*
-%endif
-
%files -n libgcc-32bit
%manifest gcc.manifest
%license COPYING3 COPYING.RUNTIME
%define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x %sparc m68k
%define lsan_arch x86_64 %ix86 %arm aarch64
%define ubsan_arch x86_64 %ix86 ppc ppc64 %arm aarch64
-%define cilkrts_arch x86_64 %ix86
%ifarch armv7l
%define ARCH armv7l
%post -n libatomic -p /sbin/ldconfig
%postun -n libatomic -p /sbin/ldconfig
-%package -n libcilkrts
-Summary: The GNU Compiler Cilk+ Runtime Library
-License: MIT
-Group: Development/Languages
-%description -n libcilkrts
-The runtime library needed to run programs compiled with the
--fcilkplus option of the GNU Compiler Collection (GCC).
-%post -n libcilkrts -p /sbin/ldconfig
-%postun -n libcilkrts -p /sbin/ldconfig
-
%package -n liblsan
Summary: The GNU Compiler Leak Sanitizer Runtime Library
License: MIT
%post -n libatomic-32bit -p /sbin/ldconfig
%postun -n libatomic-32bit -p /sbin/ldconfig
-%package -n libcilkrts-32bit
-Summary: The GNU Compiler Cilk+ Runtime Library
-License: MIT
-Group: Development/Languages
-%description -n libcilkrts-32bit
-The runtime library needed to run programs compiled with the
--fcilkplus option of the GNU Compiler Collection (GCC).
-%post -n libcilkrts-32bit -p /sbin/ldconfig
-%postun -n libcilkrts-32bit -p /sbin/ldconfig
-
%package -n libubsan-32bit
Summary: The GNU Compiler Undefined Sanitizer Runtime Library
License: MIT
%endif
# move libraries to libdir
-for lib in asan atomic cilkrts gfortran gomp cc1 itm lsan quadmath stdc++ supc++ tsan ubsan
+for lib in asan atomic gfortran gomp cc1 itm lsan quadmath stdc++ supc++ tsan ubsan
do
[ -e %{buildroot}%{libsubdir}/lib$lib.a ] && mv %{buildroot}%{libsubdir}/lib$lib.a %{buildroot}%{libdir}/
[ -e %{buildroot}%{libsubdir}/lib$lib.so ] && mv %{buildroot}%{libsubdir}/lib$lib.so* %{buildroot}%{libdir}/
%{libsubdir}/*.spec
%{libdir}/*.so
%{libdir}/*.a
-%ifarch %cilkrts_arch
-%{libsubdir}/include/cilk/*
-%endif
%{libsubdir}/include/sanitizer/*
%ifarch %asan_arch
%exclude %{libdir}/libasan.so
%{libdir}/libitm.so.*
%endif
-%ifarch %cilkrts_arch
-%files -n libcilkrts
-%manifest gcc.manifest
-%defattr(-,root,root)
-%{libdir}/libcilkrts.so.*
-%endif
-
%ifarch %ubsan_arch
%files -n libubsan
%manifest gcc.manifest
%{libsubdir}/32/libatomic.so.*
%endif
-%ifarch %cilkrts_arch
-%files -n libcilkrts-32bit
-%defattr(-,root,root)
-%{libsubdir}/32/libcilkrts.so.*
-%endif
-
%files -n libgcc-32bit
%manifest gcc.manifest
%license COPYING3 COPYING.RUNTIME