Re: mingw packaging: equivalent of %cmake_build, %cmake_install macros?

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

 



In the fmt.spec you posted, I see

%mingw_cmake -G Ninja  [...]

this means that you are generating ninja build scripts, not Makefiles. If you want to use ninja, you should call

%mingw_ninja

after %mingw_cmake -G Ninja.

Thanks! That appears to be the right thing for the %build section, I'm not sure what to do about the install section.

It's not that I WANT to use Ninja, it's that the author of the fmt.spec used it.

To generate Makefiles, call

%mingw_cmake

without the -G Ninja, and after this

%mingw_make_build

I've tried doing that for the mingw build only, leaving the native build using Ninja. The %mingw_cmake succeeds, bu the %mingw_make_build quickly fails:

+ /usr/bin/make -C build_win32 -O -j16 V=1 VERBOSE=1
make: *** No targets specified and no makefile found.  Stop.
error: Bad exit status from /var/tmp/rpm-tmp.cEdp0L (%build)

Best regards,
Eric


--
_______________________________________________
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, report it: https://pagure.io/fedora-infrastructure/new_issue

[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