Commit 806ec4bf authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[3079] Disable the memory manager if no shared memory

Just ifdef out the whole makefiles.
parent fef265b2
if USE_SHARED_MEMORY
# If we don't have shared memory, the memory manager is useless.
# Skip building, testing and installing it completely.
SUBDIRS = . tests SUBDIRS = . tests
pkglibexecdir = $(libexecdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@
...@@ -60,3 +65,5 @@ install-data-hook: ...@@ -60,3 +65,5 @@ install-data-hook:
clean-local: clean-local:
rm -rf $(CLEANDIRS) rm -rf $(CLEANDIRS)
endif
if USE_SHARED_MEMORY
# We use the memory manager only with shared memory. No reason to
# install on platforms without it and tests may fail there.
SUBDIRS = . tests SUBDIRS = . tests
python_PYTHON = __init__.py builder.py datasrc_info.py logger.py python_PYTHON = __init__.py builder.py datasrc_info.py logger.py
...@@ -23,3 +28,5 @@ CLEANDIRS = __pycache__ ...@@ -23,3 +28,5 @@ CLEANDIRS = __pycache__
clean-local: clean-local:
rm -rf $(CLEANDIRS) rm -rf $(CLEANDIRS)
endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment