From af2f73206e58ceb6a5c674a4cd6df22fc9e246bb Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Fri, 11 Nov 2022 10:19:50 +0000 Subject: [PATCH] bring back files to llvm-googletest package --- llvm.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/llvm.spec b/llvm.spec index 0d9ea9a..660b289 100644 --- a/llvm.spec +++ b/llvm.spec @@ -367,9 +367,12 @@ install %{build_libdir}/libLLVMTestingSupport.a %{buildroot}%{_libdir} %global install_srcdir %{buildroot}%{_datadir}/llvm/src -# Clang needs these for running lit tests. +# Install gtest sources so clang can use them for gtest install -d %{install_srcdir} install -d %{install_srcdir}/utils/ +cp -R %{third_party_srcdir}/unittest %{install_srcdir}/utils/ + +# Clang needs these for running lit tests. cp utils/update_cc_test_checks.py %{install_srcdir}/utils/ cp -R utils/UpdateTestChecks %{install_srcdir}/utils/