瀏覽代碼

updated 6 packages

clang-18.1.5-1

compiler-rt-18.1.5-1

lld-18.1.5-1

lldb-18.1.5-1

llvm-18.1.5-1

libomp-18.1.5-1
Tomohiro "Tomo-p" KATO 9 月之前
父節點
當前提交
42873be726
共有 6 個文件被更改,包括 62 次插入44 次删除
  1. 12 13
      c/clang/clang-vl.spec
  2. 4 1
      c/compiler-rt/compiler-rt-vl.spec
  3. 5 2
      l/lld/lld-vl.spec
  4. 4 1
      l/lldb/lldb-vl.spec
  5. 32 26
      l/llvm/llvm-vl.spec
  6. 5 1
      lib/libo/libomp/libomp-vl.spec

+ 12 - 13
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:        17.0.2
+Version:        18.1.5
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -31,17 +31,14 @@ Source11:   clang-config.h
 # Patches for clang
 Patch1:     0001-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
-# Drop the following patch after debugedit adds support to DWARF-5:
-# https://sourceware.org/bugzilla/show_bug.cgi?id=28728
-Patch4:     0001-Produce-DWARF4-by-default.patch
+
 # Workaround a bug in ORC on ppc64le.
 # More info is available here: https://reviews.llvm.org/D159115#4641826
 Patch5:     0001-Workaround-a-bug-in-ORC-on-ppc64le.patch
 
 # RHEL specific patches
-# Avoid unwanted dependency on python-recommonmark
-Patch101:  0009-disable-recommonmark.patch
+# Avoid unwanted dependency on python-myst-parser
+Patch101:  0009-disable-myst-parser.patch
 
 %if %{without compat_build}
 # Patches for clang-tools-extra
@@ -200,23 +197,22 @@ sed -i -e 's/"x86_64-linux-gnu",/"x86_64-linux-gnu","x86_64-vine-linux","x86_64-
     -DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
     -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
 %endif
-    -DCLANG_INCLUDE_DOCS:BOOL=ON \
-    -DCLANG_INCLUDE_TESTS:BOOL=OFF \
-    -DLLVM_BUILD_UTILS:BOOL=ON \
-    -DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../clang-tools-extra-%{version}.src \
     -DLLVM_CMAKE_DIR=%{_libdir}/cmake/llvm \
-    -DLLVM_MAIN_SRC_DIR=%{_datadir}/llvm/src \
 %if 0%{?__isa_bits} == 64
     -DLLVM_LIBDIR_SUFFIX=64 \
 %else
     -DLLVM_LIBDIR_SUFFIX= \
 %endif
+    -DCLANG_INCLUDE_TESTS:BOOL=OFF \
+    -DLLVM_BUILD_UTILS:BOOL=ON \
+    -DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../clang-tools-extra-%{version}.src \
+    -DLLVM_MAIN_SRC_DIR=%{_datadir}/llvm/src \
     \
     -DLLVM_TABLEGEN_EXE:FILEPATH=%{_bindir}/llvm-tblgen \
     -DLLVM_COMMON_CMAKE_UTILS=%{_datadir}/llvm/cmake \
-    -DLLVM_CMAKE_DIR=%{_libdir}/cmake/llvm \
     -DCLANG_ENABLE_ARCMT:BOOL=ON \
     -DCLANG_ENABLE_STATIC_ANALYZER:BOOL=ON \
+    -DCLANG_INCLUDE_DOCS:BOOL=ON \
     -DCLANG_PLUGIN_SUPPORT:BOOL=OFF \
     -DLLVM_ENABLE_PLUGINS:BOOL=OFF \
     -DENABLE_LINKER_BUILD_ID:BOOL=ON \
@@ -364,6 +360,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sat May 04 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 18.1.5-1
+- new upstream release.
+
 * Sat Oct 07 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 17.0.2-1
 - new upstream release.
 

+ 4 - 1
c/compiler-rt/compiler-rt-vl.spec

@@ -15,7 +15,7 @@
 Summary:        LLVM "compiler-rt" runtime libraries
 Summary(ja):    LLVM "compiler-rt" ランタイムライブラリ
 Name:           compiler-rt
