diff options
author | Ravi Giri <ravi.giri@mongodb.com> | 2023-04-11 01:57:11 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-04-11 02:34:15 +0000 |
commit | ad3bdac036f8ab4e0b31be69cb27cabcbea4aad3 (patch) | |
tree | d0576b768157295fce005004bb756fdb976eb522 /src | |
parent | 78b42857a3e22a8d7d89b4a92ec919c6f2aad649 (diff) | |
download | mongo-ad3bdac036f8ab4e0b31be69cb27cabcbea4aad3.tar.gz |
Import wiredtiger: c3913a165a3a32189f702983c444d9af2ee2bca2 from branch mongodb-master
ref: e3217651bc..c3913a165a
for: 7.0.0-rc0
WT-10747 Remove out of date references to configure in WT documentation.
Diffstat (limited to 'src')
-rw-r--r-- | src/third_party/wiredtiger/import.data | 2 | ||||
-rw-r--r-- | src/third_party/wiredtiger/src/docs/compression.dox | 48 | ||||
-rw-r--r-- | src/third_party/wiredtiger/src/docs/encryption.dox | 13 |
3 files changed, 28 insertions, 35 deletions
diff --git a/src/third_party/wiredtiger/import.data b/src/third_party/wiredtiger/import.data index 5d02e2b76eb..b99f4c0cf02 100644 --- a/src/third_party/wiredtiger/import.data +++ b/src/third_party/wiredtiger/import.data @@ -2,5 +2,5 @@ "vendor": "wiredtiger", "github": "wiredtiger/wiredtiger.git", "branch": "mongodb-master", - "commit": "e3217651bc780ea1e3d31448a8f20b230dde2a06" + "commit": "c3913a165a3a32189f702983c444d9af2ee2bca2" } diff --git a/src/third_party/wiredtiger/src/docs/compression.dox b/src/third_party/wiredtiger/src/docs/compression.dox index bfaba7cec20..ebe5c16da61 100644 --- a/src/third_party/wiredtiger/src/docs/compression.dox +++ b/src/third_party/wiredtiger/src/docs/compression.dox @@ -9,16 +9,16 @@ To use the builtin support for Yann Collet's <a href="https://github.com/Cyan4973/lz4">LZ4</a> compression, first check that LZ4 is installed in include and library directories searched by the compiler. Once LZ4 is installed, you can -enable LZ4 using the \c --enable-lz4 option to configure. +enable LZ4 using the \c -DENABLE_LZ4=1 option to cmake. If LZ4 is installed in a location not normally searched by the -compiler toolchain, you'll need to modify the \c CPPFLAGS and \c LDFLAGS +compiler toolchain, you'll need to modify the include and library paths to indicate these locations. For example, with the LZ4 includes and libraries installed in \c /usr/local/include and \c /usr/local/lib, you -would run configure with the following additional arguments: +would run cmake with the following additional arguments: @code ---enable-lz4 CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/include" +-DENABLE_LZ4=1 -DCMAKE_INCLUDE_PATH=/usr/local/include -DCMAKE_LIBRARY_PATH=/usr/local/lib @endcode When opening the WiredTiger database, load the LZ4 shared library as @@ -38,16 +38,16 @@ To use the builtin support for <a href="http://code.google.com/p/snappy/">Google's snappy</a> compression, first check that snappy is installed in include and library directories searched by the compiler. Once snappy is installed, you can -enable snappy using the \c --enable-snappy option to configure. +enable snappy using the \c -DENABLE_SNAPPY=1 option to cmake. If snappy is installed in a location not normally searched by the -compiler toolchain, you'll need to modify the \c CPPFLAGS and \c LDFLAGS +compiler toolchain, you'll need to modify the include and library paths to indicate these locations. For example, with the snappy includes and libraries installed in \c /usr/local/include and \c /usr/local/lib, you -would run configure with the following additional arguments: +would run cmake with the following additional arguments: @code ---enable-snappy CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/include" +-DENABLE_SNAPPY=1 -DCMAKE_INCLUDE_PATH=/usr/local/include -DCMAKE_LIBRARY_PATH=/usr/local/lib @endcode When opening the WiredTiger database, load the snappy shared library as @@ -67,16 +67,16 @@ To use the builtin support for Greg Roelofs' and Mark Adler's <a href="http://www.zlib.net/">zlib</a> compression, first check that zlib is installed in include and library directories searched by the compiler. Once zlib is installed, you can -enable zlib using the \c --enable-zlib option to configure. +enable zlib using the \c -DENABLE_ZLIB=1 option to cmake. If zlib is installed in a location not normally searched by the compiler -toolchain, you'll need to modify the \c CPPFLAGS and \c LDFLAGS to +toolchain, you'll need to modify the include and library paths to indicate these locations. For example, with the zlib includes and libraries installed in \c /usr/local/include and \c /usr/local/lib, you -would run configure with the following additional arguments: +would run cmake with the following additional arguments: @code ---enable-zlib CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/include" +-DENABLE_ZLIB=1 -DCMAKE_INCLUDE_PATH=/usr/local/include -DCMAKE_LIBRARY_PATH=/usr/local/lib @endcode When opening the WiredTiger database, load the zlib shared library as @@ -97,25 +97,25 @@ to \c zlib: @snippet ex_all.c Create a zlib compressed table -@section compression_zstd Using Zstd compression +@section compression_zstd Using zstd compression To use the builtin support for Facebook's -<a href="https://github.com/facebook/zstd">Zstd</a> -compression, first check that Zstd is installed in include and library -directories searched by the compiler. Once Zstd is installed, you can -enable Zstd using the \c --enable-zstd option to configure. - -If Zstd is installed in a location not normally searched by the -compiler toolchain, you'll need to modify the \c CPPFLAGS and \c LDFLAGS -to indicate these locations. For example, with the Zstd includes and +<a href="https://github.com/facebook/zstd">zstd</a> +compression, first check that zstd is installed in include and library +directories searched by the compiler. Once zstd is installed, you can +enable zstd using the \c -DENABLE_ZSTD=1 option to cmake. + +If zstd is installed in a location not normally searched by the +compiler toolchain, you'll need to modify the include and library paths +to indicate these locations. For example, with the zstd includes and libraries installed in \c /usr/local/include and \c /usr/local/lib, you -would run configure with the following additional arguments: +would run cmake with the following additional arguments: @code ---enable-zstd CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/include" +-DENABLE_ZSTD=1 -DCMAKE_INCLUDE_PATH=/usr/local/include -DCMAKE_LIBRARY_PATH=/usr/local/lib @endcode -When opening the WiredTiger database, load the Zstd shared library as +When opening the WiredTiger database, load the zstd shared library as an extension. For example, with the WiredTiger library installed in \c /usr/local/lib, you would use the following extension: diff --git a/src/third_party/wiredtiger/src/docs/encryption.dox b/src/third_party/wiredtiger/src/docs/encryption.dox index 69dcc4ad116..69d74e78b48 100644 --- a/src/third_party/wiredtiger/src/docs/encryption.dox +++ b/src/third_party/wiredtiger/src/docs/encryption.dox @@ -136,19 +136,12 @@ memory while the database is running, and change it as well, so this limitation necessarily important.) To use the encryptor, first install libsodium; then you can compile WiredTiger with the -extension by passing the \c --enable-sodium option to configure, or the argument \c --DENABLE_SODIUM=1 to cmake. +extension by passing the argument \c -DENABLE_SODIUM=1 to cmake. If libsodium is installed in a location not normally searched by the compiler toolchain, -you'll need to modify the \c CPPFLAGS and \c LDFLAGS to indicate these locations. For +you'll need to modify the include and library paths to indicate these locations. For example, with the libsodium includes and libraries installed in \c /usr/local/include and -\c /usr/local/lib, you would run configure with the following additional arguments: - -@code ---enable-sodium CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/include" -@endcode - -Alternatively you would run cmake with the following additional arguments: +\c /usr/local/lib, you would run cmake with the following additional arguments: @code -DENABLE_SODIUM=1 -DCMAKE_INCLUDE_PATH=/usr/local/include -DCMAKE_LIBRARY_PATH=/usr/local/lib |