On 1/17/19 7:08 AM, Ankur Sinha wrote:
> On Thu, Jan 17, 2019 14:07:44 +0100, Kevin Kofler wrote:
>> Ankur Sinha wrote:
>>> [1] https://github.com/sanjayankur31/rpm-specs/blob/arbor/arbor.spec#L107
>>
>> Any reason why you are not using the %cmake RPM macro?
> 
> I need to build the package with MPI also (mpich/openmpi) and the %cmake
> macro does not seem to take file locations set by the MPI modules into
> account (module show mpi/openmpi-x86_64 etc)
> 
> Is there a version of the macro that would do so? (I haven't been able
> to find one).
> 

Just pass the extra options to %cmake.  But be sure to use "%cmake" and not
"%{cmake}".  See
https://src.fedoraproject.org/rpms/vtk/blob/master/f/vtk.spec#_675 for example.


-- 
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       or...@nwra.com
Boulder, CO 80301                 https://www.nwra.com/
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to