From d7ccaa55e9cf643f71d0a4b4ba2641ff3eaeae0a Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 26 Mar 2019 21:08:17 +0000 Subject: [PATCH] Fix ninja check --- llvm.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/llvm.spec b/llvm.spec index e3f921c..045a6f5 100644 --- a/llvm.spec +++ b/llvm.spec @@ -40,7 +40,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver} -Release: 2%{?rc_ver:.rc%{rc_ver}}%{?dist} +Release: 3%{?rc_ver:.rc%{rc_ver}}%{?dist} Summary: The Low Level Virtual Machine License: NCSA @@ -338,7 +338,10 @@ rm -Rf %{build_install_prefix}/share/opt-viewer %check -ninja check-all -C _build || : +# We have disabled rpath, so we need to add the build's library directory +# to LD_LIBRARY_PATH. +LD_LIBRARY_PATH=`pwd`/_build/%{_lib}:$LD_LIBRARY_PATH \ + ninja check-all -C _build || : %ldconfig_scriptlets libs @@ -451,6 +454,9 @@ fi %endif %changelog +* Tue Mar 26 2019 Tom Stellard - 8.0.0-3 +- Fix ninja check + * Fri Mar 22 2019 Tom Stellard - 8.0.0-2 - llvm-test fixes