#15 Remove RPATH usage
Closed 2 years ago by nikic. Opened 2 years ago by tbaeder.
rpms/ tbaeder/polly rawhide  into  rawhide

file modified
+6 -2
@@ -4,7 +4,7 @@ 

  

  Name: polly

  Version: %{polly_version}%{?rc_ver:~rc%{rc_ver}}

- Release: 1%{?dist}

+ Release: 2%{?dist}

  Summary: LLVM Framework for High-Level Loop and Data-Locality Optimizations

  

  License: NCSA
@@ -66,6 +66,7 @@ 

  

  %cmake 	-GNinja \

  	-DCMAKE_BUILD_TYPE=RelWithDebInfo \

+ 	-DCMAKE_SKIP_RPATH:BOOL=ON \

  	-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \

  	-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \

  	-DCMAKE_PREFIX_PATH=%{_libdir}/cmake/llvm/ \
@@ -91,7 +92,7 @@ 

  cp -r %{_vpath_builddir}/docs/html/* %{buildroot}%{_pkgdocdir}/html/

  

  %check

- %cmake_build --target check-polly

+ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} %{__ninja} check-polly -C %{__cmake_builddir}

  

  %files

  %license LICENSE.TXT
@@ -108,6 +109,9 @@ 

  %doc %{_pkgdocdir}/html

  

  %changelog

+ * Fri Jul 01 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.5-2

+ - Remove RPATH usage

+ 

  * Wed Jun 22 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.5-1

  - Update to 14.0.5

  

Untested since my side-tag seems to be unusable now

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

You probably need to adjust LD_LIBRARy_PATH when running the test then, see https://kojipkgs.fedoraproject.org//work/tasks/4757/88954757/build.log

rebased onto c95d2fc

2 years ago

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging src.fedoraproject.org/rpms/polly for 15,c95d2fc

Looks like I implemented the same thing during the LLVM 15 upgrade.

Pull-Request has been closed by nikic

2 years ago
Metadata