Re: Help needed: Where's the error?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/24/22 08:48, Florian Weimer wrote:
* Miro Hrončok:
Thanks. I was searching mostly for "error:" and could not find anything.

It also helps to invoke make with -O if building with -jN, which for
some reason does not happen for this build.

Because it uses %cmake_build instead of %make_build:

-13: cmake_build
  %__cmake --build "%{__cmake_builddir}" %{?_smp_mflags} --verbose

Now, you can pass build-tool flags with:

cmake --build <dir> [<options>] [-- <build-tool-options>]

but the problem then becomes that cmake supports multiple build tools, most notably ninja which does not support the -O option, and that many people need to pass options to cmake. But I might start calling:

%cmake_build -- -O

although I'm not entirely sure that it really is getting passed to make - I can't see it though I don't see -j getting passed in the output but I'm pretty sure that gets passed down.

--
Orion Poplawski
he/him/his  - surely the least important thing about me
IT Systems Manager                         720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                 https://www.nwra.com/

<<attachment: smime.p7s>>

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux