Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 01:22:56 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338732 - head/benchmarks/nqueens
Message-ID:  <201401050122.s051MvOu005760@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Jan  5 01:22:56 2014
New Revision: 338732
URL: http://svnweb.freebsd.org/changeset/ports/338732

Log:
  Support stage
  Sorry for ricers but -O9 doesn't bring anything :), turn it into -O3

Modified:
  head/benchmarks/nqueens/Makefile

Modified: head/benchmarks/nqueens/Makefile
==============================================================================
--- head/benchmarks/nqueens/Makefile	Sun Jan  5 01:20:50 2014	(r338731)
+++ head/benchmarks/nqueens/Makefile	Sun Jan  5 01:22:56 2014	(r338732)
@@ -17,11 +17,10 @@ OPTIONS_DEFINE=	MPI STATIC OPTIMIZED_CFL
 MPI_DESC=	Build distributed MPI version
 STATIC_DESC=	Link resulting binaries statically
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
-CFLAGS+=	-O9 -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
+CFLAGS+=	-O3 -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
 .endif
 .if ${PORT_OPTIONS:MSTATIC}
 CFLAGS+=	-static
@@ -50,7 +49,7 @@ PLIST_FILES=	${PROGS:S/^/bin\//}
 
 do-install:
 .for p in ${PROGS}
-	${INSTALL_PROGRAM} ${WRKSRC}/${p} ${PREFIX}/bin/
+	${INSTALL_PROGRAM} ${WRKSRC}/${p} ${STAGEDIR}${PREFIX}/bin/
 .endfor
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401050122.s051MvOu005760>