Quoting r. Eitan Zahavi <[EMAIL PROTECTED]>:
> -g = include debug information in executables and libs

IMO, there's no actual reason not to include this flag in release build.
You can always strip at the install stage if you want to.

> -O0 = prevent optimization
> 
> release mode uses:
> 
>         -O6 = max optimization for speed up

That would explain why does it take forever to build.
-O6 looks like an overkill. AFAIK, going above -O2 doesnt necessarily give
you a speedup.

libibverbs uses -O2, and thats used to run MPI.

-- 
MST
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to