llvm: add support for R600

It will be useful for mesa >= 9.2.*
Also, I want to restart the build on Hydra, as it succeeds for me.
This commit is contained in:
Vladimír Čunát 2013-09-24 23:06:49 +02:00
parent 2456150c1e
commit 0adae9f822

View File

@ -25,7 +25,8 @@ stdenv.mkDerivation rec {
"-DCMAKE_BUILD_TYPE=Release"
"-DLLVM_ENABLE_FFI=ON"
"-DLLVM_BINUTILS_INCDIR=${binutils}/include"
] ++ lib.optional (!isDarwin) [ "-DBUILD_SHARED_LIBS=ON" ];
"-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=R600" # for mesa
] ++ lib.optional (!isDarwin) "-DBUILD_SHARED_LIBS=ON";
enableParallelBuilding = true;