summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2016-05-01 15:34:10 -0400
committerAlexander Larsson <alexl@redhat.com>2016-05-17 09:48:59 +0200
commit1433ded8f086b7e99293b5ed5213f8177b8ddd37 (patch)
treeb0d8a83e55c410a2295175f6beda7dc8835c793e
parent75927f43c9b1b92f1c62f792b1846a7cc398582e (diff)
mesa: Tuning builds for various arches
When building for i386 on an x86_64 host, config.guess will assume that it's an x86_64 build and this will result in x86_64 assembly code features being used with a 32bit x86 assember (at least with intel drivers enabled). Explicitly telling the build scripts to build for i586 fixes this (we give it i586 in the triple because that's the compiler we build in the base runtime). https://bugs.freedesktop.org/show_bug.cgi?id=95440
-rw-r--r--org.freedesktop.Sdk.json.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/org.freedesktop.Sdk.json.in b/org.freedesktop.Sdk.json.in
index e2c78a9..b0c7998 100644
--- a/org.freedesktop.Sdk.json.in
+++ b/org.freedesktop.Sdk.json.in
@@ -1105,10 +1105,23 @@
"arch" : {
"i386" : {
"config-opts" : [
+ "--build=i586-unknown-linux-gnu",
"--with-gallium-drivers=svga,swrast,nouveau,r600,r300,radeonsi",
"--with-dri-drivers=swrast,nouveau,radeon,r200,i915,i965"
]
},
+ "x86_64" : {
+ "config-opts" : [
+ "--with-gallium-drivers=svga,swrast,nouveau,r600,r300,radeonsi",
+ "--with-dri-drivers=swrast,nouveau,radeon,r200,i915,i965"
+ ]
+ },
+ "arm" : {
+ "config-opts" : [
+ "--with-gallium-drivers=svga,swrast,nouveau,freedreno,vc4",
+ "--with-dri-drivers=swrast,nouveau,radeon,r200"
+ ]
+ },
"aarch64" : {
"config-opts" : [
"--with-gallium-drivers=svga,swrast,nouveau,freedreno,vc4",