File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,27 @@ jobs:
23
23
- name : Install dependencies
24
24
run : |
25
25
#brew unlink bazel
26
- brew install ossp-uuid libmemcached boost jsoncpp apr apr-util httpd ninja mongo-c-driver
26
+ brew install ossp-uuid libmemcached boost jsoncpp apr apr-util httpd ninja
27
27
pushd /tmp
28
28
wget -q https://ftp.osuosl.org/pub/blfs/conglomeration/unixODBC/unixODBC-2.3.12.tar.gz
29
29
tar zxf unixODBC-2.3.12.tar.gz
30
30
cd unixODBC-2.3.12
31
31
./configure && make && sudo make install
32
32
cd /tmp
33
33
rm -rf unixODBC-2.3.12
34
+ VERSION=1.26.2
35
+ wget "https://github.com/mongodb/mongo-c-driver/archive/refs/tags/$VERSION.tar.gz" --output-document="mongo-c-driver-$VERSION.tar.gz"
36
+ tar xf "mongo-c-driver-$VERSION.tar.gz"
37
+ rm -f "mongo-c-driver-$VERSION.tar.gz"
38
+ cd mongo-c-driver-$VERSION/ && mkdir _build && cmake -S . -B _build \
39
+ -D ENABLE_EXTRA_ALIGNMENT=OFF \
40
+ -D ENABLE_AUTOMATIC_INIT_AND_CLEANUP=OFF -D ENABLE_TESTS=OFF -D ENABLE_EXAMPLES=OFF \
41
+ -D CMAKE_BUILD_TYPE=RelWithDebInfo \
42
+ -D BUILD_VERSION="$VERSION" \
43
+ -D ENABLE_SSL=OFF \
44
+ -D ENABLE_SASL=OFF \
45
+ -D ENABLE_MONGOC=ON && cmake --build _build --config RelWithDebInfo --parallel && sudo cmake --install _build
46
+ rm -rf "mongo-c-driver-$VERSION"
34
47
#if [ -f /usr/local/lib/libssl.dylib ]; then
35
48
# sudo mv /usr/local/lib/libssl.dylib /usr/local/lib/libssl_bak.dylib
36
49
#fi
You can’t perform that action at this time.
0 commit comments