icc access (was Re: Using nginx 1.1 with the intel compiler)

Ryan Brown mp3geek at gmail.com
Sat Feb 25 13:56:44 UTC 2012


You're free to download/install the icc, Installs /opt/intel by default.

http://software.intel.com/en-us/articles/intel-software-evaluation-center/

But looking at the suggested patch, it looks safe? just changing the order?

On Sun, Feb 26, 2012 at 2:01 AM, Maxim Konovalov <maxim at nginx.com> wrote:
> Generally speaking, we (nginx team) will be grateful for an access to a
> host with Intel compiler suit (Intel Parallel Studio XE or Composer
> XE) with an appropriate license there.
>
> Or perhaps someone has a right contact in Intel to talk about that.
>
> On 2/25/12 8:28 AM, Ryan Brown wrote:
>>
>> Okay, it managed to compile with your suggested patch, its safe
>> to push into trunk :)
>>
>> nginx-dev+openssl-dev compiled under icc and working
>>
>>
>>>> diff --git a/auto/cc/name b/auto/cc/name --- a/auto/cc/name
>>>> +++ b/auto/cc/name @@ -64,16 +64,16 @@ if [ "$CC" = bcc32 ];
>>>> then echo " + using Borland C++ compiler"
>>>>
>>>> else +if `$CC -V 2>&1 | grep '^Intel(R) C'>/dev/null 2>&1`;
>>>> then +    NGX_CC_NAME=icc +    echo " + using Intel C++
>>>> compiler" + +else if `$CC -v 2>&1 | grep 'gcc
>>>> version'>/dev/null 2>&1`; then NGX_CC_NAME=gcc echo " +
>>>> using GNU C compiler"
>>>>
>>>> else -if `$CC -V 2>&1 | grep '^Intel(R) C'>/dev/null 2>&1`;
>>>> then -    NGX_CC_NAME=icc -    echo " + using Intel C++
>>>> compiler" - -else if `$CC -V 2>&1 | grep 'Sun C'>/dev/null
>>>> 2>&1`; then NGX_CC_NAME=sunc echo " + using Sun C compiler"
>>>>
>>
>> _______________________________________________ nginx mailing
>> list nginx at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> --
> Maxim Konovalov
> +7 (910) 4293178
> http://nginx.com/
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list