Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q54YN-000320-9W for pgsql-hackers@arkaria.postgresql.org; Fri, 02 Jun 2023 13:10:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q54YL-0002JS-1J for pgsql-hackers@arkaria.postgresql.org; Fri, 02 Jun 2023 13:10:49 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q54YK-0002JI-JH for pgsql-hackers@lists.postgresql.org; Fri, 02 Jun 2023 13:10:48 +0000 Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1q54YH-003FuU-L5 for pgsql-hackers@postgresql.org; Fri, 02 Jun 2023 13:10:47 +0000 Received: by mail-oi1-x22d.google.com with SMTP id 5614622812f47-39810ce3e13so1749346b6e.2 for ; Fri, 02 Jun 2023 06:10:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=neon-tech.20221208.gappssmtp.com; s=20221208; t=1685711444; x=1688303444; h=in-reply-to:references:from:to:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=PZ8JCD0d6y1qV68Ug3WawmWTen/zi/APSn4YVMQ54BA=; b=mTpTHWlAF53u9e0hzCH1RFCaHNUF3BC9sq7yXlMcmb1x0BH7Wo7NYy0nQl8slzn1lV yvjofe+qd4AvsrlSVOR8G9zdqDVi4R3k3N2k3/RKzeFs/MBvzMs/1BVWuo89BwtCZREe 6zrooUpCi9ldQ5M1Sw1Rc1JKxIMUeGpgybRNEFBITCRLrHi3KWZO7aeDTKw8cT7GRNgS 3WagO56SXkTMxMinAW5C+w5+zBy9NEOuj3t8SbdtRg7aC2zeXWMV0AiBy9fh/oRAHT4Z A8aE8XNed8Uq+f2ebqWU0QtZAgJf3xqSwLRIBPY9I1o2YKMvJt3W16HNXeAWW5n5w6uf hhQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685711444; x=1688303444; h=in-reply-to:references:from:to:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=PZ8JCD0d6y1qV68Ug3WawmWTen/zi/APSn4YVMQ54BA=; b=gQ/JUHzXiJInxltwmBoF0PsU62O5FofVR9PP7fNa04cRRiSQDj0IR8Rh+wwjwfGbZh jYR4ZGj0IGPhtYiYWMlV+J6V43XUYJU0taZ/pu6OsIrnmEjTn2nbkKbsDiZF4mR2WvJJ Jm4RoNts581dUhWuRuIG6zmeZ+hAS5DZtyn/11WoFVItrsQU8WdiPWu2kSusU2XEfoqo TLVGt0bRBAwiu59TyVqbjajdUtEGQCyqbROn+nIiYVymq+WksuEpp2AssY4BRRz/+or2 9CZZsiWC0oJaEx+aKg84uArdWvA3dJ0mLuwFtG+FnZ+yPz1Y1osrXXN5Akm7oYdPyMAy ajeA== X-Gm-Message-State: AC+VfDzS/6dBJsDL2fIuoFuPjoh1Fpw+Q5F69jSJ4IkVwzrzM2uvSZbE MSnCSuizCEDo1MQhNxAxpqbGJ18xvnw6tHk8chI= X-Google-Smtp-Source: ACHHUZ7cj+UKs56zfpPcKKmmQnbbnRzO/JBPxpDNoZ7XkMeaqD0SU9kqnNkfW1z34SS3P1FP3548wQ== X-Received: by 2002:a05:6808:a1d:b0:398:5cf3:b95b with SMTP id n29-20020a0568080a1d00b003985cf3b95bmr2575113oij.22.1685711444551; Fri, 02 Jun 2023 06:10:44 -0700 (PDT) Received: from localhost ([2607:fb90:e696:c1dc:3996:e070:71ee:42fb]) by smtp.gmail.com with ESMTPSA id t27-20020a0568080b3b00b0039838671e5asm481077oij.58.2023.06.02.06.10.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Jun 2023 06:10:44 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 02 Jun 2023 08:10:43 -0500 Message-Id: Cc: =?utf-8?q?Dagfinn_Ilmari_Manns=C3=A5ker?= , "PostgreSQL Hackers" Subject: Re: [PATCH] Missing dep on Catalog.pm in meson rules To: "Andres Freund" From: "Tristan Partin" X-Mailer: aerc 0.15.2-33-gedd4752268b2 References: <87v8g7s6bf.fsf@wibble.ilmari.org> <329a690c-1f4e-4759-8018-8ee562c159f0@app.fastmail.com> <20230602130028.yf4jagpqqmivhx77@alap3.anarazel.de> In-Reply-To: <20230602130028.yf4jagpqqmivhx77@alap3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri Jun 2, 2023 at 8:00 AM CDT, Andres Freund wrote: > Hi, > > On 2023-06-01 23:06:04 -0500, Tristan Partin wrote: > > In our case, we should add the ^line to src/backend/catalog/meson.build= . > > src/backend is only reached well after src/include, due to needing > dependencies on files generated in src/include. I was worried about this :(. > I wonder if we instead could just make perl output the files it loads and > handle dependencies automatically that way? But that's more work, so it's > probably the right thing to go for the manual path for now. I am not familar with Perl enough (at all haha) to know if that is possible. I don't know exactly what these Perl files do, but perhaps it might make sense to have some global lookup table that is setup near the beginning of the script. perl_files =3D { 'Catalog.pm': files('path/to/Catalog.pm'), ... } Otherwise, manual as it is in the original patch seems like an alright compromise for now. --=20 Tristan Partin Neon (https://neon.tech)