-Version:        17.0.2
+Version:        18.1.5
 %define         shortver %(echo %{version} | cut -d. -f1)
 Release:        1%{?_dist_release}
 Group:          programming
@@ -111,6 +111,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sat May 04 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 18.1.5-1
+- new upstream release.
+
 * Sat Oct 07 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 17.0.2-1
 - new upstream release.
 

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

@@ -9,7 +9,7 @@
 Summary:        The LLVM Linker
 Summary(ja):    LLVMリンカー
 Name:           lld
-Version:        17.0.2
+Version:        18.1.5
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -31,7 +31,7 @@ BuildRequires:  ninja
 BuildRequires:  llvm-devel
 BuildRequires:  llvm-static
 BuildRequires:  ncurses-devel
-BuildRequires:  zlib-devel
+BuildRequires:  zlib-ng-compat-devel
 
 Requires:       lld-libs = %{version}-%{release}
 Requires(post): alternatives
@@ -166,6 +166,9 @@ fi
 
 
 %changelog
+* Sat May 04 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 18.1.5-1
+- new upstream release.
+
 * Sat Oct 07 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 17.0.2-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:        17.0.2
+Version:        18.1.5
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -148,6 +148,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sat May 04 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 18.1.5-1
+- new upstream release.
+
 * Sat Oct 07 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 17.0.2-1
 - new upstream release.
 

+ 32 - 26
l/llvm/llvm-vl.spec

@@ -13,6 +13,8 @@
 # Documentation install path
 %global llvmdocdir() %{_docdir}/%1-%{version}
 
+%global llvm_triple %{_target_platform}
+
 %define _unpackaged_files_terminate_build 1
 
 # build order of LLVM family.
@@ -26,7 +28,7 @@
 Summary:        The Low Level Virtual Machine
 Summary(ja):    LLVM - 低レベルバーチャルマシン
 Name:           llvm
-Version:        17.0.2
+Version:        18.1.5
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -93,18 +95,6 @@ Obsoletes:      %{name}-doc < %{version}-%{release}
 Documentation for the LLVM compiler infrastructure.
 
 
-%package libs-extras
-Summary:        extra files of LLVM shared libraries
-Summary(ja):    LLVM 共有ライブラリの追加ファイル
-Group:          system
-Requires:       %{name} = %{version}-%{release}
-Requires:       llvm%{ver_suffix}-libs = %{version}-%{release}
-
-%description libs-extras
- This package contains extra files of shared libraries for the LLVM
-compiler infrastructure.
-
-
 %package -n llvm%{ver_suffix}-libs
 Summary:        LLVM shared libraries
 Summary(ja):    LLVM 共有ライブラリ
@@ -115,6 +105,8 @@ Obsoletes:      llvm15-libs < 16.0.0
 Obsoletes:      llvm14-libs < 15.0.0
 Obsoletes:      llvm13-libs < 14.0.0
 Obsoletes:      llvm12-libs < 13.0.0
+Obsoletes:      llvm-libs-extras < 18.0.0
+Provides:       llvm-libs-extras = %{version}-%{release}
 
 %description -n llvm%{ver_suffix}-libs
 Shared libraries for the LLVM compiler infrastructure.
@@ -178,6 +170,9 @@ pathfix%{python3_version}.py -i %{__python3} -pn \
 %global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
 %endif
 
+# Copy CFLAGS into ASMFLAGS, so -fcf-protection is used when compiling assembly files.
+export ASMFLAGS="%{build_cflags}"
+
 %cmake \
         -GNinja \
         -DBUILD_SHARED_LIBS:BOOL=OFF \
@@ -209,15 +204,14 @@ pathfix%{python3_version}.py -i %{__python3} -pn \
         \
         -DLLVM_INCLUDE_TESTS:BOOL=ON \
         -DLLVM_BUILD_TESTS:BOOL=ON \
+        -DLLVM_LIT_ARGS=-v \
         \
         -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} \
+        -DLLVM_UTILS_INSTALL_DIR:PATH=bin \
         -DLLVM_TOOLS_INSTALL_DIR:PATH=bin \
         \
         -DLLVM_INCLUDE_DOCS:BOOL=ON \
