From 0bb09a6e224870f25b3d3809ccadc6ac58df6a73 Mon Sep 17 00:00:00 2001 From: Kris Kwiatkowski Date: Wed, 23 Jun 2021 08:13:08 +0100 Subject: [PATCH] prevent updating llvm-project during 'make' --- .cmake/libstd-memory_sanitizer.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cmake/libstd-memory_sanitizer.mk b/.cmake/libstd-memory_sanitizer.mk index f610c3e9..903ee9bf 100644 --- a/.cmake/libstd-memory_sanitizer.mk +++ b/.cmake/libstd-memory_sanitizer.mk @@ -18,6 +18,9 @@ ExternalProject_Add( INSTALL_COMMAND DESTDIR=${PREFIX} make install-cxx-headers install-cxx install-cxxabi COMMENT "Building memcheck instrumented libc++ and libc++abi" PREFIX ${PREFIX} + # Don't try updating the source. This prevents running update when calling 'make' (not sure why update step is run during make). + # It will also cause not updateing source during calling 'cmake' again. But we use fixed branch, so this shouldn't be needed + UPDATE_DISCONNECTED TRUE ) add_library(