Re: USES=llvm:min=17 wants 17 when 19 is installed
- In reply to: Xavier Humbert : "Re: USES=llvm:min=17 wants 17 when 19 is installed"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Sep 2024 06:53:46 UTC
On Sep 10 2024, 09:39 +0000, Xavier Humbert <xavier@groumpf.org> wrote: > >Le 10/09/2024 11:36, Xavier Humbert a écrit : >>Le 10/09/2024 10:29, Pietro Cerutti a écrit : >>>The port lang/picolisp currently depends on LLVM 17. It works fine >>>with newer versions of LLVM too, so in the process of updating it >>>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 >>>USES line to be USES=llvm:min=17,lib in the port's Makefile. >>>I would expect the port to be happy with version 19, but >>>apparently it wants 17: >>> >>>$ pkg info -x llvm >>>llvm19-19.1.0.r4 >>> >>>$ grep USES Makefile >>>USES= gmake llvm:min=17,lib pkgconfig readline ssl tar:tgz >>> >>># make all-depends-list | grep llvm >>>ports/devel/llvm17 >>> >>>Any idea? >>> >>You may set >> DEFAULT_VERSIONS+=llvm=19 >>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: this ports works fine with llvm 17, 18, or 19; pick whatever is installed, or fallback to llvm's default version. -- Pietro Cerutti I have pledged to give 10% of income to effective charities and invite you to join me - https://givingwhatwecan.org