@@ -227,13 +221,23 @@ pathfix%{python3_version}.py -i %{__python3} -pn \
 %else
         -DLLVM_ENABLE_DOXYGEN:BOOL=OFF \
 %endif
+        -DLLVM_UNREACHABLE_OPTIMIZE:BOOL=ON \
         -DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
         -DLLVM_DYLIB_EXPORT_ALL:BOOL=ON \
         -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
         -DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \
         -DLLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF \
+        -DLLVM_DEFAULT_TARGET_TRIPLE=%{llvm_triple} \
         \
         -DLLVM_OPTIMIZED_TABLEGEN:BOOL=ON \
+        \
+        -DLLVM_INCLUDE_BENCHMARKS=OFF \
+%if %{with lto_build}
+        -DLLVM_UNITTEST_LINK_FLAGS="-Wl,-plugin-opt=O0" \
+%endif
+%ifarch x86_64
+        -DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS -Wl,-z,cet-report=error"
+%endif
 
 # Build libLLVM.so first.  This ensures that when libLLVM.so is linking, there
 # are no other compile jobs running.  This will help reduce OOM errors on the
@@ -293,25 +297,23 @@ exit 0
 
 %files
 %defattr(-,root,root,-)
+%license LICENSE.TXT
 %doc CREDITS.TXT README.txt
 %{_bindir}/*
 %exclude %{_bindir}/llvm-config
 %exclude %{_bindir}/llvm-config-%{__isa_bits}
-%doc %{_mandir}/man1/*
+#doc %{_mandir}/man1/*
 %{_datadir}/opt-viewer
 
-%files libs-extras
-%{_libdir}/libLTO.so
-%{_libdir}/libRemarks.so
-%{_libdir}/LLVMgold.so
-%{_libdir}/bfd-plugins/LLVMgold.so
-
 %files -n llvm%{ver_suffix}-libs
 %defattr(-,root,root,-)
 %license LICENSE.TXT
+%{_libdir}/libLLVM.so.*
 %{_libdir}/libLLVM-*.so
-%{_libdir}/libLTO.so.*
-%{_libdir}/libRemarks.so.*
+%{_libdir}/libLTO.so*
+%{_libdir}/libRemarks.so*
+%{_libdir}/LLVMgold.so
+%{_libdir}/bfd-plugins/LLVMgold.so
 
 %files devel
 %defattr(-,root,root,-)
@@ -335,12 +337,16 @@ exit 0
 %files -n compat32-%{name}%{ver_suffix}-libs
 %defattr(-,root,root)
 %license LICENSE.TXT
+%{_libdir}/libLLVM.so.*
 %{_libdir}/libLLVM-*.so
-%{_libdir}/libRemarks.so.*
+%{_libdir}/libRemarks.so*
 %endif
 
 
 %changelog
+* Sat May 04 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 18.1.5-1
+- new upstream release.
+
 * Fri Oct 06 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 17.0.2-1
 - new upstream release.
 

+ 5 - 1
lib/libo/libomp/libomp-vl.spec

@@ -7,7 +7,7 @@
 Summary:        OpenMP runtime for clang
 Summary(ja):    clang用OpenMPランタイム
 Name:           libomp
-Version:        17.0.2
+Version:        18.1.5
 %define         shortver %(echo %{version} | cut -d. -f1)
 Release:        1%{?_dist_release}
 Group:          system
@@ -110,6 +110,7 @@ rm -rf %{buildroot}
 %{_libdir}/libomptarget.devicertl.a
 %endif
 %{_libdir}/clang/%{shortver}/include/omp.h
+%{_libdir}/clang/%{shortver}/include/ompx.h
 %{_libdir}/clang/%{shortver}/include/omp-tools.h
 %{_libdir}/clang/%{shortver}/include/ompt.h
 %{_libdir}/clang/%{shortver}/include/ompt-multiplex.h
@@ -122,6 +123,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sat May 04 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 18.1.5-1
+- new upstream release.
+
 * Sat Oct 07 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 17.0.2-1
 - new upstream release.