In my last patch to remove the bash dependencies from the Makefiles (r3343), I changed the targdir_lib Makefile so that it no longer uses a shell for-loop to build the libraries. This is a good thing, as "make -j" can now build the libraries in parallel, resulting in a dramatic build speedup on modern hardware.
However, there is one library (libmv) which requires that another library in the list is already built (libacml_mv). The following patch makes the dependency explicit so that make will always build these two libraries in the correct order. Can a gatekeeper please review the change? Thanks, -David Coakley / AMD Open Source Compiler Engineering Index: osprey/targdir_lib/Makefile.in =================================================================== --- osprey/targdir_lib/Makefile.in (revision 3352) +++ osprey/targdir_lib/Makefile.in (working copy) @@ -9,6 +9,11 @@ default clean clobber: $(SUBDIRS) +# If building libacml_mv, build it before libmv. +ifneq (,$(findstring libacml_mv,$(SUBDIRS))) +libmv : libacml_mv +endif + $(SUBDIRS): @echo "MAKE $(ACTION) in $(PWD)/$@"; \ $(MAKE) $(if $V,,--no-print-directory) -C $@ $(ACTION) ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel