From 74194348928c7bc97eb22144d21843457acaab0f Mon Sep 17 00:00:00 2001 From: cf-zhao Date: Thu, 13 Jul 2023 08:07:11 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!70=20:?= =?UTF-8?q?=20Export=20PATH=20and=20LD=5FLIBRARY=5FPATH=20when=20do=20test?= =?UTF-8?q?ing.'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- llvm.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/llvm.spec b/llvm.spec index d114b17..7e9d1b2 100644 --- a/llvm.spec +++ b/llvm.spec @@ -226,9 +226,7 @@ rm -Rf %{build_install_prefix}/share/opt-viewer %check %if %{with check} -export LD_LIBRARY_PATH=%{buildroot}/%{install_libdir} -export PATH=%{buildroot}/%{install_bindir}:$PATH -%{__ninja} check-all -C ./_build/ +LD_LIBRARY_PATH=%{buildroot}/%{install_libdir} %{__ninja} check-all -C ./_build/ %endif %ldconfig_scriptlets libs