Remove sse optimization sources from test applications
authorTim Mayberry <mojofunk@gmail.com>
Sat, 2 May 2015 10:14:08 +0000 (20:14 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Sat, 25 Jul 2015 07:19:17 +0000 (17:19 +1000)
These are already built and included in libardour

libs/ardour/wscript

index b2bbf432a218619a55d3b9f4857f6cd0e2afc9f2..ff2d6e40fdc4973b779d8fe54d86e4d64558e57c 100644 (file)
@@ -471,14 +471,6 @@ def build(bld):
             ]
         testcommon.name         = 'testcommon'
 
-        if bld.env['FPU_OPTIMIZATION']:
-            testcommon.source += [ 'sse_functions_xmm.cc' ]
-            if (bld.env['build_target'] == 'i386'
-                or bld.env['build_target'] == 'i686'):
-                testcommon.source += [ 'sse_functions.s' ]
-            elif bld.env['build_target'] == 'x86_64':
-                testcommon.source += [ 'sse_functions_64bit.s' ]
-
         if bld.env['SINGLE_TESTS']:
             create_ardour_test_program(bld, obj.includes, 'audio_engine_test', 'test_audio_engine', ['test/audio_engine_test.cc'])
             create_ardour_test_program(bld, obj.includes, 'automation_list_property_test', 'test_automation_list_property', ['test/automation_list_property_test.cc'])
@@ -548,13 +540,6 @@ def build(bld):
             'CONFIG_DIR="' + os.path.normpath(bld.env['SYSCONFDIR']) + '"',
             'LOCALEDIR="' + os.path.normpath(bld.env['LOCALEDIR']) + '"',
             ]
-        if bld.env['FPU_OPTIMIZATION']:
-            session_load_tester.source += [ 'sse_functions_xmm.cc' ]
-            if (bld.env['build_target'] == 'i386'
-                or bld.env['build_target'] == 'i686'):
-                session_load_tester.source += [ 'sse_functions.s' ]
-            elif bld.env['build_target'] == 'x86_64':
-                session_load_tester.source += [ 'sse_functions_64bit.s' ]
 
         # Profiling
         for p in ['runpc', 'lots_of_regions', 'load_session']:
@@ -580,13 +565,6 @@ def build(bld):
                 'CONFIG_DIR="' + os.path.normpath(bld.env['SYSCONFDIR']) + '"',
                 'LOCALEDIR="' + os.path.normpath(bld.env['LOCALEDIR']) + '"',
                 ]
-            if bld.env['FPU_OPTIMIZATION']:
-                profilingobj.source += [ 'sse_functions_xmm.cc' ]
-                if (bld.env['build_target'] == 'i386'
-                    or bld.env['build_target'] == 'i686'):
-                    profilingobj.source += [ 'sse_functions.s' ]
-                elif bld.env['build_target'] == 'x86_64':
-                    profilingobj.source += [ 'sse_functions_64bit.s' ]
 
 def create_ardour_test_program(bld, includes, name, target, sources):
     testobj              = bld(features = 'cxx cxxprogram')