Skip to content

Commit

Permalink
iterating
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Nov 22, 2024
1 parent bf75568 commit a7f807e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion libtiledbsoma/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ target_link_options(TILEDB_SOMA_GEOMETRY_OBJECTS

target_compile_definitions(TILEDB_SOMA_GEOMETRY_OBJECTS
PRIVATE
-DTILEDB_NO_API_DEPRECATION_WARNINGS
-DTILEDB_REMOVE_DEPRECATIONS
)

target_compile_options(TILEDB_SOMA_GEOMETRY_OBJECTS
Expand Down
10 changes: 6 additions & 4 deletions scripts/bld
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ arg() { echo "$1" | sed "s/^${2-[^=]*=}//" | sed "s/:/;/g"; }
build="Release"
prefix=""
tiledb=""
cmake_verbose="false"
no_tiledb_deprecated="false"
# XXX TEMP DO NOT COMMIT
# cmake_verbose="false"
cmake_verbose="true"
allow_tiledb_deprecated="false"
werror="false"

while test $# != 0; do
Expand All @@ -21,7 +23,7 @@ while test $# != 0; do
--prefix=*) prefix=$(arg "$1");;
--tiledb=*) tiledb=$(arg "$1");;
--cmake-verbose=*) cmake_verbose=$(arg "$1");;
--no-tiledb-deprecated=*) no_tiledb_deprecated=$(arg "$1");;
--allow-tiledb-deprecated=*) allow_tiledb_deprecated=$(arg "$1");;
--werror=*) werror=$(arg "$1");;
esac
shift
Expand Down Expand Up @@ -70,7 +72,7 @@ elif [ "$werror" = "true" ]; then

fi

if [ "$no_tiledb_deprecated" = "true" ]; then
if [ "$allow_tiledb_deprecated" = "true" ]; then
extra_opts+=" -DTILEDB_REMOVE_DEPRECATIONS=OFF"
fi

Expand Down

0 comments on commit a7f807e

Please sign in to comment.