diff --git a/llvm-10.0.1.src.tar.xz b/llvm-12.0.1.src.tar.xz similarity index 68% rename from llvm-10.0.1.src.tar.xz rename to llvm-12.0.1.src.tar.xz index 973b4a99fa98aaa4c7637c4be6e6fd04de141392..df971f7be1c5fe1b323a3692a92ba695a6ed326b 100644 Binary files a/llvm-10.0.1.src.tar.xz and b/llvm-12.0.1.src.tar.xz differ diff --git a/llvm.spec b/llvm.spec index ba5c50cbee3144272cfd2ce5a3710c68eaac304a..ad631954e11b87cbdcf093f603f5d6b03218d3ff 100644 --- a/llvm.spec +++ b/llvm.spec @@ -1,6 +1,6 @@ Name: llvm -Version: 10.0.1 -Release: 4 +Version: 12.0.1 +Release: 1 Summary: The Low Level Virtual Machine License: NCSA URL: http://llvm.org @@ -8,7 +8,7 @@ Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{versio BuildRequires: gcc gcc-c++ cmake ninja-build zlib-devel libffi-devel ncurses-devel libstdc++-static BuildRequires: python3-sphinx binutils-devel valgrind-devel libedit-devel python3-devel -BuildRequires: python3-recommonmark +BuildRequires: python3-recommonmark llvm-libs %description LLVM is a compiler infrastructure designed for compile-time, link-time, @@ -153,6 +153,10 @@ mkdir -p %{buildroot}%{_libdir}/%{name} cp -R _build/unittests %{buildroot}%{_libdir}/%{name}/ find %{buildroot}%{_libdir}/%{name} -ignore_readdir_race -iname 'cmake*' -exec rm -Rf '{}' ';' || true +#TODO: clang rust mesa packages will be unresolvable without this work-around +cp -p %{_libdir}/libLLVM-10*.so %{buildroot}%{_libdir} +cp -p %{_libdir}/libLTO.so.10 %{buildroot}%{_libdir} + %check cd _build ninja check-all || : @@ -196,6 +200,12 @@ fi %{_mandir}/man1/* %changelog +* Mon Dec 13 2021 zoulin - 12.0.1-1 +- Type: enhancement +- ID: NA +- SUG: NA +- DESC: Update version to 12.0.1 + * Wed Sep 8 2021 zhangruifang - 10.0.1-4 - Type: enhancement - ID: NA