From d0c38922bba81fa178b2714d2c0e010f6a1ccb59 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 27 Sep 2022 05:02:57 -0400 Subject: [PATCH] import lld-14.0.6-1.module+el8.7.0+15816+ec020e8f --- .gitignore | 2 +- .lld.metadata | 2 +- SOURCES/lld-13.0.1.src.tar.xz.sig | Bin 566 -> 0 bytes SOURCES/lld-14.0.6.src.tar.xz.sig | Bin 0 -> 566 bytes SPECS/lld.spec | 105 ++++++++++++++++++++++++++---- 5 files changed, 93 insertions(+), 16 deletions(-) delete mode 100644 SOURCES/lld-13.0.1.src.tar.xz.sig create mode 100644 SOURCES/lld-14.0.6.src.tar.xz.sig diff --git a/.gitignore b/.gitignore index 69229d3..8a01b32 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -SOURCES/lld-13.0.1.src.tar.xz +SOURCES/lld-14.0.6.src.tar.xz SOURCES/tstellar-gpg-key.asc diff --git a/.lld.metadata b/.lld.metadata index 8eb0ab8..5171d3a 100644 --- a/.lld.metadata +++ b/.lld.metadata @@ -1,2 +1,2 @@ -78d69e9bd03422f12cf36cc720bf4ee7293e17c5 SOURCES/lld-13.0.1.src.tar.xz +bba0ab108d525c911e80fed4b10435e459cdf7b6 SOURCES/lld-14.0.6.src.tar.xz b8d2648a01d36ed0186fd2c5af325fd28797f9a0 SOURCES/tstellar-gpg-key.asc diff --git a/SOURCES/lld-13.0.1.src.tar.xz.sig b/SOURCES/lld-13.0.1.src.tar.xz.sig deleted file mode 100644 index b07cb7dad7c6c4625b38d4e00cea207b2d309228..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SEvc79j*jP9iaCzek0rjBbvi$CRmtL7j>P0%7``3jhiU5TeJF zsfIzFin;s`{TgHxy0vqYf*d#;5zk28rSpUNMLRvEiagz6%mmwAE96ddS#-FpGXKrfMYKhOSm|4>QFDNs zO#eYFY{K1dK*^69s`X_`F1$B}zoQQtYUc-w;Uxim@xjlq4e4$O2Pev0v_H)cZ*P+Uu>YY+(~F8&fiQK;pfr`B!d9Y zeMxNXMl)RdXr<3m!9tKs>omaq3wPMSqk}rL_30mRI=^WdRt3$J$|;ugpU*sRgOomL z9Wk?-nlhu8b=JS0D#WO1D<>drT#p*mwNxYgv$LpP0%Ep`W&jEa5TeJF zsfIzFij4IS|8E_|dZ9EJg-tRc^#-$Bko7sHx;a+UP7YPGz9o!X5<~dLhda441L>H9 zw~b5P+WaTNKDw7|NmgB=9w0L(Ckos-eoo8RQL})||LtQ}Th{`6fxaEAQu11PvGL`8 zI7d;4OXyb@ux>2)Vm{hI0b%|DwcLz}wuCpYmfE#D{N@k*b||-3&ztLXH^A9#of(~> z0ra4Dx@W5+o_8z=SVVIAYB!+SzZ(EYG3{iwe9347>anN|5Hf+=vB=G!)1V&u0Bt4Q zlg|zmPQYma*dhRHW@9*VhJCK`6s=rNgiu-FZ>vSh8`G&MS#u>KsSBM8`wnT^TN^@GL4}r%$4D3q7#X?O6%j(5vB+=9tatg> %{lit_cfg} +head -n -1 %{__cmake_builddir}/test/Unit/lit.site.cfg.py >> %{lit_unit_cfg} + +# Patch lit config files to load custom config: +for f in %{lit_cfg} %{lit_unit_cfg}; do + echo "lit_config.load_config(config, '%{lit_lld_test_cfg_install_path}')" >> $f +done + +# Install test files +install -d %{buildroot}%{_datadir}/lld/src +cp %{SOURCE4} %{buildroot}%{_datadir}/lld/ + +# The various tar options are there to make sur the archive is the same on 32 and 64 bit arch, i.e. +# the archive creation is reproducible. Move arch-specific content out of the tarball +mv %{lit_cfg} %{buildroot}%{_datadir}/lld/src/%{_arch}.site.cfg.py +mv %{lit_unit_cfg} %{buildroot}%{_datadir}/lld/src/%{_arch}.Unit.site.cfg.py +tar --sort=name --mtime='UTC 2020-01-01' -c test/ | gzip -n > %{buildroot}%{_datadir}/lld/src/test.tar.gz + +install -d %{buildroot}%{_libexecdir}/tests/lld +install -m 0755 %{SOURCE3} %{buildroot}%{_libexecdir}/tests/lld + +# Install unit test binaries +install -d %{buildroot}%{_libdir}/lld/ + +rm -rf `find %{buildroot}%{_libdir}/lld/ -iname '*make*'` + +# Install gtest libraries +cp %{__cmake_builddir}/%{_lib}/libgtest*so* %{buildroot}%{_libdir}/lld/ +%endif + +# Install libraries and binaries +pushd %{_vpath_builddir} %cmake_install +popd + + # This is generated by Patch1 during build and (probably) must be removed afterward rm %{buildroot}%{_includedir}/mach-o/compact_unwind_encoding.h @@ -130,13 +189,14 @@ fi %endif %check - cd %{_vpath_builddir} # armv7lhl tests disabled because of arm issue, see https://koji.fedoraproject.org/koji/taskinfo?taskID=33660162 %ifnarch %{arm} +%if %{with check} %cmake_build --target check-lld %endif +%endif %ldconfig_scriptlets libs @@ -148,8 +208,6 @@ cd %{_vpath_builddir} %{_bindir}/lld* %{_bindir}/ld.lld %{_bindir}/ld64.lld -%{_bindir}/ld64.lld.darwinnew -%{_bindir}/ld64.lld.darwinold %{_bindir}/wasm-ld %files devel @@ -160,7 +218,26 @@ cd %{_vpath_builddir} %files libs %{_libdir}/liblld*.so.* +%if %{with testpkg} +%files test +%{_libexecdir}/tests/lld/ +%{_libdir}/lld/ +%{_datadir}/lld/src/test.tar.gz +%{_datadir}/lld/src/%{_arch}.site.cfg.py +%{_datadir}/lld/src/%{_arch}.Unit.site.cfg.py +%{_datadir}/lld/lit.lld-test.cfg.py +%endif + %changelog +* Tue Jun 28 2022 Tom Stellard - 14.0.6-1 +- 14.0.6 Release + +* Fri May 06 2022 Timm Bäder - 14.0.0-2 +- Backport ignoring --no-add-needed + +* Thu Apr 07 2022 Timm Bäder - 14.0.0-1 +- Update to 14.0.0 + * Thu Feb 03 2022 Tom Stellard - 13.0.1-1 - 13.0.1 Release