From patchwork Mon Jul 19 19:50:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 480043 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp4439330jao; Mon, 19 Jul 2021 12:50:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzI37aCvPQISjRkI0PQjBJZStlfzDU2hzfytqe5vQ3uUzUks/08c16uZ5uLp5N7dnPOG0jz X-Received: by 2002:a25:7ac6:: with SMTP id v189mr32666060ybc.242.1626724232231; Mon, 19 Jul 2021 12:50:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626724232; cv=none; d=google.com; s=arc-20160816; b=A74VLu7zgW4bJ9WksRV/NKSqoH8yCsfZH00iA72zU32jduoJ99IDz5oGYmAHPNLALK yP5MUorfiEHzuOkjclZmxr2jH9UnL+g1AKZ8ZeDj1SGz9hYkOdt14kol3LxmGS6RhI7h ZVziRaqboq3V9mCLpLrWuFC+sFDRm6vAgEgT8sW2s5hb1rwxr0wRW9x5FJN/a5aizXXC usUxiKlmp9wnV57fKHXiPdF+FuFZTJMiRki3ZHHIqcedgfTvXyV7yUb9jfy0e5EmRoJk OPESTRoEynuxoGtEOdi/04YQ6aCpmJ2fEyFBGRKGUByh0duKtKQO2GpTtBhDfvuLWEPZ UVSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=kbT9YM2qnDiYu1MefImT/Te/Zn63TyXdYA+A8VSke9c=; b=rHToA+06BVqa+1JLs/3wfEu3WisuPR1/GHehZeh1UZrou2ZuID6RKKEUOL1Vj9nYae iOAlQyid0QKIzvQ/Xb1dE92eCY7ed3uinSGGEmePGAlz/gCbTDZuLyNsqQY+y8sXxV/2 gdCXxGFUzDBPsU4X5fRnU+1gXBRcWX9gkglp0NKpFy2W8XcLgG8BJN/kPd5VF7whNTJ1 /IS84YAYA9c64THXXMlxW4rA6IMu+XJGW3aI8eTyR5aMq6l+6vjc8ztN6zPn1dmEp660 mhPFHu1eU4KpGYviafDyVkzD9qo3t3sh0F0O0HbEl6Sg7tPR6fOzpHlwaJ3fnCrM3X4X zNsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="WXCDQa/Z"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id o68si26177116ybg.379.2021.07.19.12.50.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Jul 2021 12:50:32 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="WXCDQa/Z"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:43056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5ZHb-0004Um-NK for patch@linaro.org; Mon, 19 Jul 2021 15:50:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5ZHE-0004UE-3J for qemu-devel@nongnu.org; Mon, 19 Jul 2021 15:50:09 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:40727) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5ZHC-0006cI-9Y for qemu-devel@nongnu.org; Mon, 19 Jul 2021 15:50:07 -0400 Received: by mail-wr1-x42b.google.com with SMTP id l7so23420773wrv.7 for ; Mon, 19 Jul 2021 12:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kbT9YM2qnDiYu1MefImT/Te/Zn63TyXdYA+A8VSke9c=; b=WXCDQa/ZxAxxs+dxnX2BjAqLqe3SMgQ9T7fuIyYGB6hl3Rnxv7M4tbBn/0zBKHlsUM 0tmtd5SDDoDVU3thAd9xV3q6Gga0gO3itr3Wlg/fh3Y+0i6YFbye91GrXQfm9/YEOP5S kNtO2tI4eMPgdU/0ZCv92ggbSFH5b9HSDJsJsdmefCvE57fdltUQDf7tb9Y7yIvhScGF fMvcCa37whQjzX0s3FIgENJowPdOLgcFV3hpyK5rqym5niI5tJYoz4lCGtMjKOtILOH0 tGDjQiFR/qJ1qMM7LB1y+MF+LSFCnRdXgDowLj3wkcXPoO1CJae4xYSPbeYOFOyDk8p4 iw6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kbT9YM2qnDiYu1MefImT/Te/Zn63TyXdYA+A8VSke9c=; b=RwWb9vzuDSJYc11ywtp+T4XrC/REzJRewBaW9Vciv+RSqweTwNi9M65X6uqXPbeFg0 wh90+nIa99VRVhJAzIFb+iV6oFO+arQh9zS3Q/Ozhz/ohcwFL4jbMOomYDrLsBn5pQLB ZWfkXw/eATHMVcNJ1ICg4h/q7nH9/Lw+4vQVUZPc3v6RjZnACUBoNI3eyy3gCirs3ak4 fGt2gPJSgQJIDCSpK0+s7dR0qXNEIzzzmr62V4/btDb9kCcgIs0J8Oaxfse6x1iTwyh4 JVqPe0a9pRDuKbJb4UHspx25OvexEDtY7HflualLa3QHRK9vo5fpyhBX/THZGQwrhSJP fVWA== X-Gm-Message-State: AOAM530FSeCBbjMMqLqdVmF33rksMHUJ/1MeQ1eocn+zUuQwMrK37kH/ zHJVVEsxbecYIK8S+mr5Aaa5yg== X-Received: by 2002:adf:db43:: with SMTP id f3mr31996975wrj.143.1626724204397; Mon, 19 Jul 2021 12:50:04 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q17sm15159207wrv.47.2021.07.19.12.50.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jul 2021 12:50:03 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 1FD9F1FF87; Mon, 19 Jul 2021 20:50:03 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 1/2] hw/tricore: fix inclusion of tricore_testboard Date: Mon, 19 Jul 2021 20:50:01 +0100 Message-Id: <20210719195002.6753-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.32.0.264.g75ae10bc75 In-Reply-To: <20210719195002.6753-1-alex.bennee@linaro.org> References: <20210719195002.6753-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bastian Koppelmann , =?utf-8?q?Alex_Be?= =?utf-8?b?bm7DqWU=?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We inadvertently added a symbol clash causing the build not to include the testboard needed for check-tcg. Fixes: f4063f9c31 ("meson: Introduce target-specific Kconfig") Signed-off-by: Alex Bennée --- configs/devices/tricore-softmmu/default.mak | 1 + hw/tricore/Kconfig | 3 +-- hw/tricore/meson.build | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) -- 2.32.0.264.g75ae10bc75 Reviewed-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé diff --git a/configs/devices/tricore-softmmu/default.mak b/configs/devices/tricore-softmmu/default.mak index 5cc91cebce..724cb85de7 100644 --- a/configs/devices/tricore-softmmu/default.mak +++ b/configs/devices/tricore-softmmu/default.mak @@ -1 +1,2 @@ +CONFIG_TRITEST=y CONFIG_TRIBOARD=y diff --git a/hw/tricore/Kconfig b/hw/tricore/Kconfig index 506e6183c1..a1b2438d99 100644 --- a/hw/tricore/Kconfig +++ b/hw/tricore/Kconfig @@ -1,9 +1,8 @@ -config TRICORE +config TRITEST bool config TRIBOARD bool - select TRICORE select TC27X_SOC config TC27X_SOC diff --git a/hw/tricore/meson.build b/hw/tricore/meson.build index 47e36bb077..692a4708ba 100644 --- a/hw/tricore/meson.build +++ b/hw/tricore/meson.build @@ -1,6 +1,6 @@ tricore_ss = ss.source_set() -tricore_ss.add(when: 'CONFIG_TRICORE', if_true: files('tricore_testboard.c')) -tricore_ss.add(when: 'CONFIG_TRICORE', if_true: files('tricore_testdevice.c')) +tricore_ss.add(when: 'CONFIG_TRITEST', if_true: files('tricore_testboard.c')) +tricore_ss.add(when: 'CONFIG_TRITEST', if_true: files('tricore_testdevice.c')) tricore_ss.add(when: 'CONFIG_TRIBOARD', if_true: files('triboard.c')) tricore_ss.add(when: 'CONFIG_TC27X_SOC', if_true: files('tc27x_soc.c')) From patchwork Mon Jul 19 19:50:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 480044 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp4439347jao; Mon, 19 Jul 2021 12:50:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjFIlN8B++zkizFT2PFbRr9/P6VfvTjW4JTFIvQv4noi8tUJIkRDUIiBNVcVbl8LnQNkaV X-Received: by 2002:a25:75d6:: with SMTP id q205mr32419685ybc.339.1626724233493; Mon, 19 Jul 2021 12:50:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626724233; cv=none; d=google.com; s=arc-20160816; b=vkG3mEy6okrk4tBCHHDeslj8MHpLUFvc9JabvbO7h6d0wy+9Ipp2BHxZ1hYaNiy5gx 6VQ2axhw4Td2FOKxm7VRj9firulg7avs9jRswFEShwq37ci2/EDyGHOUEMJjkU7RqqNo Es/Qf+za9WTbOeBDjwKvLuwJZasBBvqZlyIFKnppVU0T3TkDOG2pECXBCKLccSKB39GU QudkqrVSzECJMuJtvwCh+q08oy9BYEievxAsnph2MjdaYR0VRp5n9DG13ocS7fMT8XxG +EEik+7qPDBm1Azl8wlK+soeTcdkfe4cQ6WNy70WEv3DpC8Ljw15rIA4mjOinhVs45Hb u24g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=k2M04I6fdSAVcFHWF90gT3uBV37ys7ZO5OsLg838FEk=; b=KcM07PnMYnanL9K1MldHJzGMjN45X0LvHYHwQZwwO0+xhMaGYVrwN3/7pMCQbU9gl9 8Nx8GXQ+IPA2uCwSMp9udl6hmuvQNG34n0S7MCOcMlYj/ZHd3ntjqeWkdpd8OzSyHUtO R9bOhCf1mB1HLVlZycv4/NU5XTKH/MbndAXz3C0Sz0kkOrd8j3K47IHFVlgsq81x9I8n CCT8N/z/w1yT5fbPvWvgo55YIAno3vCp2OqwOVZ3Jnjluyb2niAYQw66doGfNQzO0Eg5 7Hyn7JVb2T5lbFZ7IiNU+plJMTaG42/aSICWdFPoVlKTOK2WcxZW32P+wKjdlsLTrAwu ZFww== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=p+TxOSX4; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id w7si21814725ybg.479.2021.07.19.12.50.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Jul 2021 12:50:33 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=p+TxOSX4; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:43068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5ZHd-0004VP-04 for patch@linaro.org; Mon, 19 Jul 2021 15:50:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5ZHG-0004UK-6W for qemu-devel@nongnu.org; Mon, 19 Jul 2021 15:50:11 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:41698) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5ZHE-0006e1-Bx for qemu-devel@nongnu.org; Mon, 19 Jul 2021 15:50:09 -0400 Received: by mail-wr1-x431.google.com with SMTP id k4so23418117wrc.8 for ; Mon, 19 Jul 2021 12:50:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=k2M04I6fdSAVcFHWF90gT3uBV37ys7ZO5OsLg838FEk=; b=p+TxOSX4Hl9Yez6xfacbSJpNa1UHbar4/P/XPyEA7OGrJasUT2DIoBATW2WJVvb4v9 D0eP8E3HW5mzS8V915wtFRZUR5n6AreyDMSmk/zdJkAk3srmNQekXGEfCtsqu6bT4/5j IKTWWZ2zxS9311i8sWG0+sLuC2LUHw7tPmzeIvCVdKaqDdP9rorCYcDg1sqCxh1WfCch bOpmJsWBmWnuoa6kp2PKKRow4g0u2i3dhzz2JQ1CI727RHMYUWL0Zq5IB/2P7vc8ULTZ XNJgeejsIGGP6/aSZzDvVY1eYPNGuR7X5kfn+D9kkmHdQg+13HDhub9HD32udiqKyfXq nEWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=k2M04I6fdSAVcFHWF90gT3uBV37ys7ZO5OsLg838FEk=; b=K8eA7JQjPq/nCgH0SY6qDBx5qz1v2n2RhKkqiWzozbQFFNeWjKVST9PdMve84/5eel Gi2ghbhnxZTROj0t9hr3JldRP5SCzYPS9qCVih8Dem6Tyn+P+rOFelMs7PNK2zjtARHH fLJF+4EfRpBm1EI59qEsfxBuTRExZw1qPMMN+dIKkD6wiVEpxmIvCWQ05dD0f2mbX7JB TfR9jk+UGXkwoz8onyx4gHhaE5gJCW5NLRCQgu7FhfUjhNnKqyn4fikOBZXOqO5gIGWO 3dwx8nLbLMc5BXeaxGOditNha63G9xi/Log7FErMorU+U+qOdOZHGTEaJ6eZy1lcHPTb jL5Q== X-Gm-Message-State: AOAM532PtD8ZHM0fqbfWvFQv94TnVLNKM+5JqGxb5XC/kMnr/X4FKKtn 7BpFomOkcgBV1+EgB/APbnstMA== X-Received: by 2002:a5d:4e0d:: with SMTP id p13mr31608708wrt.372.1626724207058; Mon, 19 Jul 2021 12:50:07 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a10sm20938479wrm.12.2021.07.19.12.50.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jul 2021 12:50:04 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 38EC61FF8C; Mon, 19 Jul 2021 20:50:03 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 2/2] gitlab: enable a very minimal build with the tricore container Date: Mon, 19 Jul 2021 20:50:02 +0100 Message-Id: <20210719195002.6753-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.32.0.264.g75ae10bc75 In-Reply-To: <20210719195002.6753-1-alex.bennee@linaro.org> References: <20210719195002.6753-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Willian Rampazzo , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We do the same thing as hexagon and do a two stage build that provides the minimal dependencies to build qemu-tricore-system and it's check-tcg tests. Signed-off-by: Alex Bennée --- .gitlab-ci.d/buildtest.yml | 11 +++++ .../dockerfiles/debian-tricore-cross.docker | 48 +++++++++++++++++-- 2 files changed, 54 insertions(+), 5 deletions(-) -- 2.32.0.264.g75ae10bc75 diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml index 89df51517c..1f3fbcd965 100644 --- a/.gitlab-ci.d/buildtest.yml +++ b/.gitlab-ci.d/buildtest.yml @@ -354,6 +354,17 @@ build-some-softmmu: TARGETS: xtensa-softmmu arm-softmmu aarch64-softmmu alpha-softmmu MAKE_CHECK_ARGS: check-tcg +# We build tricore in a very minimal tricore only container +build-tricore-softmmu: + extends: .native_build_job_template + needs: + job: debian-tricore-cross-container + variables: + IMAGE: debian-tricore-cross + CONFIGURE_ARGS: --disable-tools --enable-debug + TARGETS: tricore-softmmu + MAKE_CHECK_ARGS: check-tcg + clang-system: extends: .native_build_job_template needs: diff --git a/tests/docker/dockerfiles/debian-tricore-cross.docker b/tests/docker/dockerfiles/debian-tricore-cross.docker index 985925134c..50c87f251f 100644 --- a/tests/docker/dockerfiles/debian-tricore-cross.docker +++ b/tests/docker/dockerfiles/debian-tricore-cross.docker @@ -15,9 +15,47 @@ RUN git clone --single-branch \ https://github.com/bkoppelmann/tricore-binutils.git \ /usr/src/binutils && \ cd /usr/src/binutils && chmod +x missing && \ - CFLAGS=-w ./configure --prefix=/usr --disable-nls --target=tricore && \ - make && make install && \ - rm -rf /usr/src/binutils + CFLAGS=-w ./configure --prefix=/usr/local --disable-nls --target=tricore && \ + make && make install -# This image isn't designed for building QEMU but building tests -ENV QEMU_CONFIGURE_OPTS --disable-system --disable-user +FROM debian:buster-slim +# Duplicate deb line as deb-src +RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list +# Install QEMU build deps for use in CI +RUN apt update && \ + DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ + DEBIAN_FRONTEND=noninteractive eatmydata apt install -yy \ + build-essential \ + git \ + libglib2.0-dev \ + libpixman-1-dev \ + ninja-build \ + python3 \ + pkg-config + bzip2 \ + ca-certificates \ + ccache \ + diffutils \ + findutils \ + g++ \ + gcc \ + git \ + libcapstone-dev \ + libfdt-dev \ + libglib2.0-dev \ + libpixman-1-dev \ + libtest-harness-perl \ + locales \ + make \ + ninja-build \ + perl-base \ + pkgconf \ + python3-pip \ + python3-setuptools \ + python3-wheel +COPY --from=0 /usr/local /usr/local +ENV PATH $PATH:/usr/local/bin/ + +# This image can only build a very minimal QEMU as well as the tests +ENV DEF_TARGET_LIST tricore-softmmu +ENV QEMU_CONFIGURE_OPTS --disable-user --disable-tools