scons: Don't set LLVM_VERSION if one of the llvm-config calls fails.
authorVinson Lee <vlee@vmware.com>
Mon, 7 Sep 2009 14:16:25 +0000 (15:16 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 7 Sep 2009 14:16:25 +0000 (15:16 +0100)
commit79f48c9f9e739a1f6b0810072e41bc826f2b789d
tree3069798347d6be789bea1a8d5a653341781c9923
parentb481fb2c6d8a8def0956acb0bf9083f5441edd07
scons: Don't set LLVM_VERSION if one of the llvm-config calls fails.

Ubuntu 8.10 has llvm-config version 2.2, which doesn't have
nativecodegen. This triggers an exception.
scons/llvm.py
src/gallium/drivers/llvmpipe/SConscript