diff --git a/.gitignore b/.gitignore index 1c7c914..715ed53 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,5 @@ /llvm-project-12.0.1rc3.src.tar.xz.sig /llvm-project-12.0.1.src.tar.xz /llvm-project-12.0.1.src.tar.xz.sig +/llvm-project-13.0.0rc1.src.tar.xz +/llvm-project-13.0.0rc1.src.tar.xz.sig diff --git a/mlir.spec b/mlir.spec index 02a2f28..8dad793 100644 --- a/mlir.spec +++ b/mlir.spec @@ -1,13 +1,13 @@ -#global rc_ver 3 -%global maj_ver 12 +%global rc_ver 1 +%global maj_ver 13 %global min_ver 0 -%global patch_ver 1 +%global patch_ver 0 %global mlir_version %{maj_ver}.%{min_ver}.%{patch_ver} %global mlir_srcdir llvm-project-%{mlir_version}%{?rc_ver:rc%{rc_ver}}.src Name: mlir Version: %{mlir_version}%{?rc_ver:~rc%{rc_ver}} -Release: 2%{?dist} +Release: 1%{?dist} Summary: Multi-Level Intermediate Representation Overview License: ASL 2.0 with exceptions @@ -16,8 +16,8 @@ Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{versio Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{mlir_srcdir}.tar.xz.sig Source2: tstellar-gpg-key.asc -Patch0: 0001-PATCH-mlir-Support-building-MLIR-standalone.patch -Patch1: 0002-PATCH-mlir-Fix-building-unittests-in-in-tree-build.patch +#Patch0: 0001-PATCH-mlir-Support-building-MLIR-standalone.patch +#Patch1: 0002-PATCH-mlir-Fix-building-unittests-in-in-tree-build.patch # Unexpected linking error: neither -j1, disabling lto, LD_LIBRARY_PATH, rpath work ExcludeArch: armv7hl @@ -39,16 +39,8 @@ improve compilation for heterogeneous hardware, significantly reduce the cost of building domain specific compilers, and aid in connecting existing compilers together. -%package static -Summary: MLIR static files -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description static -MLIR static files. - %package devel Summary: MLIR development files -Requires: %{name}-static%{?_isa} = %{version}-%{release} %description devel MLIR development files. @@ -83,24 +75,21 @@ export LD_LIBRARY_PATH=%{_builddir}/%{mlir_srcdir}/%{name}/%{_build}/%{_lib} %install %cmake_install +# Remove static libraries: +rm -Rf %{buildroot}%{_libdir}/*.a + %check # build process .exe tools normally use rpath or static linkage %cmake_build --target check-mlir || true %files %license LICENSE.TXT -%{_libdir}/libMLIR*.so.%{maj_ver}* %{_libdir}/libmlir_runner_utils.so.%{maj_ver}* %{_libdir}/libmlir_c_runner_utils.so.%{maj_ver}* %{_libdir}/libmlir_async_runtime.so.%{maj_ver}* -%files static -%{_libdir}/libMLIR*.a -%{_libdir}/libmlir_c_runner_utils_static.a - %files devel %{_bindir}/mlir-tblgen -%{_libdir}/libMLIR*.so %{_libdir}/libmlir_runner_utils.so %{_libdir}/libmlir_c_runner_utils.so %{_libdir}//libmlir_async_runtime.so @@ -109,6 +98,9 @@ export LD_LIBRARY_PATH=%{_builddir}/%{mlir_srcdir}/%{name}/%{_build}/%{_lib} %{_libdir}/cmake/mlir %changelog +* Mon Aug 09 2021 Tom Stellard - 13.0.0~rc1-1 +- 13.0.0-rc1 Release + * Thu Jul 22 2021 Fedora Release Engineering - 12.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 47eb830..4b47f6b 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (llvm-project-12.0.1.src.tar.xz) = 00957a1f12d6fdf7c436bc38c3a07d34d5d367e66202f65f0c22fd2896110dea134b60ff44144c9234a02c77b9a5f1d5f75b329e952da42602c6aa33fefe52d2 -SHA512 (llvm-project-12.0.1.src.tar.xz.sig) = b3326e2c0138eee2d633edfc6f7dd9a3f9a73059e8563d124bd8b3b8e1f8c40bfec0cfa39ddd9d1a92bcd9c6caa04df7c92fa9c6fc1fd2dd8895685246a83c4e +SHA512 (llvm-project-13.0.0rc1.src.tar.xz) = cebd9ee91121b3aeac0d5f1417a6997bbcb2a73902406a536a78fc428bc5c53d8140550d921830753b52491cdeee0dada4649e8b5b34f60c2b86582151407480 +SHA512 (llvm-project-13.0.0rc1.src.tar.xz.sig) = 2868a341229437b1f1d039552c9fcab2215ce20749cc1a7b8e597373ce10461292965ba53ccf7cc1be4692e1ff98cad6e4ec27b6af7b4af3f31e06b6797d5f58