From: Vinson Lee Date: Wed, 7 Jul 2010 00:25:39 +0000 (-0700) Subject: llvmpipe: Don't build lp_test_round when using MSVC. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c89ea8f213c272b79ba0d0492597140ea20d7693;p=mesa.git llvmpipe: Don't build lp_test_round when using MSVC. lp_test_round uses the math functions round and trunc, which aren't available with MSVC. Fixes the MSVC build for now. --- diff --git a/src/gallium/drivers/llvmpipe/SConscript b/src/gallium/drivers/llvmpipe/SConscript index 57a6e7197fa..543d42dadd2 100644 --- a/src/gallium/drivers/llvmpipe/SConscript +++ b/src/gallium/drivers/llvmpipe/SConscript @@ -80,10 +80,12 @@ if env['platform'] != 'embedded': 'blend', 'conv', 'printf', - 'round', 'sincos', ] + if not msvc: + tests.append('round') + for test in tests: target = env.Program( target = 'lp_test_' + test,