Replies: 1 comment
-
Indeed, there's currently no built-in way for the Another workaround that comes to mind (that's perhaps a bit cleaner/clearer than defining the
The in the spec file:
Although that's still not ideal, of course. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?Beta Was this translation helpful? Give feedback.
All reactions