git: 9f365186020a - main - biology/star: fix build on !amd64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Aug 2023 22:30:18 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=9f365186020ad4cdd56f7ec5bd91bc69dd376e21 commit 9f365186020ad4cdd56f7ec5bd91bc69dd376e21 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-08-19 21:51:47 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-08-19 21:51:47 +0000 biology/star: fix build on !amd64 The port tries to force AVX2, but it's only available on amd64. --- biology/star/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/biology/star/Makefile b/biology/star/Makefile index dd8137dee91f..6172318b1e7d 100644 --- a/biology/star/Makefile +++ b/biology/star/Makefile @@ -44,6 +44,12 @@ post-patch: ${WRKSRC}/bam_cat.h \ ${WRKSRC}/signalFromBAM.h +.include <bsd.port.options.mk> + +.if ${ARCH} != amd64 +MAKE_FLAGS+= CXXFLAGS_SIMD="" +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/STAR ${STAGEDIR}${PREFIX}/bin