[Rpm-maint] [rpm-software-management/rpm] Adding parameters to conditional '--with' in the command line (Discussion #3206)
dletai
notifications at github.com
Fri Jul 12 10:44:09 UTC 2024
In configure it's often required to do something along the lines of `./configure --with-feature=path` for example
`--with-nvml=/usr/local/cuda`
Using %bcond_with mechanism, there doesn't seem to be a way to make this happen in command line, aside from something like
`rpmbuild -rb --define '_with_nvml --with-nvml=/usr/local/cuda'`
instead of the more intuitive (but not working)
`rpmbuild -rb --with nvml=/ur/local/cuda`
Is there a way (maybe with `%bcond`) to pass such arguments from intuitive command line to `%configure` (possibly with some handling by `%if %(with xxx)` construct?
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/3206
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/repo-discussions/3206 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240712/daef8931/attachment.html>
More information about the Rpm-maint
mailing list