Skip to content
Snippets Groups Projects
Commit b4346f9b authored by Piotr Kubaj's avatar Piotr Kubaj
Browse files

databases/tiledb: fix build on non-amd64

1. Fix build on powerpc by adding -Wno-c++11-narrowing.
2. Disable AVX2 by default since only modern amd64 supports it.
parent e2cfc26a
No related branches found
No related tags found
No related merge requests found
...@@ -28,9 +28,10 @@ RUN_DEPENDS= capnproto1>=1.0.1:devel/capnproto1 \ ...@@ -28,9 +28,10 @@ RUN_DEPENDS= capnproto1>=1.0.1:devel/capnproto1 \
USES= cmake compiler:c++17-lang localbase:ldflags pkgconfig ssl USES= cmake compiler:c++17-lang localbase:ldflags pkgconfig ssl
CFLAGS+= -DSPDLOG_FMT_EXTERNAL=1 CFLAGS+= -DSPDLOG_FMT_EXTERNAL=1
CFLAGS_armv6+= -Wno-c++11-narrowing CFLAGS_armv6= -Wno-c++11-narrowing
CFLAGS_armv7+= -Wno-c++11-narrowing CFLAGS_armv7= -Wno-c++11-narrowing
CFLAGS_i386+= -Wno-c++11-narrowing CFLAGS_i386= -Wno-c++11-narrowing
CFLAGS_powerpc= -Wno-c++11-narrowing
CMAKE_ARGS= -DCATCH_INCLUDE_DIR=${LOCALBASE}/include/catch2 \ CMAKE_ARGS= -DCATCH_INCLUDE_DIR=${LOCALBASE}/include/catch2 \
-DFREEBSD_OPENSSLBASE=${OPENSSLBASE} \ -DFREEBSD_OPENSSLBASE=${OPENSSLBASE} \
-Dlibmagic_DICTIONARY=/usr/share/misc/magic.mgc -Dlibmagic_DICTIONARY=/usr/share/misc/magic.mgc
...@@ -69,7 +70,6 @@ GH_PROJECT= TileDB ...@@ -69,7 +70,6 @@ GH_PROJECT= TileDB
USE_GITHUB= yes USE_GITHUB= yes
OPTIONS_DEFINE= AVX2 OPTIONS_DEFINE= AVX2
OPTIONS_DEFAULT=AVX2
AVX2_DESC= AVX2 instructions support AVX2_DESC= AVX2 instructions support
AVX2_CMAKE_BOOL= COMPILER_SUPPORTS_AVX2 AVX2_CMAKE_BOOL= COMPILER_SUPPORTS_AVX2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment