From patchwork Thu Feb 13 14:57:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 57267 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DCEDC0219D for ; Thu, 13 Feb 2025 14:57:52 +0000 (UTC) Received: from fllvem-ot03.ext.ti.com (fllvem-ot03.ext.ti.com [198.47.19.245]) by mx.groups.io with SMTP id smtpd.web10.12945.1739458670288348238 for ; Thu, 13 Feb 2025 06:57:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=cbzueWTi; spf=pass (domain: ti.com, ip: 198.47.19.245, mailfrom: reatmon@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllvem-ot03.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 51DEvl69659481 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 13 Feb 2025 08:57:47 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1739458667; bh=P7GMg83s0L0kb4y4ntbQfwlUcks9i77xqXbKqBrD4fw=; h=From:To:Subject:Date; b=cbzueWTijjElHZiffGUKNpAm3VB/AdlF68vHzz5da91KEb5ADK0eWLNn/v8gII1qw OE5HvVKLPTpvLd337yuNbnWjFQeECgq38T/Z4uQtz7+qVFZNUiPjIIAf3RKaD8yqxm BM/3mkOcEhxaGhwqHv0Umoaeud1vRgOmKIM5kZKQ= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTP id 51DEvlK9120284; Thu, 13 Feb 2025 08:57:47 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 13 Feb 2025 08:57:47 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 13 Feb 2025 08:57:47 -0600 Received: from uda0214219 (uda0214219.dhcp.ti.com [128.247.81.222]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 51DEvl2s014730; Thu, 13 Feb 2025 08:57:47 -0600 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1tiaex-0006my-0R; Thu, 13 Feb 2025 08:57:47 -0600 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-arago][master/scarthgap][PATCH] meta-arago-test: ltp-ddt: Update to 20250130 Date: Thu, 13 Feb 2025 08:57:46 -0600 Message-ID: <20250213145746.26056-1-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 13 Feb 2025 14:57:52 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/15843 Update the version of ltp-ddt to 2025.10. In order to work towards Yocto compliance for this repository we need to address the manner in which ltp-ddt was setup. Copying in the ltp recipe can create a situation where we are providing an alternative and maybe newer version of ltp that would violate the compliance checks. We also do not want to copy all of the settings from the ltp recipe. So we can change it from a .bb to a .inc file which we can still require and maintain the ltp-ddt recipe as an overlay on top the ltp settings. Additionally, remove the PROVIDES for ltp since technically we are not ltp proper. Signed-off-by: Ryan Eatmon --- .../{ltp-ddt_20240129.bb => ltp-ddt_20250130.bb} | 6 ++---- .../{ltp_20240129.inc => ltp_20250130.inc} | 15 ++++++--------- 2 files changed, 8 insertions(+), 13 deletions(-) copy meta-arago-test/recipes-devtools/ltp-ddt/{ltp-ddt_20240129.bb => ltp-ddt_20250130.bb} (89%) copy meta-arago-test/recipes-devtools/ltp-ddt/{ltp_20240129.inc => ltp_20250130.inc} (88%) diff --git a/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20240129.bb b/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20250130.bb similarity index 89% copy from meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20240129.bb copy to meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20250130.bb index 2567d820..6ddbfbe4 100644 --- a/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20240129.bb +++ b/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20250130.bb @@ -12,14 +12,12 @@ PE = "1" PR = "r1" PV:append = "+git" -SRCREV = "34602e4308a8c276bddfc0b4984b387037574f5c" -BRANCH ?= "master" +SRCREV = "551467bce4c38af24c9c98843770fdfe45e1e253" +BRANCH ?= "cicd" SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https" SRC_URI:prepend = "git://git.ti.com/git/test-automation/ltp-ddt.git;protocol=https;branch=${BRANCH} " -SRC_URI += " file://0001-reatmon-test.patch" - export prefix = "/opt/ltp" export exec_prefix = "/opt/ltp" diff --git a/meta-arago-test/recipes-devtools/ltp-ddt/ltp_20240129.inc b/meta-arago-test/recipes-devtools/ltp-ddt/ltp_20250130.inc similarity index 88% copy from meta-arago-test/recipes-devtools/ltp-ddt/ltp_20240129.inc copy to meta-arago-test/recipes-devtools/ltp-ddt/ltp_20250130.inc index f8e6d398..1a353a19 100644 --- a/meta-arago-test/recipes-devtools/ltp-ddt/ltp_20240129.inc +++ b/meta-arago-test/recipes-devtools/ltp-ddt/ltp_20250130.inc @@ -24,31 +24,28 @@ TUNE_CCARGS:remove:x86-64 = "-mfpmath=sse" CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__" CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" -SRCREV = "68737d20556d37364c95776044b1119c0912a36a" +SRCREV = "a7c31dff7edc089a32e990765e12952cc4d7666a" SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \ file://0001-Remove-OOM-tests-from-runtest-mm.patch \ - file://0001-scenario_groups-default-remove-connectors.patch \ - file://0001-sched_stress-Use-time_t-instead-of-long-for-type.patch \ " S = "${WORKDIR}/git" inherit autotools-brokensep pkgconfig -# Version 20220527 added KVM test infrastructure which currently fails to build with gold due to +# Version 20220527 added KVM test infrastructure which currently fails to build with lld due to # SORT_NONE in linker script which isn't supported by gold: # https://sourceware.org/bugzilla/show_bug.cgi?id=18097 # https://github.com/linux-test-project/ltp/commit/3fce2064b54843218d085aae326c8f7ecf3a8c41#diff-39268f0855c634ca48c8993fcd2c95b12a65b79e8d9fa5ccd6b0f5a8785c0dd6R36 -LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd', '', d)}" -LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -fuse-ld=bfd', '', d)}" +LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', '-fuse-ld=bfd', '', d)}" # After 0002-kvm-use-LD-instead-of-hardcoding-ld.patch # https://github.com/linux-test-project/ltp/commit/f94e0ef3b7280f886384703ef9019aaf2f2dfebb -# it fails with gold also a bit later when trying to use *-payload.bin +# it fails with lld also a bit later when trying to use *-payload.bin # http://errors.yoctoproject.org/Errors/Details/663094/ -# work around this by forcing .bfd linked in LD when ld-is-gold is in DISTRO_FEATURES -KVM_LD = "${@bb.utils.contains_any('DISTRO_FEATURES', 'ld-is-gold ld-is-lld', '${HOST_PREFIX}ld.bfd${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}', '${LD}', d)}" +# work around this by forcing .bfd linked in LD when ld-is-lld is in DISTRO_FEATURES +KVM_LD = "${@bb.utils.contains_any('DISTRO_FEATURES', 'ld-is-lld', '${HOST_PREFIX}ld.bfd${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}', '${LD}', d)}" TARGET_CC_ARCH += "${LDFLAGS}"