[csw-devel] SF.net SVN: gar:[6151] csw/mgar/pkg/pigz/trunk/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Sep 1 11:48:33 CEST 2009


Revision: 6151
          http://gar.svn.sourceforge.net/gar/?rev=6151&view=rev
Author:   dmichelsen
Date:     2009-09-01 09:48:33 +0000 (Tue, 01 Sep 2009)

Log Message:
-----------
pigz: Disable unneeded ISAs, set runpath and add unpigz

Modified Paths:
--------------
    csw/mgar/pkg/pigz/trunk/Makefile

Modified: csw/mgar/pkg/pigz/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pigz/trunk/Makefile	2009-08-31 15:52:29 UTC (rev 6150)
+++ csw/mgar/pkg/pigz/trunk/Makefile	2009-09-01 09:48:33 UTC (rev 6151)
@@ -26,7 +26,8 @@
 
 REQUIRED_PKGS = CSWzlib
 
-REQUESTED_ISAS = $(ISALIST_$(GARCOMPILER))
+# Optimization show effects < 5%
+#REQUESTED_ISAS = $(ISALIST_$(GARCOMPILER))
 
 CONFIGURE_SCRIPTS =
 BUILD_SCRIPTS = custom
@@ -38,12 +39,13 @@
 build-custom:
 	cd $(WORKSRC) && $(CC) $(CFLAGS) -c yarn.c
 	cd $(WORKSRC) && $(CC) $(CFLAGS) -c pigz.c
-	cd $(WORKSRC) && $(CC) $(LDFLAGS) -o pigz yarn.o pigz.o -lpthread -lz
+	cd $(WORKSRC) && LD_OPTIONS="$(LD_OPTIONS)" $(CC) $(LDFLAGS) -o pigz yarn.o pigz.o -lpthread -lz
 	@$(MAKECOOKIE)
 
 install-custom:
 	ginstall -d $(DESTDIR)$(bindir)
 	ginstall $(WORKSRC)/pigz $(DESTDIR)$(bindir)
+	cd $(DESTDIR)$(bindir) && gln pigz unpigz
 	ginstall -d $(DESTDIR)$(mandir)/man1
 	ginstall $(WORKSRC)/pigz.1 $(DESTDIR)$(mandir)/man1
 	ginstall -d $(DESTDIR)$(docdir)/$(GARNAME)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list