Skip to content

Commit e72d233

Browse files
committed
Don't use LD_LIBRARY_PATH when running tests
This is no longer needed now that we use rpath during the build. Using LD_LIBRARY_PATH causes us to load the wrong libclang.so if system clang is invoked during the tests, which happens in the mlir tests.
1 parent 6ef3ed7 commit e72d233

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm.spec

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1771,9 +1771,6 @@ cd llvm
17711771
# Call this function before setting up a next component to test.
17721772
function reset_test_opts()
17731773
{
1774-
# Some libraries will not be found if we don't set this
1775-
export LD_LIBRARY_PATH="%{buildroot}/%{install_libdir}:%{buildroot}/%{_libdir}";
1776-
17771774
# See https://llvm.org/docs/CommandGuide/lit.html#general-options
17781775
export LIT_OPTS="-vv --time-tests"
17791776

0 commit comments

Comments
 (0)