[Scitech] Heads up - %configure and %cmake changes affecting MPI packages

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

 



This change in redhat-rpm-config:

* Wed Jun 03 2020 Igor Raits <ignatenkobrain@xxxxxxxxxxxxxxxxx> - 158-1
- Add option to choose C/C++ toolchain

changed %_set_build_flags to also set the CC/CXX compiler variables:

  CC=%{__cc}; export CC ; \
  CXX=%{__cxx}; export CXX ; \

This breaks the relatively common construct for building MPI versions of packages:

export CC=mpicc
export CXX=mpicxx
%configure

For %configure you can change to:

%configure CC=mpicc CXX=mpicxx

For %cmake (this will also work with %configure) you'll need to do:

%define __cc mpicc
%define __cxx mpicxx
%cmake

With koschei down (I presume it is due to the move) I think this has gone mostly unnoticed so far.

HTH,
  Orion

--
Orion Poplawski
Manager of NWRA Technical Systems          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
Description: S/MIME Cryptographic Signature

_______________________________________________
scitech mailing list -- scitech@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to scitech-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/scitech@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Deep Creek Hot Springs]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux