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




commit 97332f77a30ff285b07660cad5f3ab859e8047f9
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
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/939>

 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]