Skip to content

Commit

Permalink
FEAT: use separate build by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
cournape authored and charris committed Jan 24, 2013
1 parent 63cf49d commit 08dfe2f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ python:
matrix:
include:
- python: 2.7
env: NPY_SEPARATE_COMPILATION=1
env: NPY_SEPARATE_COMPILATION=0
- python: 3.2
env: NPY_SEPARATE_COMPILATION=1
env: NPY_SEPARATE_COMPILATION=0
before_install:
- mkdir builds
- pushd builds
Expand Down
2 changes: 1 addition & 1 deletion numpy/core/bscript
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ from setup_common \
C99_FUNCS_SINGLE, C99_COMPLEX_TYPES, C99_COMPLEX_FUNCS, \
MANDATORY_FUNCS, C_ABI_VERSION, C_API_VERSION

ENABLE_SEPARATE_COMPILATION = (os.environ.get('NPY_SEPARATE_COMPILATION', "0") != "0")
ENABLE_SEPARATE_COMPILATION = (os.environ.get('NPY_SEPARATE_COMPILATION', "1") != "0")

NUMPYCONFIG_SYM = []

Expand Down
2 changes: 1 addition & 1 deletion numpy/core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from setup_common import *

# Set to True to enable multiple file compilations (experimental)
ENABLE_SEPARATE_COMPILATION = (os.environ.get('NPY_SEPARATE_COMPILATION', "0") != "0")
ENABLE_SEPARATE_COMPILATION = (os.environ.get('NPY_SEPARATE_COMPILATION', "1") != "0")

# XXX: ugly, we use a class to avoid calling twice some expensive functions in
# config.h/numpyconfig.h. I don't see a better way because distutils force
Expand Down

0 comments on commit 08dfe2f

Please sign in to comment.