From nobody Tue Sep 17 06:53:46 2024 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X7CDZ0V2Qz5WZ6y for ; Tue, 17 Sep 2024 06:53:50 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7CDY5fW4z4bKn; Tue, 17 Sep 2024 06:53:49 +0000 (UTC) (envelope-from gahr@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726556029; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ag/RVI+pqoTL0cGbY/ZrLmUPjb4J5ymdSZI8YAhDHeo=; b=icOve7cPV5sijdi02YxF6kDvYtG1pKZtI3B6T8NP9YPq+XNqvr/muTgINxZOmcS0yZDJmL T/Ve/wL30Zey7/t/GMoWLPDAZnHTXoYMBSbBkaM2V6jIfePIXv7ea5K2r6bh69SDPyjsX5 ZBloGPhVrYLrEojSNuTyhbbhoztWAgwBw9Wt+80VyKQJm5tAAWfxp5MlqYOgUFFMivLrcq y/LMslNc1rBuMtJBMdlYsp1WTqQStRhL4sUiY7QjZfu5PSPiHj1b631BJiiMYZq7EDmu0Z e0pDX7NyIUBSeOhXIT1EngAcqw0gytYMtDuAtqACYWRfx23ig7104+U8LhJVYw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726556029; a=rsa-sha256; cv=none; b=Deo8nQlPOfpL4fM83e8oOT4H44o4D+fVmwgtpMq9yZ3t+VUC4t0X6Z+m0OUH8WKJQpfIYf ed+OTNxbdK+/2cIpdzgrP3Eq+/ozeQcuacXfnxeQSr5o2JZsTg8veYFkU8bwwWLQqwbbTw GJY+HcL/enk8Fq3yLTmsA494+Janf0VvRRDIDUCwE+U5fUd2W14KA1xzCSGu+/3RHRZQlc 66Da3fhamlLeQzmPbEY+XHG21KY2AWu53I/hts4ucVFxgMiQkxk0rf1KizzqKFOeM4nA7l F6uDtgsZQUj4+PrZzIOqciWWd6MV1HXjQtnmQIg/9LKwz5KaQyWYX0B4Xh4wjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726556029; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ag/RVI+pqoTL0cGbY/ZrLmUPjb4J5ymdSZI8YAhDHeo=; b=DpysFK8girRIGMBV+lFi1Lwtgg3aDtmEYI1/7apDF9t7duB2GBx0+9oWe4uX/hkbWxB+Qt LXPJe6Ys3vbfohsXblHXBHTr7S9Q1kouCxpmFWPTVPfiR/TqjWD/vo3td1N8wp0GAn5QYr aPmZlBewAOUDfhFUSzIC4abfaopLNSCRZTcB4RdkRVRe6kM3B03vXLTghB2pg44SaiV3PZ IMRvPPsarA4mn87hBdXuDeu8D8s3yDpvuO6FnGFbhgfuFn5JTFtgVvGAmHQRHkTd7odqVE 3au/uu7SSy2o03uYaFjjv10KXJd0AXX4zYFphtxzZy5OqwMrrwzpf9tKg2cHpQ== Received: from ptrcrt.ch (ptrcrt.ch [IPv6:2a02:2770:8:0:21a:4aff:fe7e:c6be]) (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) (Client did not present a certificate) (Authenticated sender: gahr/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4X7CDY33XNzb3h; Tue, 17 Sep 2024 06:53:49 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Date: Tue, 17 Sep 2024 06:53:46 +0000 From: Pietro Cerutti To: Xavier Humbert Cc: ports@FreeBSD.org Subject: Re: USES=llvm:min=17 wants 17 when 19 is installed Message-ID: Reply-To: ports@FreeBSD.org References: <2pfyhqaqbhi7wkl46qz3iwnhumpglbmzhpfj4g7wjocmuin6x7@lzg3exkn6fck> <4ee9da56-3551-484c-9907-b809d3f9abfc@groumpf.org> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: User-Agent: NeoMutt/20240425-114-f30ad8 On Sep 10 2024, 09:39 +0000, Xavier Humbert wrote: > >Le 10/09/2024 11:36, Xavier Humbert a =E9crit : >>Le 10/09/2024 10:29, Pietro Cerutti a =E9crit : >>>The port lang/picolisp currently depends on LLVM 17. It works fine=20 >>>with newer versions of LLVM too, so in the process of updating it=20 >>>to a new version, I thought I'd update the llvm requirement. >>> >>>I currently have llvm-19 installed, and I am trying to modify the=20 >>>USES line to be USES=3Dllvm:min=3D17,lib in the port's Makefile. >>>I would expect the port to be happy with version 19, but=20 >>>apparently it wants 17: >>> >>>$ pkg info -x llvm >>>llvm19-19.1.0.r4 >>> >>>$ grep USES Makefile >>>USES=3D=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 gmake llvm:min=3D17,lib pkgconfig = readline ssl tar:tgz >>> >>># make all-depends-list | grep llvm >>>ports/devel/llvm17 >>> >>>Any idea? >>> >>You may set >>=A0=A0=A0 DEFAULT_VERSIONS+=3Dllvm=3D19 >>in make.conf >> >> >>Regards, >> >>Xavier >> >And use the variable ${LLVM_PORT:T} in the Makefile That is fine for a local override, but I was looking for a way to say:=20 this ports works fine with llvm 17, 18, or 19; pick whatever is=20 installed, or fallback to llvm's default version. --=20 Pietro Cerutti I have pledged to give 10% of income to effective charities and invite you to join me - https://givingwhatwecan.org