Browse Source

updated 6 packages

clang-13.0.0-1

compiler-rt-13.0.0-1

lld-13.0.0-1

lldb-13.0.0-1

llvm-13.0.0-1

libomp-13.0.0-1
Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
a8056a276d

+ 21 - 7
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:        12.0.1
+Version:        13.0.0
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -32,8 +32,9 @@ Source11:   clang-config.h
 Patch0:     0001-PATCH-clang-Reorganize-gtest-integration.patch
 Patch1:     0002-PATCH-clang-Make-funwind-tables-the-default-on-all-a.patch
 Patch2:     0003-PATCH-clang-Don-t-install-static-libraries.patch
-Patch3:     0004-PATCH-clang-Prefer-gcc-toolchains-with-libgcc_s.so-w.patch
-Patch5:     0006-PATCH-clang-Allow-__ieee128-as-an-alias-to-__float12.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
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
@@ -222,6 +223,9 @@ rm -fv %{buildroot}%{_libdir}/libclang*.a
 mkdir -p %{buildroot}%{python3_sitelib}/clang/
 install -p -m644 bindings/python/clang/* %{buildroot}%{python3_sitelib}/clang/
 
+# install scanbuild-py to python sitelib.
+mv %{buildroot}%{_prefix}/lib/{libear,libscanbuild} %{buildroot}%{python3_sitelib}
+
 mv -v %{buildroot}%{_includedir}/clang/Config/config{,-%{__isa_bits}}.h
 install -m 0644 %{SOURCE11} %{buildroot}%{_includedir}/clang/Config/config.h
 
@@ -289,16 +293,22 @@ rm -rf %{buildroot}
 
 %files analyzer
 %defattr(-,root,root,-)
+%{_bindir}/analyze-build
+%{_bindir}/intercept-build
 %{_bindir}/scan-build
+%{_bindir}/scan-build-py
 %{_bindir}/scan-view
-#%{_libdir}/CheckerDependencyHandlingAnalyzerPlugin.so
-#%{_libdir}/CheckerOptionHandlingAnalyzerPlugin.so
-#%{_libdir}/SampleAnalyzerPlugin.so
 %{_libexecdir}/ccc-analyzer
 %{_libexecdir}/c++-analyzer
+%{_libexecdir}/analyze-c++
+%{_libexecdir}/analyze-cc
+%{_libexecdir}/intercept-c++
+%{_libexecdir}/intercept-cc
 %{_datadir}/scan-view
 %{_datadir}/scan-build
 %{_mandir}/man1/scan-build.1.*
+%{python3_sitelib}/libear
+%{python3_sitelib}/libscanbuild
 
 %files -n python3-clang
 %{python3_sitelib}/clang/
@@ -316,12 +326,16 @@ rm -rf %{buildroot}
 %{_bindir}/hmaptool
 %{_bindir}/modularize
 %{_bindir}/pp-trace
+%{_bindir}/run-clang-tidy
 %{_datadir}/clang/clang-tidy-diff.py*
-%{_datadir}/clang/run-clang-tidy.py*
 %{_datadir}/clang/run-find-all-symbols.py*
 
 
 %changelog
+* Fri Oct 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.0.0-1
+- new upstream release.
+- refreshed patches.
+
 * Wed Aug 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.0.1-1
 - new upstream release.
 - refreshed patches.

+ 4 - 1
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:        12.0.1
+Version:        13.0.0
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -111,6 +111,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Fri Oct 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.0.0-1
+- new upstream release.
+
 * Wed Aug 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.0.1-1
 - new upstream release.
 

+ 5 - 1
l/lld/lld-vl.spec

@@ -9,7 +9,7 @@
 Summary:        The LLVM Linker
 Summary(ja):    LLVMリンカー
 Name:           lld
-Version:        12.0.1
+Version:        13.0.0
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -147,6 +147,7 @@ fi
 %{_bindir}/ld.lld
 %{_bindir}/ld64.lld
 %{_bindir}/ld64.lld.darwinnew
+%{_bindir}/ld64.lld.darwinold
 %{_bindir}/wasm-ld
 %ghost %{_bindir}/ld
 
@@ -162,6 +163,9 @@ fi
 
 
 %changelog
+* Fri Oct 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.0.0-1
+- new upstream release.
+
 * Wed Aug 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.0.1-1
 - new upstream release.
 

+ 6 - 5
l/lldb/lldb-vl.spec

@@ -7,7 +7,7 @@
 Summary:        Next generation high-performance debugger
 Summary(ja):    高性能デバッガー
 Name:           lldb
-Version:        12.0.1
+Version:        13.0.0
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -18,8 +18,6 @@ URL:            https://llvm.org/
 Source0:        https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/lldb-%{version}.src.tar.xz
 
 # patches
-Patch0:         0001-PATCH-lldb-Portable-asm-ptrace.h-include.patch
-Patch1:         0002-PATCH-lldb-Support-DWARF-5-DW_FORM_line_strp-used-by.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
@@ -46,6 +44,7 @@ of reusable components which highly leverage existing libraries in the
 larger LLVM Project, such as the Clang expression parser and LLVM
 disassembler.
 
+
 %package devel
 Summary:        Header files for LLDB
 Summary(ja):    LLDB のヘッダファイル
@@ -121,8 +120,6 @@ ln -vsf "../../../${liblldb}" %{buildroot}%{python3_sitearch}/lldb/_lldb.so
 rm -f %{buildroot}%{python3_sitearch}/six.*
 
 
-
-
 %if %{with test}
 %check
 %endif
@@ -149,6 +146,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Fri Oct 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.0.0-1
+- new upstream release.
+- dropped all patches.
+
 * Wed Aug 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.0.1-1
 - new upstream release.
 

+ 13 - 2
l/llvm/llvm-vl.spec

@@ -15,10 +15,18 @@
 
 %define _unpackaged_files_terminate_build 1
 
+# build order of LLVM family.
+# llvm
+# clang
+# lld
+# compiler-rt
+# lldb
+# libomp
+
 Summary:        The Low Level Virtual Machine
 Summary(ja):    LLVM - 低レベルバーチャルマシン
 Name:           llvm
-Version:        12.0.1
+Version:        13.0.0
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -32,7 +40,6 @@ Source0:        https://github.com/llvm/llvm-project/releases/download/llvmorg-%
 Source10:        llvm-config.h
 
 # patches
-Patch0:         0001-PATCH-llvm-Make-source-interleave-prefix-test-case-c.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
@@ -295,6 +302,10 @@ exit 0
 
 
 %changelog
+* Fri Oct 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.0.0-1
+- new upstream release.
+- dropped Patch0.
+
 * Wed Aug 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.0.1-1
 - new upstream release.
 

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

@@ -7,7 +7,7 @@
 Summary:        OpenMP runtime for clang
 Summary(ja):    clang用OpenMPランタイム
 Name:           libomp
-Version:        12.0.1
+Version:        13.0.0
 Release:        1%{?_dist_release}
 Group:          system
 Vendor:         Project Vine
@@ -25,13 +25,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires:  cmake
 BuildRequires:  ninja
 BuildRequires:  libffi-devel >= 3.3
-#BuildRequires:  perl
-#BuildRequires:  perl-Data-Dumper
-#BuildRequires:  perl-Encode
-
-# LLVM is not supported on PPC64
-# http://llvm.org/bugs/show_bug.cgi?id=3729
-ExcludeArch:    ppc64
+BuildRequires:  elfutils-libelf-devel
+# The AMDGCN device RTL requires clang and llvm-link to build
+BuildRequires:  clang
+BuildRequires:  llvm
+# libomptarget needs the llvm cmake files
+BuildRequires:  llvm-devel
+BuildRequires:  llvm-static
 
 %description
 The package contains the OpenMP runtime for clang.
@@ -92,18 +92,29 @@ rm -rf %{buildroot}
 
 
 %files
-%license LICENSE.txt
+%license LICENSE.TXT
 %{_libdir}/libarcher.so
 %{_libdir}/libomp.so
+%{_libdir}/libomptarget.so
+%ifnarch %{ix86} %{arm}
+%{_libdir}/libomptarget-amdgcn*.bc
+%{_libdir}/libomptarget.rtl.amdgpu.so
+%{_libdir}/libomptarget.rtl.cuda.so
+%{_libdir}/libomptarget.rtl.%{_arch}.so
+%endif
 
 %files devel
 %{_libdir}/clang/%{version}/include/omp.h
 %{_libdir}/clang/%{version}/include/omp-tools.h
 %{_libdir}/clang/%{version}/include/ompt.h
 %{_includedir}/ompt-multiplex.h
+%{_libdir}/cmake/openmp/FindOpenMPTarget.cmake
 
 
 %changelog
+* Fri Oct 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.0.0-1
+- new upstream release.
+
 * Wed Aug 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.0.1-1
 - new upstream release.