Browse Source

updated 6 packages

clang-14.0.5-1

compiler-rt-14.0.5-1

lld-14.0.5-1

lldb-14.0.5-1

llvm-14.0.5-1

libomp-14.0.5-1
Tomohiro "Tomo-p" KATO 1 month ago
parent
commit
81897c3d77

+ 34 - 8
c/clang/clang-vl.spec

@@ -14,7 +14,7 @@
 Summary:        A C language family front-end for LLVM
 Summary(ja):    LLVM の C 言語フロントエンド
 Name:           clang
-Version:        13.0.1
+Version:        14.0.5
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -34,7 +34,17 @@ Patch1:     0002-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch
 Patch2:     0003-PATCH-clang-Don-t-install-static-libraries.patch
 Patch3:     0001-Driver-Add-a-gcc-equivalent-triple-to-the-list-of-tr.patch
 Patch4:     0001-cmake-Allow-shared-libraries-to-customize-the-soname.patch
-Patch5:     0001-PATCH-clang-Fix-scan-build-py-executable-lookup-path.patch
+# This patch can be dropped once gcc-12.0.1-0.5.fc36 is in the repo.
+Patch5:     0001-Work-around-gcc-miscompile.patch
+Patch7:     0010-PATCH-clang-Produce-DWARF4-by-default.patch
+
+# Patches for clang-tools-extra
+# See https://reviews.llvm.org/D120301
+Patch201:   llvm-hello.patch
+# See https://github.com/llvm/llvm-project/issues/54116
+Patch202:   remove-test.patch
+
+
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
@@ -136,12 +146,17 @@ A set of extra tools built using Clang's tooling API.
 %setup -T -q -b 1 -n clang-tools-extra-%{version}.src
 %autopatch -m200 -p2
 
+# This test is broken upstream. It is a clang-tidy unittest
+# that includes a file from clang, breaking standalone builds.
+# https://github.com/llvm/llvm-project/issues/54116
+rm unittests/clang-tidy/ReadabilityModuleTest.cpp
+
 # failing test case
 rm test/clang-tidy/checkers/altera-struct-pack-align.cpp
 
 pathfix%{python3_version}.py -i %{__python3} -pn \
