-
Notifications
You must be signed in to change notification settings - Fork 277
Stop building memory-analyzer on Mac and Windows #7923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop building memory-analyzer on Mac and Windows #7923
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please also change src/Makefile
to do
ifeq ($(WITH_MEMORY_ANALYZER),1)
all: memory-analyzer.dir
else ifneq ($(filter-out Windows Darwin,$(detected_OS)),)
all: memory-analyzer.dir
endif
instead of the current Linux-only logic?
Changed make build to have the same behaviour of cmake on memory-analyzer.
Should this be built for Apple + Intel builds? |
macOS has lldb instead of gdb, and I have no idea whether our interface with gdb ports to that. So I'd say no. (But of course someone could sit down and try and make this work...) |
Even if the module is not enabled by default, it is possible to compile it in any system by using |
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #7923 +/- ##
===========================================
+ Coverage 78.91% 79.00% +0.08%
===========================================
Files 1697 1697
Lines 195418 195418
===========================================
+ Hits 154211 154384 +173
+ Misses 41207 41034 -173 ☔ View full report in Codecov by Sentry. |
We probably shouldn't consider it as part of this change. |
This PR fixes an issue when trying to build
memory-analyzer
on Apple Silicon machines by excluding it on Windows and Apple systems.This also was the expected behaviour for it.
Fixes Issue #7922