From patchwork Thu May 17 17:47:13 2018 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: 136195 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp264783lji; Thu, 17 May 2018 11:14:55 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp8S4yFVvNcI2jl9bDbNTcXVGriN1gZJgFqQLV5F+4WL+Pn77VKqNRjL4+DxbHYQ613Jmy7 X-Received: by 2002:a0c:b03d:: with SMTP id k58-v6mr2389347qvc.121.1526580895176; Thu, 17 May 2018 11:14:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526580895; cv=none; d=google.com; s=arc-20160816; b=bCQveyqI4mDJ2C5BlmZMspq/cen6w7r9Js/A5pDgK/myBW+Cc+qlXfeLJj38TiULR8 cbOrv/44XVh6PD5AnIjJEbu6JeVo+KZ4UzJk/Rt7+zXxU+/9oCXE8U3r1j6ZdSq+c97N TJewyR5DDHcFciwpglvNZZY8KmjzoefmdYNDOYU4bI5KCs1AyXnQlq92U2u/JJ/rZGGC gmcB34+n/UdYrm3ti2cJ9I2HmglOot5jquxOPEzbTDQOq+hPDJdfgjFz8qVX6hgJvhZS mYKVko6UnG9vfLVYKmeD9vZLGdk29o0VGCtCOCuVQrxDtzA0Hboh2oXkbm1xX9e/l9o3 Vw9A== 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:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=eAQ3luGPSIEFULeEFh4q8NIcFvtZLiXMM1SHLCzt1LQ=; b=BpBy5poG36alQYf2vxTPOlnWNoODaCUJbf9dn8Y2uBIB1hov5owdgtKOoNTj7xfUud 3ixR5HxRy0CRsKeH0aSHZW7+j2CbwBVEKjYRcsGbZdTqOue9lCnV5uSZ/oayOss8ISKc HHE3eEkn7JaPz+uYRn8sJwSp9OlJx8JvRexoCMW2akNjC8C8ZgB6CdeJg8z5HTUVP6lb MsORiuVPQkC614sVH2QxOm7YT43aIp2322NJ5TzdSKMrLKa3uqQy3dCzZY037e9QC4ho z/2W+DR0rgNvRmW03ZONlxqxOx2FU8W6+3gtDrIlIXwW07yZ4wvd0dKLtNOBPf3UOv5Y 2kEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=epd7X+IK; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id e3-v6si5135867qvl.279.2018.05.17.11.14.55 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 17 May 2018 11:14:55 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=epd7X+IK; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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]:38576 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJNQU-0003Um-Jl for patch@linaro.org; Thu, 17 May 2018 14:14:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJN6I-0003Bl-CJ for qemu-devel@nongnu.org; Thu, 17 May 2018 13:54:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJN6H-00077p-HQ for qemu-devel@nongnu.org; Thu, 17 May 2018 13:54:02 -0400 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:56140) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJN6H-00076v-BJ for qemu-devel@nongnu.org; Thu, 17 May 2018 13:54:01 -0400 Received: by mail-wm0-x22b.google.com with SMTP id a8-v6so9914344wmg.5 for ; Thu, 17 May 2018 10:54:01 -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=eAQ3luGPSIEFULeEFh4q8NIcFvtZLiXMM1SHLCzt1LQ=; b=epd7X+IKeuHshadesf0Oif9zADq1qII3Pe1R6yRPPZ4h3r0Ca75aS5Hy/Go1entPCv wxKE92oLgu64o9sq/J1huEUX0MDpbb+iAGqpjC6AYN6if2+6R34J1TUkWykFiJElS9my ebCXE0Lt8SOE7DvFrna8Rv7qEARlPzKaDDM4k= 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=eAQ3luGPSIEFULeEFh4q8NIcFvtZLiXMM1SHLCzt1LQ=; b=qdjk7bSObhcbkK1Tddz6sJgvt8YZgwo1CQQogDTwywyHbVhYe4EFEr+p4Rt7MVTQCp faMEfp3+wgrhRkMabndjDJv1eEtdXZSpUVlH8wrZuAmTdxRVARganB+W/tsZ49YyBnjz n+atYIGWDVa4WnWaNNB2ecKHePYx+DmeJkMWvddn/brNhZbX+fGsMC5lVvTMe3dG1eVw n+bL6qiIaBzkRBChnVz7SoeIuD94BuCKX6ES9C1fUOo1R3aQr5PQXkf1x672jgtJZTF4 KtnvD4xJHjs2J45ySyM0mX+SWGcRktyEqD8wdVPsMTiosL7Ypm/5F9ZzcwfWNBJE+MaJ xFuQ== X-Gm-Message-State: ALKqPwcgA6B1EfmsYITg6wFCjIEGMu5SBAevCUWjOow7a+houomh4Fle 8Bwhi0Of4+1tIdMfG70pvRacSA== X-Received: by 2002:a1c:b54c:: with SMTP id e73-v6mr2287539wmf.121.1526579640118; Thu, 17 May 2018 10:54:00 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id n23-v6sm5047992wmc.23.2018.05.17.10.53.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 May 2018 10:53:57 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 819443E0FA7; Thu, 17 May 2018 18:47:22 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Thu, 17 May 2018 18:47:13 +0100 Message-Id: <20180517174718.10107-45-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180517174718.10107-1-alex.bennee@linaro.org> References: <20180517174718.10107-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22b Subject: [Qemu-devel] [PATCH v4 44/49] tests/tcg: enable building for mips64 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yongbok Kim , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" As before, using Debian SID compilers. Signed-off-by: Alex Bennée --- tests/docker/Makefile.include | 1 + tests/docker/dockerfiles/debian-mips64-cross.docker | 12 ++++++++++++ tests/tcg/mips/Makefile.include | 3 +++ 3 files changed, 16 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-mips64-cross.docker -- 2.17.0 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 62d1f4dec0..f58afb8c5d 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -67,6 +67,7 @@ docker-image-debian-hppa-cross: docker-image-debian-sid docker-image-debian-m68k-cross: docker-image-debian-sid docker-image-debian-sh4-cross: docker-image-debian-sid docker-image-debian-sparc64-cross: docker-image-debian-sid +docker-image-debian-mips64-cross: docker-image-debian-sid docker-image-travis: NOUSER=1 # Expand all the pre-requistes for each docker image and test combination diff --git a/tests/docker/dockerfiles/debian-mips64-cross.docker b/tests/docker/dockerfiles/debian-mips64-cross.docker new file mode 100644 index 0000000000..ed1ce0e919 --- /dev/null +++ b/tests/docker/dockerfiles/debian-mips64-cross.docker @@ -0,0 +1,12 @@ +# +# Docker cross-compiler target +# +# This docker target builds on the debian sid base image which +# contains cross compilers for Debian "ports" targets. +# +FROM qemu:debian-sid + +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + gcc-mips64-linux-gnuabi64 \ + libc6-dev-mips64-cross diff --git a/tests/tcg/mips/Makefile.include b/tests/tcg/mips/Makefile.include index a9beceb623..4a14fc078d 100644 --- a/tests/tcg/mips/Makefile.include +++ b/tests/tcg/mips/Makefile.include @@ -8,6 +8,9 @@ ifeq ($(TARGET_NAME),mips64el) DOCKER_IMAGE=debian-mips64el-cross DOCKER_CROSS_COMPILER=mips64el-linux-gnuabi64-gcc +else ifeq ($(TARGET_NAME),mips64) +DOCKER_IMAGE=debian-mips64-cross +DOCKER_CROSS_COMPILER=mips64-linux-gnuabi64-gcc else ifeq ($(TARGET_NAME),mipsel) DOCKER_IMAGE=debian-mipsel-cross DOCKER_CROSS_COMPILER=mipsel-linux-gnu-gcc