[PATCH] D138066: [BOLT-TESTS] Follow-up to D131919

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 15 14:45:08 PST 2022


Amir created this revision.
Amir added a reviewer: bolt.
Herald added a reviewer: rafauler.
Herald added a subscriber: ayermolo.
Herald added a reviewer: maksfb.
Herald added a project: All.
Amir requested review of this revision.
Herald added subscribers: llvm-commits, yota9.
Herald added a project: LLVM.

googletest was moved to third-party. Update path in BOLT's CMakeCache.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138066

Files:
  bolt/CMakeLists.txt


Index: bolt/CMakeLists.txt
===================================================================
--- bolt/CMakeLists.txt
+++ bolt/CMakeLists.txt
@@ -76,7 +76,7 @@
 add_subdirectory(tools)
 
 if (BOLT_INCLUDE_TESTS)
-  if (EXISTS ${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest/include/gtest/gtest.h)
+  if (EXISTS ${LLVM_THIRD_PARTY_DIR}/unittest/googletest/include/gtest/gtest.h)
     add_subdirectory(unittests)
     list(APPEND BOLT_TEST_DEPS BoltUnitTests)
   endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138066.475587.patch
Type: text/x-patch
Size: 469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221115/532a258a/attachment.bin>


More information about the llvm-commits mailing list