Changeset 3d14829 for Makefile


Ignore:
Timestamp:
Dec 2, 2016, 1:03:41 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler, yinfft+
Children:
473ab11
Parents:
bee6e96
Message:

python/lib/moresetuptools.py: also check for HAVE_AUBIO_DOUBLE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rbee6e96 r3d14829  
    99# multiple jobs
    1010WAFOPTS += --jobs 4
     11# if HAVE_AUBIO_DOUBLE is defined, pass --enable-double to waf
     12# python/lib/moresetuptools.py also checks for HAVE_AUBIO_DOUBLE
     13WAFOPTS += $(shell [ -z $(HAVE_AUBIO_DOUBLE) ] || echo --enable-double )
    1114
    1215DESTDIR:=$(PWD)/build/dist
     
    2326SOX=sox
    2427
    25 ENABLE_DOUBLE := $(shell [ -z $(HAVE_DOUBLE) ] || echo --enable-double )
    2628TESTSOUNDS := python/tests/sounds
    2729
     
    4547
    4648configure: checkwaf
    47         $(WAFCMD) configure $(WAFOPTS) $(ENABLE_DOUBLE)
     49        $(WAFCMD) configure $(WAFOPTS)
    4850
    4951build: configure
     
    8284build_python:
    8385        # build python-aubio, using locally built libaubio if found
    84         python ./setup.py build_ext $(ENABLE_DOUBLE)
     86        python ./setup.py build
    8587
    8688build_python_extlib:
     
    163165
    164166distcheck: checkwaf
    165         $(WAFCMD) distcheck $(WAFOPTS) $(ENABLE_DOUBLE)
     167        $(WAFCMD) distcheck $(WAFOPTS)
    166168
    167169help:
Note: See TracChangeset for help on using the changeset viewer.