Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2024 06:53:46 +0000
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        Xavier Humbert <xavier@groumpf.org>
Cc:        ports@FreeBSD.org
Subject:   Re: USES=llvm:min=17 wants 17 when 19 is installed
Message-ID:  <mng2bsqmf3m7xmwey74oywyxjvfy7ggxgd66kpbmuglrehkgng@nsv62nz24cpm>
In-Reply-To: <cc3a6c26-62de-4c16-abbf-13c67d3e4fdf@groumpf.org>
References:  <2pfyhqaqbhi7wkl46qz3iwnhumpglbmzhpfj4g7wjocmuin6x7@lzg3exkn6fck> <4ee9da56-3551-484c-9907-b809d3f9abfc@groumpf.org> <cc3a6c26-62de-4c16-abbf-13c67d3e4fdf@groumpf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 10 2024, 09:39 +0000, Xavier Humbert <xavier@groumpf.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?mng2bsqmf3m7xmwey74oywyxjvfy7ggxgd66kpbmuglrehkgng>