From 73e87f007185d94e21f26ea99396ddf1bbfc069f Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Tue, 23 Aug 2022 18:36:26 +0200 Subject: Just: Set default TARGET_ARCH and COMPILER_FAMILY --- TARGETS | 10 +++++++++- test/TARGETS | 8 ++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/TARGETS b/TARGETS index 2b4ab93b..04b3004b 100644 --- a/TARGETS +++ b/TARGETS @@ -22,9 +22,17 @@ } , "just": { "type": ["@", "rules", "CC", "configure"] - , "arguments_config": ["OS", "ARCH"] + , "arguments_config": ["OS", "ARCH", "TARGET_ARCH", "COMPILER_FAMILY"] , "os": [{"type": "var", "name": "OS", "default": "linux"}] , "arch": [{"type": "var", "name": "ARCH", "default": "x86_64"}] + , "target_arch": + [ { "type": "var" + , "name": "TARGET_ARCH" + , "default": {"type": "var", "name": "ARCH", "default": "x86_64"} + } + ] + , "compiler_family": + [{"type": "var", "name": "COMPILER_FAMILY", "default": "clang"}] , "target": ["exported-just"] } , "libgit2": diff --git a/test/TARGETS b/test/TARGETS index 79ad3519..3f572f53 100644 --- a/test/TARGETS +++ b/test/TARGETS @@ -20,6 +20,14 @@ , "arguments_config": ["OS", "ARCH"] , "os": [{"type": "var", "name": "OS", "default": "linux"}] , "arch": [{"type": "var", "name": "ARCH", "default": "x86_64"}] + , "target_arch": + [ { "type": "var" + , "name": "TARGET_ARCH" + , "default": {"type": "var", "name": "ARCH", "default": "x86_64"} + } + ] + , "compiler_family": + [{"type": "var", "name": "COMPILER_FAMILY", "default": "clang"}] , "target": ["TESTS"] } , "bootstrap-test": -- cgit v1.2.3