From 9812a7f1ae65c5a81c5a6004291246c970979183 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 c2d7dfb..2b0c07b 100644 --- a/llvm.spec +++ b/llvm.spec @@ -344,9 +344,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/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/