File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ PROJECT_DIRECTORY=${PROJECT_DIRECTORY:-$PWD}
77SWIFT_VERSION=${SWIFT_VERSION:- 5.1.5}
88INSTALL_DIR=" ${PROJECT_DIRECTORY} /opt"
99
10+ # this is set by drivers-matrix-testing, and it's a special variable used in swiftenv
11+ # leaving it set messes with the installation
12+ unset PLATFORM
13+
1014export SWIFTENV_ROOT=" ${INSTALL_DIR} /swiftenv"
1115export PATH=" ${SWIFTENV_ROOT} /bin:$PATH "
1216
Original file line number Diff line number Diff line change @@ -5,13 +5,14 @@ set -o errexit # Exit the script with error if any of the commands fail
55# variables
66PROJECT_DIRECTORY=${PROJECT_DIRECTORY:- $PWD }
77MONGODB_URI=${MONGODB_URI:- " NO_URI_PROVIDED" }
8- SWIFT_VERSION=${SWIFT_VERSION:- 5.1 }
8+ SWIFT_VERSION=${SWIFT_VERSION:- 5.2.5 }
99INSTALL_DIR=" ${PROJECT_DIRECTORY} /opt"
1010TOPOLOGY=${TOPOLOGY:- single}
1111OS=$( uname -s | tr ' [:upper:]' ' [:lower:]' )
1212EXTRA_FLAGS=" -Xlinker -rpath -Xlinker ${INSTALL_DIR} /lib"
1313RAW_TEST_RESULTS=" ${PROJECT_DIRECTORY} /rawTestResults"
1414XML_TEST_RESULTS=" ${PROJECT_DIRECTORY} /testResults.xml"
15+ INSTALL_DEPS=${INSTALL_DEPS:- " false" }
1516
1617# ssl setup
1718SSL=${SSL:- nossl}
@@ -20,6 +21,13 @@ if [ "$SSL" != "nossl" ]; then
2021 export SSL_CA_FILE=" $DRIVERS_TOOLS /.evergreen/x509gen/ca.pem"
2122fi
2223
24+ # if dependencies were not installed separately, do so now.
25+ # this is used for continous matrix testing
26+ if [ " $INSTALL_DEPS " == " true" ]; then
27+ SWIFT_VERSION=${SWIFT_VERSION} \
28+ sh ${PROJECT_DIRECTORY} /.evergreen/install-dependencies.sh
29+ fi
30+
2331# enable swiftenv
2432export SWIFTENV_ROOT=" ${INSTALL_DIR} /swiftenv"
2533export PATH=" ${SWIFTENV_ROOT} /bin:$PATH "
Original file line number Diff line number Diff line change @@ -51,7 +51,9 @@ public struct IndexOptions: Codable {
5151 /// Optionally specifies the precision of the stored geo hash in the 2d index, from 1 to 32.
5252 public var bits : Int ?
5353
54- /// Optionally specifies the number of units within which to group the location values in a geo haystack index.
54+ /// Optionally specifies the number of units within which to group the location values in a geoHaystack index.
55+ /// Note: geoHaystack indexes are deprecated in MongoDB 4.4 and will be removed in a future version of the
56+ /// server.
5557 public var bucketSize : Int ?
5658
5759 /// Optionally specifies a collation to use for the index in MongoDB 3.4 and higher. If not specified, no collation
You can’t perform that action at this time.
0 commit comments