From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B5C87158041 for ; Tue, 20 Feb 2024 04:32:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D05ED2BC017; Tue, 20 Feb 2024 04:32:39 +0000 (UTC) Received: from mail-oa1-x2d.google.com (mail-oa1-x2d.google.com [IPv6:2001:4860:4864:20::2d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 97E862BC014 for ; Tue, 20 Feb 2024 04:32:39 +0000 (UTC) Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-218eea4f1a7so1334457fac.3 for ; Mon, 19 Feb 2024 20:32:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708403558; x=1709008358; darn=lists.gentoo.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=EXwcJZXX+LL+F/X5EQWlbA3BR2p06Arog4SFFwPUS68=; b=a7642S+J79SQcKrQMYpOBA4DOdfZ51E78SXAB20whfljgAH3LB6rgoznXZUDnDVqPP 6wg20Q9eadGd7AXyDTR8N7yWuAEtlfPmn3WiwAFID1GIcgHrtV9PdJcbPXVlKbwSIDRt 0zvTAcvsRhXW2/wXoDe6IJeMnPv4K18Dx0DfjACQe+IGUSovtSDlte1xvWMGa33jB2IM JcaHzlL0PMrL0v0pVdN0BR0Z4qq6J1KswWq5+0I9ghQ2sr1LjHRDlGITUmXOckcI4EtU z2dmIksVJHn4PlhkcOfgWJV+RGcZe8jFgOkeTnI4PK9It3RD3xVPeUImmjswq9ek2zCM HJnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708403558; x=1709008358; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EXwcJZXX+LL+F/X5EQWlbA3BR2p06Arog4SFFwPUS68=; b=I9UIeVuuj7X7UBLf7zpYhn2110E8XyEl7agqYGEfJ+a+sEbaRaF0U2G6Ll8xdPaFST UWr/BWpSC+uf+bL1ysGM463+kvLhf42sT8uE+run50By06ThDopdA+QCnYEIXInnkKQo PUeqUyFwx8sLY93gfp+5UTLgRMXp674xEf9Kim6T6KBRgiWhI/XSh5dhI3KEtkwV2k5o bPxEELsfJhiMjLLwYTfCRPyWThdhMql+mR8dlZITpxDoDbLQ451kKxFz91YBABYrpYQG FnNzBcogGZfzUNi3DC6bMPhku1QLN5gsZX6lvwpurn8lWTIvtBAGnWrGCP4k+I3z18bL TEQg== X-Gm-Message-State: AOJu0YyBC518GQ9fVmmy+0scOBKIcgFJeK4pJIqy2eVXz0xIQM59A942 P10URXx2DraTCgKSRzDlxHEV2oA9mvABUTFJZHZpmYhvwkarkI6ItbjN02eD X-Google-Smtp-Source: AGHT+IFJr/kNuY8epbBEZB76YYwrBFw3NjxrRFFkUERRGvyvL7ViEwRTk4JHIQoSpNA+RRsaN+Bb+Q== X-Received: by 2002:a05:6870:3922:b0:21e:63b7:54a3 with SMTP id b34-20020a056870392200b0021e63b754a3mr11242147oap.29.1708403557347; Mon, 19 Feb 2024 20:32:37 -0800 (PST) Received: from acleverhostname.attlocal.net (108-200-163-197.lightspeed.bcvloh.sbcglobal.net. [108.200.163.197]) by smtp.gmail.com with ESMTPSA id fu6-20020a0568705d8600b0021ed50d4741sm854858oab.7.2024.02.19.20.32.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 20:32:36 -0800 (PST) From: Eli Schwartz To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] [PATCH 0/3] eclass updates for meson <> distutils <> LTO Date: Mon, 19 Feb 2024 23:26:46 -0500 Message-ID: <20240220043235.3889132-1-eschwartz93@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: ca46e9db-8413-460c-813a-4effee028271 X-Archives-Hash: 10e4f57689f99c53718ae181fcdb5894 Mainly motivated by some upstream work I did with dev-python/scipy, which has some ancient code that will never be updated to work with LTO, and some nice new code that works great. The first patch is a nice improvement on its own. The second one makes limited sense without the third one. Eli Schwartz (3): meson.eclass: wire up LTO support directly into the meson options distutils-r1.eclass: wire up meson-python to meson.eclass distutils-r1.eclass: fix src_configure to handle flag-o-matic correctly eclass/distutils-r1.eclass | 11 +++++++---- eclass/meson.eclass | 36 ++++++++++++++++++++++++++++++++---- 2 files changed, 39 insertions(+), 8 deletions(-) -- 2.43.0