Changes in / [a59ecb7:87cd03a]


Ignore:
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    ra59ecb7 r87cd03a  
    1111      os: linux
    1212      env: WAFOPTS="--build-type=debug"
    13     - name: "Linux (Python 2.7, nodeps)"
     13    - name: "Linux (Python 2.7)"
    1414      python: 2.7
    1515      os: linux
    1616      distro: trusty
    17       env: WAFOPTS="--nodeps"
    1817    - name: "Linux (Python pypy3.5)"
    1918      language: python
    2019      python: "pypy3.5"
    2120      os: linux
    22     - name: "Linux (double, fftw3)"
     21    - name: "Linux (fftw3, no other deps)"
    2322      python: 3.8
    2423      os: linux
    25       env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3"
     24      env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3 --disable-avcodec --disable-samplerate"
    2625    - name: "Linux (default, dpkg-buildflags)"
    2726      os: linux
     
    4241      os: osx
    4342      osx_image: xcode10
    44       env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate --nodeps"
     43      env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate --disable-avcodec --disable-sndfile --disable-samplerate"
    4544    - name: "iOS"
    4645      language: shell
    4746      os: osx
    48       env: WAFOPTS="--with-target-platform=ios --nodeps" AUBIO_NOTESTS=1
     47      env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile --disable-samplerate" AUBIO_NOTESTS=1
    4948    - name: "iOSSimulator"
    5049      language: shell
    5150      os: osx
    52       env: WAFOPTS="--with-target-platform=iosimulator --nodeps" AUBIO_NOTESTS=1
     51      env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile --disable-samplerate" AUBIO_NOTESTS=1
    5352
    5453#    - name: "Windows (Python 3.8.0, lib only)"
  • Makefile

    ra59ecb7 r87cd03a  
    184184        -$(SOX) -r 32000 -b 16 -n "$(TESTSOUNDS)/32000Hz_127f_sine440.wav"    synth 127s sine 440        vol 0.9
    185185        -$(SOX) -r  8000 -b 16 -n "$(TESTSOUNDS)/8000Hz_30s_silence.wav"      trim 0 30
    186         -$(SOX) -r 48000 -b 16 -n "$(TESTSOUNDS)/48000Hz_60s_sweep.wav"       synth 60   sine 100-20000  vol 0.9
     186        -$(SOX) -r 48000 -b 32 -n "$(TESTSOUNDS)/48000Hz_60s_sweep.wav"       synth 60   sine 100-20000  vol 0.9
    187187        -$(SOX) -r 44100 -b 16 -n "$(TESTSOUNDS)/44100Hz_44100f_sine441.wav"  synth 44100s   sine 441   vol 0.9
    188188        -$(SOX) -r 44100 -b 16 -n "$(TESTSOUNDS)/44100Hz_100f_sine441.wav"    synth 100s sine 441       vol 0.9
  • doc/requirements.rst

    ra59ecb7 r87cd03a  
    3131    If ``pkg-config`` is not found in ``PATH``, the configure step will
    3232    succeed, but none of the external libraries will be used.
    33 
    34 To build aubio with no external libraries, use the ``--nodeps`` build option.
    3533
    3634Media libraries
  • wscript

    ra59ecb7 r87cd03a  
    4949            dest = 'build_type', const = 'debug',
    5050            help = 'build in debug mode (see --build-type)')
    51     ctx.add_option('--nodeps', action = 'store_const',
    52             dest = 'nodeps', const = 'debug',
    53             help = 'build with no external dependencies')
    5451    add_option_enable_disable(ctx, 'fftw3f', default = False,
    5552            help_str = 'compile with fftw3f instead of ooura (recommended)',
     
    130127        target_platform = ctx.options.target_platform
    131128
    132     if ctx.options.nodeps:
    133         external_deps = [
    134                 'sndfile',
    135                 'samplerate',
    136                 'jack',
    137                 'avcodec',
    138                 'blas',
    139                 'fftw3',
    140                 'fftw3f',
    141         ]
    142         for d in external_deps:
    143             if not hasattr(ctx.options, 'enable_' + d):
    144                 raise ctx.errors.ConfigurationError ('--enable-%s missing from options' % d)
    145             if getattr(ctx.options, 'enable_' + d) == True:
    146                 msg = 'Option --nodeps can not be used along with --enable-%s' % d
    147                 raise ctx.errors.ConfigurationError (msg)
    148             elif getattr(ctx.options, 'enable_' + d) is None:
    149                 msg = 'Option --nodeps used but automatic detection with --enable-%s' % d
    150                 ctx.msg('Warning', msg)
    151             setattr(ctx.options, 'enable_' + d, False)
    152 
    153129    from waflib import Options
    154130
Note: See TracChangeset for help on using the changeset viewer.