diff --git a/envytools.spec b/envytools.spec index 667ac3a..abd4476 100644 --- a/envytools.spec +++ b/envytools.spec @@ -2,7 +2,7 @@ Name: envytools Version: 0.0 -Release: 0.33.git%{gitdate}%{?dist} +Release: 0.20.git%{gitdate}%{?dist} Summary: Tools for people envious of nvidia's blob driver License: MIT URL: https://github.com/envytools/envytools @@ -10,7 +10,7 @@ URL: https://github.com/envytools/envytools Source0: envytools-%{gitdate}.tar.bz2 Source1: make-git-snapshot.sh Patch1: envytools-add-missing-GETPARAM_PHYS-defines.patch -ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 riscv64 +ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 BuildRequires: gcc g++ BuildRequires: cmake flex bison BuildRequires: libpciaccess-devel libX11-devel libXext-devel libseccomp-devel @@ -40,6 +40,20 @@ hardware supported by the nouveau driver project. %build +# envytools has some LTO related issues, disable LTO for now: +# /builddir/build/BUILD/envytools-20200810/hwtest/nv50_ptherm.cc:57:8: warning: type 'struct therm_threshold' violates the C++ One Definition Rule [-Wodr] +# 57 | struct therm_threshold { +# | ^ +# /builddir/build/BUILD/envytools-20200810/hwtest/nv84_ptherm.cc:193:8: note: a different type is defined in another translation unit +# 193 | struct therm_threshold { +# | ^ +# /builddir/build/BUILD/envytools-20200810/hwtest/nv50_ptherm.cc:60:11: note: the first difference of corresponding definitions is field 'thrs_mask' +# 60 | uint32_t thrs_mask; +# | ^ +# /builddir/build/BUILD/envytools-20200810/hwtest/nv84_ptherm.cc:196:11: note: a field with different name is defined in another translation unit +# 196 | uint32_t hyst_addr; +# | ^ +%define _lto_cflags %{nil} %cmake -DBUILD_SHARED_LIBS:BOOL=OFF %cmake_build @@ -82,45 +96,6 @@ rm $RPM_BUILD_ROOT%{_docdir}/%{name}/hwdocs/*.py %changelog -* Wed Jul 23 2025 Fedora Release Engineering - 0.0-0.33.git20200810 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Thu Jan 16 2025 Fedora Release Engineering - 0.0-0.32.git20200810 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Wed Jul 17 2024 Fedora Release Engineering - 0.0-0.31.git20200810 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Thu Feb 22 2024 Liu Yang - 0.0-0.30.git20200810 -- Add riscv64. - -* Wed Jan 24 2024 Fedora Release Engineering - 0.0-0.29.git20200810 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering - 0.0-0.28.git20200810 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Wed Jul 19 2023 Fedora Release Engineering - 0.0-0.27.git20200810 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Thu Jan 19 2023 Fedora Release Engineering - 0.0-0.26.git20200810 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Thu Jul 21 2022 Fedora Release Engineering - 0.0-0.25.git20200810 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Thu Jan 20 2022 Fedora Release Engineering - 0.0-0.24.git20200810 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Jul 21 2021 Fedora Release Engineering - 0.0-0.23.git20200810 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Mon May 10 2021 Jeff Law - 0.0-0.22.git20200810 -- Re-enable LTO - -* Tue Jan 26 2021 Fedora Release Engineering - 0.0-0.21.git20200810 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - * Mon Aug 10 2020 Hans de Goede - 0.0-0.20.git20200810 - Update to a recent git snapshot - Fix FTBFS (rhbz#1863484)