From owner-svn-ports-head@freebsd.org Wed Dec 27 07:36:07 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9EC84EA9305; Wed, 27 Dec 2017 07:36:07 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5BA357B9AE; Wed, 27 Dec 2017 07:36:07 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBR7a6Ae062087; Wed, 27 Dec 2017 07:36:06 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBR7a6l0062082; Wed, 27 Dec 2017 07:36:06 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201712270736.vBR7a6l0062082@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Wed, 27 Dec 2017 07:36:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457351 - in head: audio/zita-convolver audio/zita-convolver/files biology/phyml games/trigger-rally games/trigger-rally/files X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: in head: audio/zita-convolver audio/zita-convolver/files biology/phyml games/trigger-rally games/trigger-rally/files X-SVN-Commit-Revision: 457351 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Dec 2017 07:36:07 -0000 Author: linimon Date: Wed Dec 27 07:36:05 2017 New Revision: 457351 URL: https://svnweb.freebsd.org/changeset/ports/457351 Log: Disable the extra flag "-march=native" on arm to fix builds. Approved by: portmgr (tier-2 blanket) Obtained from: lonesome.com -exp run Modified: head/audio/zita-convolver/Makefile head/audio/zita-convolver/files/patch-Makefile head/biology/phyml/Makefile head/games/trigger-rally/Makefile head/games/trigger-rally/files/patch-GNUmakefile Modified: head/audio/zita-convolver/Makefile ============================================================================== --- head/audio/zita-convolver/Makefile Wed Dec 27 07:04:51 2017 (r457350) +++ head/audio/zita-convolver/Makefile Wed Dec 27 07:36:05 2017 (r457351) @@ -16,9 +16,9 @@ LICENSE_FILE= ${WRKSRC}/../COPYING BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libfftw3f.so:math/fftw3-float -BROKEN_aarch64= fails to compile: c++: the clang compiler does not support '-march=native' -BROKEN_armv6= fails to compile: c++: the clang compiler does not support '-march=native' -BROKEN_armv7= fails to compile: c++: the clang compiler does not support '-march=native' +#BROKEN_aarch64= fails to compile: c++: the clang compiler does not support '-march=native' +#BROKEN_armv6= fails to compile: c++: the clang compiler does not support '-march=native' +#BROKEN_armv7= fails to compile: c++: the clang compiler does not support '-march=native' USES= compiler:c++11-lib gmake localbase:ldflags tar:bz2 USE_LDCONFIG= yes Modified: head/audio/zita-convolver/files/patch-Makefile ============================================================================== --- head/audio/zita-convolver/files/patch-Makefile Wed Dec 27 07:04:51 2017 (r457350) +++ head/audio/zita-convolver/files/patch-Makefile Wed Dec 27 07:36:05 2017 (r457351) @@ -11,6 +11,15 @@ MAJVERS = 3 +@@ -33,7 +33,7 @@ VERSION = $(MAJVERS).$(MINVERS) + CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DENABLE_VECTOR_MODE + CXXFLAGS += -fPIC -Wall + CXXFLAGS += -ffast-math -funroll-loops -O3 +-CXXFLAGS += -march=native ++#CXXFLAGS += -march=native + LDLFAGS += + LDLIBS += + @@ -45,9 +45,10 @@ ZITA-CONVOLVER_DEP = -lfftw3f -lpthread ZITA-CONVOLVER_O = zita-convolver.o ZITA-CONVOLVER_H = zita-convolver.h Modified: head/biology/phyml/Makefile ============================================================================== --- head/biology/phyml/Makefile Wed Dec 27 07:04:51 2017 (r457350) +++ head/biology/phyml/Makefile Wed Dec 27 07:36:05 2017 (r457351) @@ -13,9 +13,9 @@ COMMENT= Simple, fast, and accurate algorithm to estim LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_aarch64= fails to compile: c++: the clang compiler does not support '-march=native' -BROKEN_armv6= fails to compile: c++: the clang compiler does not support '-march=native' -BROKEN_armv7= fails to compile: c++: the clang compiler does not support '-march=native' +#BROKEN_aarch64= fails to compile: c++: the clang compiler does not support '-march=native' +#BROKEN_armv6= fails to compile: c++: the clang compiler does not support '-march=native' +#BROKEN_armv7= fails to compile: c++: the clang compiler does not support '-march=native' USE_GITHUB= yes GH_ACCOUNT= stephaneguindon @@ -50,6 +50,9 @@ BIN_SUFFIX= # none post-patch: @${REINPLACE_CMD} -e \ 's|-O2 .* $${ARCH_flag}|$${CFLAGS}|' ${WRKSRC}/configure.ac +.if ${ARCH} != amd64 && ${ARCH} != i386 + @${REINPLACE_CMD} -e 's|VECTOR_FLAG=-march=native|dnl &|' ${WRKSRC}/configure.ac +.endif @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/utilities.h post-install-DOCS-on: Modified: head/games/trigger-rally/Makefile ============================================================================== --- head/games/trigger-rally/Makefile Wed Dec 27 07:04:51 2017 (r457350) +++ head/games/trigger-rally/Makefile Wed Dec 27 07:36:05 2017 (r457351) @@ -15,10 +15,10 @@ LICENSE= GPLv2 LIB_DEPENDS= libphysfs.so:devel/physfs LIB_DEPENDS+= libalut.so:audio/freealut -BROKEN_aarch64= fails to compile: error: the clang compiler does not support -march=native -BROKEN_armv6= fails to compile: error: the clang compiler does not support -march=native -BROKEN_armv7= fails to compile: error: the clang compiler does not support -march=native -BROKEN_powerpc64= fails to compile: error: the clang compiler does not support -march=native +#BROKEN_aarch64= fails to compile: error: the clang compiler does not support -march=native +#BROKEN_armv6= fails to compile: error: the clang compiler does not support -march=native +#BROKEN_armv7= fails to compile: error: the clang compiler does not support -march=native +#BROKEN_powerpc64= fails to compile: error: the clang compiler does not support -march=native WRKSRC_SUBDIR= src USES= gmake openal:al,alut Modified: head/games/trigger-rally/files/patch-GNUmakefile ============================================================================== --- head/games/trigger-rally/files/patch-GNUmakefile Wed Dec 27 07:04:51 2017 (r457350) +++ head/games/trigger-rally/files/patch-GNUmakefile Wed Dec 27 07:36:05 2017 (r457351) @@ -1,5 +1,14 @@ --- GNUmakefile.orig 2016-11-05 17:27:10 UTC +++ GNUmakefile +@@ -21,7 +21,7 @@ SRCFILES := $(shell find $(PROJDI + OBJFILES := $(patsubst %.cpp, %.o, $(SRCFILES)) + DEPFILES := $(patsubst %.cpp, %.d, $(SRCFILES)) + WARNINGS ?= -Wall -Wextra -pedantic +-OPTIMS ?= -march=native -mtune=native -Ofast ++OPTIMS ?= -mtune=native -Ofast + DMACROS := -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"$(DISTVER)\" + INCDIRS := -I'./include' + CXXFLAGS += -std=c++11 $(WARNINGS) $(OPTIMS) @@ -125,7 +125,7 @@ $(TR_EXEFILE): $(OBJFILES) printf "\t%s\n" $$file; \ done;