* debian/patches/{reprobuild,support_x32}: Refresh (had fuzz).
* debian/patches/support_gcc10: Drop build-system portions, incorporated
upstream as of this release.
+ * debian/patches/tune_lmdb_defaults: Rename from tune_32bit_lmdb_defaults;
+ scale down somewhat even on 64-bit platforms to account for potential
+ use of qemu. (Closes: #969608.)
- -- Aaron M. Ucko <ucko@debian.org> Sat, 19 Sep 2020 21:21:01 -0400
+ -- Aaron M. Ucko <ucko@debian.org> Sat, 19 Sep 2020 21:25:28 -0400
ncbi-blast+ (2.10.0-3) unstable; urgency=medium
spelling
support_gcc10
run_perl_directly
-tune_32bit_lmdb_defaults
+tune_lmdb_defaults
fix_x86isms
+++ /dev/null
-Index: b/c++/include/objtools/blast/seqdb_writer/writedb_lmdb.hpp
-===================================================================
---- a/c++/include/objtools/blast/seqdb_writer/writedb_lmdb.hpp
-+++ b/c++/include/objtools/blast/seqdb_writer/writedb_lmdb.hpp
-@@ -48,6 +48,11 @@ USING_SCOPE(objects);
-
- BEGIN_NCBI_SCOPE
-
-+#if NCBI_PLATFORM_BITS >= 64
-+# define NCBI_WRITEDB_DEFAULT_MAP_SIZE (300UL * 1000 * 1000 * 1000)
-+#else
-+# define NCBI_WRITEDB_DEFAULT_MAP_SIZE (750 * 1000 * 1000)
-+#endif
-
- /// This class supports creation of a string accession to integer OID
- /// lmdb database
-@@ -59,7 +64,8 @@ public:
-
- /// Constructor for LMDB write access
- /// @param dbname Database name
-- CWriteDB_LMDB(const string& dbname, Uint8 map_size = 300000000000, Uint8 capacity = 500000);
-+ CWriteDB_LMDB(const string& dbname, Uint8 map_size = NCBI_WRITEDB_DEFAULT_MAP_SIZE,
-+ Uint8 capacity = 500000);
-
- // Destructor
- ~CWriteDB_LMDB();
-@@ -130,7 +136,8 @@ public:
-
- /// Constructor for LMDB write access
- /// @param dbname Database name
-- CWriteDB_TaxID(const string& dbname, Uint8 map_size = 300000000000, Uint8 capacity = 500000);
-+ CWriteDB_TaxID(const string& dbname, Uint8 map_size = NCBI_WRITEDB_DEFAULT_MAP_SIZE,
-+ Uint8 capacity = 500000);
-
- // Destructor
- ~CWriteDB_TaxID();
--- /dev/null
+--- a/c++/include/objtools/blast/seqdb_writer/writedb_lmdb.hpp
++++ b/c++/include/objtools/blast/seqdb_writer/writedb_lmdb.hpp
+@@ -48,6 +48,11 @@ USING_SCOPE(objects);
+
+ BEGIN_NCBI_SCOPE
+
++#if NCBI_PLATFORM_BITS >= 64
++# define NCBI_WRITEDB_DEFAULT_MAP_SIZE (20UL * 1000 * 1000 * 1000)
++#else
++# define NCBI_WRITEDB_DEFAULT_MAP_SIZE (750 * 1000 * 1000)
++#endif
+
+ /// This class supports creation of a string accession to integer OID
+ /// lmdb database
+@@ -59,7 +64,8 @@ public:
+
+ /// Constructor for LMDB write access
+ /// @param dbname Database name
+- CWriteDB_LMDB(const string& dbname, Uint8 map_size = 300000000000, Uint8 capacity = 500000);
++ CWriteDB_LMDB(const string& dbname, Uint8 map_size = NCBI_WRITEDB_DEFAULT_MAP_SIZE,
++ Uint8 capacity = 500000);
+
+ // Destructor
+ ~CWriteDB_LMDB();
+@@ -130,7 +136,8 @@ public:
+
+ /// Constructor for LMDB write access
+ /// @param dbname Database name
+- CWriteDB_TaxID(const string& dbname, Uint8 map_size = 300000000000, Uint8 capacity = 500000);
++ CWriteDB_TaxID(const string& dbname, Uint8 map_size = NCBI_WRITEDB_DEFAULT_MAP_SIZE,
++ Uint8 capacity = 500000);
+
+ // Destructor
+ ~CWriteDB_TaxID();