svn commit: r512518 - head/databases/tiledb
Piotr Kubaj
pkubaj at FreeBSD.org
Sat Sep 21 15:40:58 UTC 2019
Author: pkubaj
Date: Sat Sep 21 15:40:57 2019
New Revision: 512518
URL: https://svnweb.freebsd.org/changeset/ports/512518
Log:
databases/tiledb: Fix build on non-x86 (due to -Werror)
Build on non-x86 currently fails with:
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-1.6.2/external/src/blosc/shuffle.cc:280:4: error: #warning Hardware-acceleration detection not implemented for the target architecture. Only the generic shuffle/unshuffle routines will be available. [-Werror=cpp]
280 | #warning Hardware-acceleration detection not implemented for the target architecture. Only the generic shuffle/unshuffle routines will be available.
| ^~~~~~~
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-1.6.2/external/src/blosc/shuffle.cc: In function 'blosc::shuffle_implementation_t blosc::get_shuffle_implementation()':
/wrkdirs/usr/ports/databases/tiledb/work/TileDB-1.6.2/external/src/blosc/shuffle.cc:290:22: error: unused variable 'cpu_features' [-Werror=unused-variable]
290 | blosc_cpu_features cpu_features = blosc_get_cpu_features();
| ^~~~~~~~~~~~
cc1plus: all warnings being treated as errors
Don't add -Werror to fix build.
PR: 240618
Approved by: portmgr (blanket: build fix), linimon (mentor)
Modified:
head/databases/tiledb/Makefile
Modified: head/databases/tiledb/Makefile
==============================================================================
--- head/databases/tiledb/Makefile Sat Sep 21 15:30:06 2019 (r512517)
+++ head/databases/tiledb/Makefile Sat Sep 21 15:40:57 2019 (r512518)
@@ -23,7 +23,7 @@ RUN_DEPENDS= catch>=0:devel/catch \
USES= cmake compiler:c++11-lang ssl
CMAKE_ARGS= -DCATCH_INCLUDE_DIR=${LOCALBASE}/include/catch2
-CMAKE_OFF= TILEDB_CMAKE_IDE TILEDB_FORCE_ALL_DEPS TILEDB_HDFS TILEDB_S3 TILEDB_SUPERBUILD TILEDB_TESTS_AWS_S3_CONFIG TILEDB_VERBOSE
+CMAKE_OFF= TILEDB_CMAKE_IDE TILEDB_WERROR TILEDB_FORCE_ALL_DEPS TILEDB_HDFS TILEDB_S3 TILEDB_SUPERBUILD TILEDB_TESTS_AWS_S3_CONFIG TILEDB_VERBOSE
CMAKE_ON= TILEDB_CPP_API TILEDB_STATIC TILEDB_STATS TILEDB_TBB TILEDB_TBB_SHARED TILEDB_TESTS TILEDB_TOOLS TILEDB_WERROR
GH_ACCOUNT= TileDB-Inc
More information about the svn-ports-all
mailing list