git: 3c4e074f4923 - main - databases/tiledb: Add AVX2 option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Oct 2023 16:30:13 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c4e074f49230172dc8d458a4cd155def9eb4494 commit 3c4e074f49230172dc8d458a4cd155def9eb4494 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-10-16 16:29:17 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-10-16 16:30:07 +0000 databases/tiledb: Add AVX2 option - Fix SIGILL for machines without AVX2 support PR: 260913 Reported by: <jau@iki.fi> Submitted by: <alt2600@icloud.com> --- databases/tiledb/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/databases/tiledb/Makefile b/databases/tiledb/Makefile index e221fa074636..80069e220fc5 100644 --- a/databases/tiledb/Makefile +++ b/databases/tiledb/Makefile @@ -63,6 +63,12 @@ GH_ACCOUNT= TileDB-Inc GH_PROJECT= TileDB USE_GITHUB= yes +OPTIONS_DEFINE= AVX2 +OPTIONS_DEFAULT=AVX2 +AVX2_DESC= AVX2 instructions support + +AVX2_CMAKE_BOOL= COMPILER_SUPPORTS_AVX2 + post-install: ${RM} ${STAGEDIR}${PREFIX}/lib/libbz2.so ${STAGEDIR}${PREFIX}/lib/liblz4.so ${STAGEDIR}${PREFIX}/lib/libzstd.so