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 c2eab08956bdf3227dcba75bcf9f89fdacc1b5c7..b563f65def35815bef3974e0f38df74cd7f5d893 100644 --- a/llvm.spec +++ b/llvm.spec @@ -1,6 +1,6 @@ Name: llvm -Version: 10.0.1 -Release: 4 +Version: 12.0.1 +Release: 2 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, @@ -66,7 +66,7 @@ cd _build -DBUILD_SHARED_LIBS:BOOL=OFF \ -DLLVM_PARALLEL_LINK_JOBS=1 \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_INSTALL_RPATH=";" \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ -DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \ %if 0%{?__isa_bits} == 64 @@ -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 || : @@ -199,6 +203,18 @@ fi * Wed Oct 15 2021 zhangweiguo - 10.0.1-4 - Disabe DLLVM_BUILD_TEST +* 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 +- SUG: NA +- DESC: Remove rpath + * Wed Oct 14 2020 Hugel - 10.0.1-3 - Type: enhancement - ID: NA