-    clang-tidy/tool/*.py \
-    clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
+	clang-tidy/tool/*.py \
+	clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
 
 %setup -q -n clang-%{version}.src
 %autopatch -M200 -p2
@@ -150,10 +165,14 @@ pathfix%{python3_version}.py -i %{__python3} -pn \
 rm test/CodeGen/profile-filter.c
 
 pathfix%{python3_version}.py -i %{__python3} -pn \
-    tools/clang-format/*.py \
-    tools/clang-format/git-clang-format \
-    utils/hmaptool/hmaptool \
-    tools/scan-view/bin/scan-view
+	tools/clang-format/*.py \
+	tools/clang-format/git-clang-format \
+	utils/hmaptool/hmaptool \
+	tools/scan-view/bin/scan-view \
+	tools/scan-view/share/Reporter.py \
+	tools/scan-view/share/startfile.py \
+	tools/scan-build-py/bin/* \
+	tools/scan-build-py/libexec/*
 
 sed -i -e 's/"i686-linux-gnu",/"i686-linux-gnu","i686-vine-linux","i686-vine-linux-gnu",/' lib/Driver/ToolChains/Gnu.cpp
 sed -i -e 's/"x86_64-linux-gnu",/"x86_64-linux-gnu","x86_64-vine-linux","x86_64-vine-linux-gnu",/' lib/Driver/ToolChains/Gnu.cpp
@@ -176,6 +195,7 @@ sed -i -e 's/"ld"/"ld.gold"/' include/clang/Driver/ToolChain.h
     -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
     -DCMAKE_BUILD_TYPE=Release \
     -DPYTHON_EXECUTABLE=%{__python3} \
+    -DCMAKE_SKIP_RPATH:BOOL=ON \
     -DCMAKE_INSTALL_RPATH:BOOL=";" \
     -DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../clang-tools-extra-%{version}.src \
 %if 0%{?__isa_bits} == 64
@@ -332,6 +352,12 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Jun 15 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.0.5-1
+- new upstream release.
+- dropped patch5.
+- updated Patch1.
+- imported Patch5-202 from rawhide.
+
 * Thu Feb 03 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.0.1-1
 - new upstream release.
 

+ 9 - 2
c/compiler-rt/compiler-rt-vl.spec

@@ -9,7 +9,7 @@
 Summary:        LLVM "compiler-rt" runtime libraries
 Summary(ja):    LLVM "compiler-rt" ランタイムライブラリ
 Name:           compiler-rt
-Version:        13.0.1
+Version:        14.0.5
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -20,7 +20,7 @@ URL:            https://llvm.org/
 Source0:        https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/compiler-rt-%{version}.src.tar.xz
 
 # patches
-Patch0:         0001-PATCH-compiler-rt-Workaround-libstdc-limitation-wrt..patch
+Patch0:         add-llvm-cmake-package.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
@@ -56,7 +56,9 @@ pathfix%{python3_version}.py -i %{__python3} -pn lib/hwasan/scripts/hwasan_symbo
 %cmake \
         -GNinja \
         -DCMAKE_BUILD_TYPE=Release \
+        -DLLVM_CONFIG_PATH:FILEPATH=%{_bindir}/llvm-config-%{__isa_bits} \
         -DCMAKE_INSTALL_RPATH=";" \
+        -DCMAKE_SKIP_RPATH:BOOL=ON \
 %if 0%{?__isa_bits} == 64
         -DLLVM_LIBDIR_SUFFIX=64 \
 %else
@@ -111,6 +113,11 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Jun 16 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.0.5-1
+- new upstream release.
+- dropped Patch0.
+- imported Patch0 from rawhide.
+
 * Thu Feb 03 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.0.1-1
 - new upstream release.
 

+ 4 - 3
l/lld/lld-vl.spec

@@ -9,7 +9,7 @@
 Summary:        The LLVM Linker
 Summary(ja):    LLVMリンカー
 Name:           lld
-Version:        13.0.1
+Version:        14.0.5
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -146,8 +146,6 @@ fi
 %{_bindir}/lld*
 %{_bindir}/ld.lld
 %{_bindir}/ld64.lld
-%{_bindir}/ld64.lld.darwinnew
-%{_bindir}/ld64.lld.darwinold
 %{_bindir}/wasm-ld
 %ghost %{_bindir}/ld
 
@@ -163,6 +161,9 @@ fi
 
 
 %changelog
+* Thu Jun 16 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.0.5-1
+- new upstream release.
+
 * Thu Feb 03 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.0.1-1
 - new upstream release.
 

+ 4 - 1
l/lldb/lldb-vl.spec

@@ -7,7 +7,7 @@
 Summary:        Next generation high-performance debugger
 Summary(ja):    高性能デバッガー
 Name:           lldb
-Version:        13.0.1
+Version:        14.0.5
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -146,6 +146,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Jun 16 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.0.5-1
+- new upstream release.
+
 * Thu Feb 03 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.0.1-1
 - new upstream release.
 

+ 6 - 1
l/llvm/llvm-vl.spec

@@ -26,7 +26,7 @@
 Summary:        The Low Level Virtual Machine
 Summary(ja):    LLVM - 低レベルバーチャルマシン
 Name:           llvm
-Version:        13.0.1
+Version:        14.0.5
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -181,6 +181,8 @@ pathfix%{python3_version}.py -i %{__python3} -pn \
         -DLLVM_INCLUDE_EXAMPLES:BOOL=ON \
         -DLLVM_BUILD_EXAMPLES:BOOL=OFF \
         \
+        -DLLVM_INCLUDE_BENCHMARKS=OFF \
+        \
         -DLLVM_INCLUDE_UTILS:BOOL=ON \
         -DLLVM_INSTALL_UTILS:BOOL=ON \
         -DLLVM_UTILS_INSTALL_DIR:PATH=%{_bindir} \
@@ -302,6 +304,9 @@ exit 0
 
 
 %changelog
+* Wed Jun 15 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.0.5-1
+- new upstream release.
+
 * Thu Feb 03 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.0.1-1
 - new upstream release.
 

+ 9 - 3
lib/libo/libomp/libomp-vl.spec

@@ -7,7 +7,7 @@
 Summary:        OpenMP runtime for clang
 Summary(ja):    clang用OpenMPランタイム
 Name:           libomp
-Version:        13.0.1
+Version:        14.0.5
 Release:        1%{?_dist_release}
 Group:          system
 Vendor:         Project Vine
@@ -61,13 +61,14 @@ The package contains the OpenMP header files.
 %cmake \
         -GNinja \
         -DLIBOMP_INSTALL_ALIASES=OFF \
+        -DLLVM_DIR=%{_libdir}/cmake/llvm \
         -DLIBOMP_HEADERS_INSTALL_PATH:PATH=%{_libdir}/clang/%{version}/include \
 %if 0%{?__isa_bits} == 64
         -DOPENMP_LIBDIR_SUFFIX=64 \
 %else
         -DOPENMP_LIBDIR_SUFFIX= \
 %endif
-        %{nil}
+        -DCMAKE_SKIP_RPATH:BOOL=ON
 
 %cmake_build
 
@@ -95,9 +96,10 @@ rm -rf %{buildroot}
 %license LICENSE.TXT
 %{_libdir}/libarcher.so
 %{_libdir}/libomp.so
+%{_libdir}/libompd.so
 %{_libdir}/libomptarget.so
 %ifnarch %{ix86} %{arm}
-%{_libdir}/libomptarget-amdgcn*.bc
+%{_libdir}/libomptarget-new-*.bc
 %{_libdir}/libomptarget.rtl.amdgpu.so
 %{_libdir}/libomptarget.rtl.cuda.so
 %{_libdir}/libomptarget.rtl.%{_arch}.so
@@ -112,6 +114,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Jun 16 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.0.5-1
+- new upstream release.
+- updated Patch0.
+
 * Thu Feb 03 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.0.1-1
 - new upstream release.