Re: how to set/unset env variables in spec file

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

 



On Tue, Sep 8, 2015 at 4:47 PM, Jonathan Underwood
<jonathan.underwood@xxxxxxxxx> wrote:
> I see what you're trying to do is build a package using the intel
> compiler suite rather than the usual gcc toolchain.
Exactly. And this is not an easy affair, especially as it is my first
rpmbuild. I can build the package from source with MKL and ICC, but I
would be happier to have a clean .rpm file to install.

 A few years ago I
> needed to do that for packaging molpro locally, so I am attaching that
> spec file which may give you some hints on how to go about it. Bare in
> mind that I haven't thought about this for a few years, so probably
> won't be able to answer any questions on it, but it might start you
> off in the right direction.

I will have a close look at your spec file. The point I am fighting
with is where/how to tell make to find the right stuff.
(ld_library_path, ld_flags, cxxflags etc)

Thank you for your help.
>
> On 8 September 2015 at 12:07, arnaud gaboury <arnaud.gaboury@xxxxxxxxx> wrote:
>> I am building a rpm package. For make to success and have the correct
>> env variables, I need to source a few scripts and unset a few
>> variables.
>> rpmbuild does not understand the source and unset commands.
>>
>> How shall I proceed to get the desired variables?
>>
>> Thank you
>>
>> --
>>
>> google.com/+arnaudgabourygabx
>> --
>> devel mailing list
>> devel@xxxxxxxxxxxxxxxxxxxxxxx
>> https://admin.fedoraproject.org/mailman/listinfo/devel
>> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>
> --
> devel mailing list
> devel@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct



-- 

google.com/+arnaudgabourygabx
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [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