Re: can BUILD_REQUIRES atoms include a version

Jeremy Drake via Cygwin-apps <[email protected]>
Newsgroups gmane.os.cygwin.applications
Message-ID <[email protected]>
On Mon, 11 Aug 2025, Jeremy Drake via Cygwin-apps wrote:

> clang and lld require the matching version of llvm to build against.  The
> named libllvm20.1 package for the library itself is nice for runtime, but
> how do I ensure that scallywag pulls in the correct libllvm-devel (and
> libpolly-devel), especially while they are still test versions?

It seems like scallywag accepts BUILD_REQUIRES with package=version
format, but only if the version is the full "${PVR}" format (I first used
"${PV}" and that didn't work).  It seems like cygport isn't as happy with
that, it warns that the packages are not installed even if they are.

I did see a "testpackages" scallywag token, but that would install *all*
test packages, not just the ones it needs (so would link against a newer
cygwin dll for instance).

Also, is there a version constraint for binary package dependencies?  I
had to explicitly add a BUILD_REQUIRES to lld for llvm=${PVR} due to the
libllvm_devel_REQUIRES having just llvm in it, and that pulled in llvm 8
instead of llvm 20.  Obviously, libllvm_devel 20 requires llvm 20, not
llvm 8.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.