Skip to content

Commit 7fa2a07

Browse files
author
Enrico Steffinlongo
authored
Merge pull request #7923 from esteffin/esteffin/remove-memory-analyzer-on-mac-and-win
Stop building memory-analyzer on Mac and Windows
2 parents c19a933 + d824acc commit 7fa2a07

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,6 @@ add_subdirectory(symtab2gb)
122122
add_subdirectory(libcprover-cpp)
123123
add_subdirectory(goto-bmc)
124124

125-
if(UNIX OR WITH_MEMORY_ANALYZER)
125+
if((NOT WIN32 AND NOT APPLE) OR WITH_MEMORY_ANALYZER)
126126
add_subdirectory(memory-analyzer)
127127
endif()

src/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ else
5252
detected_OS := $(shell sh -c 'uname 2>/dev/null || echo Unknown')
5353
endif
5454

55-
ifeq ($(detected_OS),Linux)
55+
ifeq ($(WITH_MEMORY_ANALYZER),1)
5656
all: memory-analyzer.dir
57-
else ifeq ($(WITH_MEMORY_ANALYZER),1)
57+
else ifneq ($(filter-out Windows Darwin,$(detected_OS)),)
5858
all: memory-analyzer.dir
5959
endif
6060

0 commit comments

Comments
 (0)