[gnome-build-meta/abderrahim/native-build: 2/3] project.conf: set the sandbox architecture




commit 381f6b10f5e278e3cead3cad254dcb5fd5d922f6
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Mon May 18 13:00:07 2020 +0100

    project.conf: set the sandbox architecture
    
    this allows arm and i686 builds to behave as native builds rather than
    cross-compilation

 project.conf | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/project.conf b/project.conf
index 9d33b7142..dca34d1e4 100644
--- a/project.conf
+++ b/project.conf
@@ -2,7 +2,7 @@
 name: gnome
 
 # The minimum base BuildStream format
-format-version: 14
+format-version: 18
 
 # Where elements are stored
 element-path: elements
@@ -68,6 +68,9 @@ environment:
     environment-nocache:
     - G_SLICE
 
+sandbox:
+  build-arch: '%{arch}'
+
 # Some overrides to element configuration based on type
 #
 # Here we can set a project wide options for various build systems,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]