Update version to 12.0.1

This commit is contained in:
zou_lin77 2021-12-13 10:28:50 +08:00
parent 5755b23e3d
commit 9f3e80d2dd
2 changed files with 13 additions and 3 deletions

View File

@ -1,6 +1,6 @@
Name: llvm Name: llvm
Version: 10.0.1 Version: 12.0.1
Release: 4 Release: 1
Summary: The Low Level Virtual Machine Summary: The Low Level Virtual Machine
License: NCSA License: NCSA
URL: http://llvm.org 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: 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-sphinx binutils-devel valgrind-devel libedit-devel python3-devel
BuildRequires: python3-recommonmark BuildRequires: python3-recommonmark llvm-libs
%description %description
LLVM is a compiler infrastructure designed for compile-time, link-time, 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}/ cp -R _build/unittests %{buildroot}%{_libdir}/%{name}/
find %{buildroot}%{_libdir}/%{name} -ignore_readdir_race -iname 'cmake*' -exec rm -Rf '{}' ';' || true 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 %check
cd _build cd _build
ninja check-all || : ninja check-all || :
@ -196,6 +200,12 @@ fi
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Mon Dec 13 2021 zoulin <zoulin13@huawei.com> - 12.0.1-1
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: Update version to 12.0.1
* Wed Sep 8 2021 zhangruifang <zhangruifang1@huawei.com> - 10.0.1-4 * Wed Sep 8 2021 zhangruifang <zhangruifang1@huawei.com> - 10.0.1-4
- Type: enhancement - Type: enhancement
- ID: NA - ID: NA