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




commit e7c39f3c11ca47750192abe5d1b915d260fd4178
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 324e70574..c64a443f7 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
@@ -63,6 +63,9 @@ environment:
   - arch == "riscv64":
       G_SLICE: always-malloc
 
+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]