Commit f1a71da205b2dde4f5c28a00ace174390ed1c2d2

Authored by Jürgen Knödlseder
1 parent 706932a3

Remove second compile for unit testing.

The second compilation for unit testing is no longer needed as we found a way to pass the wrapper libraries to the PYTHONPATH. This speeds up unit testing.
Showing 1 changed file with 3 additions and 8 deletions
pyext/Makefile.am
1 1 #############################################################################
2 2 # Makefile for gammalib Python extension module #
3 3 # ------------------------------------------------------------------------- #
4   -# Copyright (C) 2011 Jurgen Knodlseder #
  4 +# Copyright (C) 2011-2012 Juergen Knoedlseder #
5 5 # ------------------------------------------------------------------------- #
6 6 # #
7 7 # This program is free software: you can redistribute it and/or modify #
... ... @@ -72,13 +72,8 @@ all-local: build
72 72 build: $(BUILT_SOURCES)
73 73 @PYTHON_BUILD_PREFIX@ $(PYTHON) setup.py build_ext
74 74  
75   -# If 'make check' is invoked we build the extension modules inplace, so that
76   -# putting the 'pyext' directory in the PYTHONPATH allows importing the gammalib
77   -# module. We also catch this special build in the setup script to force static
78   -# linking with libgamma, which will allow a successful 'make check' on systems
79   -# (such as Mac OS X) that have fixed shared library paths.
80   -check-local:
81   - @PYTHON_BUILD_PREFIX@ $(PYTHON) setup.py build_ext --inplace
  75 +# Do nothing for 'make check'
  76 +#check-local:
82 77  
83 78 # Install the gammalib extension module
84 79 install-exec-local:
... ...