From 5e56795dd315bb4c9aa4ad3cc051a3314e7d3afd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 23 Mar 2012 03:20:37 +0000 Subject: Remove --experimental option and just always build everything. --- ext.wscript | 15 --------------- wscript | 3 --- 2 files changed, 18 deletions(-) diff --git a/ext.wscript b/ext.wscript index 66b209d..db0c078 100644 --- a/ext.wscript +++ b/ext.wscript @@ -79,14 +79,6 @@ def options(opt): opt.add_option('--copy-headers', action='store_true', default=False, dest='copy_headers', help='Copy headers instead of linking to bundle') - opt.add_option('--experimental', action='store_true', default=False, - dest='experimental', - help='Install unreleased experimental extensions') - -def should_build(ctx): - top_level = (len(ctx.stack_path) <= 1) - return top_level or ctx.env['EXPERIMENTAL'] or ( - info.MINOR > 0 and info.MICRO % 2 == 0) def configure(conf): try: @@ -96,10 +88,6 @@ def configure(conf): conf.env['BUILD_TESTS'] = Options.options.build_tests conf.env['COPY_HEADERS'] = Options.options.copy_headers - conf.env['EXPERIMENTAL'] = Options.options.experimental - - if not should_build(conf): - return if not hasattr(os.path, 'relpath') and not Options.options.copy_headers: conf.fatal( @@ -122,9 +110,6 @@ def configure(conf): print('') def build(bld): - if not should_build(bld): - return - uri = info.URI include_base = os.path.dirname(uri[uri.find('://') + 3:]) bundle_dir = os.path.join(bld.env['LV2DIR'], info.NAME + '.lv2') diff --git a/wscript b/wscript index 74083a6..eae0d4c 100644 --- a/wscript +++ b/wscript @@ -29,9 +29,6 @@ def options(opt): autowaf.set_options(opt) opt.add_option('--test', action='store_true', default=False, dest='build_tests', help="Build unit tests") - opt.add_option('--experimental', action='store_true', default=False, - dest='experimental', - help='Install unreleased experimental extensions') for i in ['lv2/lv2plug.in/ns/lv2core']: opt.recurse(i) -- cgit v1.2.1