Remove Java and Python build rules that relied on "--enable-debug". Always require junit to test the Java build, and don't turn on the "-g" flag in the Python build: we're not debugging the glue code in general.
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
PYSRC = $(top_srcdir)/lang/python
|
||||
PY_INCLUDE_DIRS = $(top_srcdir)
|
||||
if DEBUG
|
||||
PY_SETUP_DEBUG = -g
|
||||
endif
|
||||
all-local: _wiredtiger.so
|
||||
|
||||
# We keep generated Python sources under lang/python: that's where they live
|
||||
@@ -13,11 +10,11 @@ $(PYSRC)/wiredtiger_wrap.c: $(top_srcdir)/src/include/wiredtiger.in $(PYSRC)/wir
|
||||
mv wiredtiger.py wiredtiger/__init__.py)
|
||||
|
||||
_wiredtiger.so: $(top_builddir)/libwiredtiger.la $(PYSRC)/wiredtiger_wrap.c
|
||||
$(PYTHON) $(PYSRC)/setup.py build_ext -b . -t . -f $(PY_SETUP_DEBUG) -I $(PY_INCLUDE_DIRS)
|
||||
$(PYTHON) $(PYSRC)/setup.py build_ext -b . -t . -f -I $(PY_INCLUDE_DIRS)
|
||||
|
||||
install-exec-local:
|
||||
$(PYTHON) $(PYSRC)/setup.py build_py -d build
|
||||
$(PYTHON) $(PYSRC)/setup.py build_ext -b build -t . -f $(PY_SETUP_DEBUG) -I $(PY_INCLUDE_DIRS)
|
||||
$(PYTHON) $(PYSRC)/setup.py build_ext -b build -t . -f -I $(PY_INCLUDE_DIRS)
|
||||
$(PYTHON) $(PYSRC)/setup.py install_lib -b build --skip-build $(PYTHON_INSTALL_ARG)
|
||||
|
||||
clean-local:
|
||||
|
||||
Reference in New Issue
Block a user