From e6314db0ac537695a20feb5fab8d77a30836eccf Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sun, 13 Mar 2011 19:24:26 +0000 Subject: gallivm: Use LLVM MC disassembler, instead of udis86. Included in LLVM 2.7+. Unlink udis86, should support all instructions that LLVM can emit. --- scons/gallium.py | 1 - scons/llvm.py | 2 +- scons/udis86.py | 44 -------------------------------------------- 3 files changed, 1 insertion(+), 46 deletions(-) delete mode 100644 scons/udis86.py (limited to 'scons') diff --git a/scons/gallium.py b/scons/gallium.py index 34523d5898..4dcb8d0a42 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -602,7 +602,6 @@ def generate(env): env.Tool('yacc') if env['llvm']: env.Tool('llvm') - env.Tool('udis86') pkg_config_modules(env, 'x11', ['x11', 'xext']) pkg_config_modules(env, 'drm', ['libdrm']) diff --git a/scons/llvm.py b/scons/llvm.py index 3fef9e0900..b89899bbf8 100644 --- a/scons/llvm.py +++ b/scons/llvm.py @@ -142,7 +142,7 @@ def generate(env): try: env.ParseConfig('llvm-config --cppflags') - env.ParseConfig('llvm-config --libs jit interpreter nativecodegen bitwriter') + env.ParseConfig('llvm-config --libs') env.ParseConfig('llvm-config --ldflags') except OSError: print 'scons: llvm-config version %s failed' % llvm_version diff --git a/scons/udis86.py b/scons/udis86.py deleted file mode 100644 index bb91d3c35c..0000000000 --- a/scons/udis86.py +++ /dev/null @@ -1,44 +0,0 @@ -"""udis86 - -Tool-specific initialization for udis86 - -""" - -# -# Copyright (c) 2009 VMware, Inc. -# -# Permission is hereby granted, free of charge, to any person obtaining -# a copy of this software and associated documentation files (the -# "Software"), to deal in the Software without restriction, including -# without limitation the rights to use, copy, modify, merge, publish, -# distribute, sublicense, and/or sell copies of the Software, and to -# permit persons to whom the Software is furnished to do so, subject to -# the following conditions: -# -# The above copyright notice and this permission notice shall be included -# in all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY -# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE -# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# - -def generate(env): - conf = env.Configure() - - if conf.CheckHeader('udis86.h'): # and conf.CheckLib('udis86'): - env['UDIS86'] = True - env.Prepend(LIBS = ['udis86']) - else: - env['UDIS86'] = False - - conf.Finish() - -def exists(env): - return True - -# vim:set ts=4 sw=4 et: -- cgit v1.2.3