When tracking down a compiler issue exposed by an particular SPEC
application, I tend to add to the definitions of CC, CXX, and FC:
-keep -IPA:keeplight=OFF -IPA:max_jobs=12
and also add the following SPEC config variable definition.
makeflags = --jobs=12
and build via runspec. For example xalancbmk rebuilds very
quickly with these modifications.
Doug
From: Xiaohua Zhang [mailto:xiaohua_zh...@yahoo.com]
Sent: Monday, October 04, 2010 4:22 PM
To: Sun Chan
Cc: open64-devel@lists.sourceforge.net
Subject: Re: [Open64-devel] enable parallel make for ipa
Hi Sun,
Thanks for your comments. Do you have any suggest on what kind of large
applications we need to try?
-Xiaohua
________________________________
From: Sun Chan <sun.c...@gmail.com>
To: Xiaohua Zhang <xiaohua_zh...@yahoo.com>
Cc: open64-devel@lists.sourceforge.net
Sent: Mon, October 4, 2010 3:49:36 PM
Subject: Re: [Open64-devel] enable parallel make for ipa
there is probably some build graph problem that may cause hidden
dependency during compile. Likely introduced as people add new
capability and did not have large apps to test, instead of fixing the
problem later on, they simply disable it (just a wild guess, but it
used to work fine back then) You might need to compile some large apps
to find out though.
Sun
On Mon, Oct 4, 2010 at 2:11 PM, Xiaohua Zhang
<xiaohua_zh...@yahoo.com<mailto:xiaohua_zh...@yahoo.com>> wrote:
> Hi,
> Current the parallel make for IPA is disabled by following code:
>
> config_ipa.cxx:
> 195 #ifdef KEY
> 196 UINT32 IPA_Max_Jobs = 1; /* disable concurrent backend
> compilations */
> 197 #else
> 198 UINT32 IPA_Max_Jobs = 0; /* concurrent backend compilations
> */
> 199 #endif
>
> ipc_compile.cxx:
> 1308 #ifdef KEY
> 1309 if (IPA_Max_Jobs > 1)
> 1310 fprintf(sh_cmdfile, "-j %u ", IPA_Max_Jobs);
> 1311 #else
> 1312 if (IPA_Max_Jobs_Set)
> 1313 fprintf(sh_cmdfile, "-J %u ", IPA_Max_Jobs);
> 1314 #endif
>
> ipc_main.cxx:
> 291 // Enable parallel backend build after ipa
> 292 if (IPA_Max_Jobs == 0)
> 293 IPA_Max_Jobs = get_num_procs ();
>
> Does anyone know the reason to disable the parallel "be" build? If no one
> objects, I will enable it to speedup spec/application build time.
>
> Thanks,
> -Xiaohua
>
>
> ------------------------------------------------------------------------------
> Virtualization is moving to the mainstream and overtaking non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> Open64-devel mailing list
> Open64-devel@lists.sourceforge.net<mailto:Open64-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/open64-devel
>
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel