0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-25 09:19:32 +01:00
mongodb/jstests/watchdog/charybdefs_setup.sh
Andrew Morrow 7657e615d2 SERVER-62994 Use v4 toolchain for everything except clang format
It has been a pleasure working here and quite the wild ride.

Good luck everyone.
2022-12-13 23:03:13 +00:00

28 lines
557 B
Bash
Executable File

#!/bin/bash
# Script to setup charybdefs
set -euo pipefail
IFS=$'\n\t'
if [ "$#" -ne 0 ]; then
echo "This script does not take any arguments"
exit 1
fi
echo Start - charybdefs_setup.sh
cd /data
rm -rf /data/charybdefs
rm -rf /data/thrift
# Use the mongo branch and fork from here
git clone -b mongo_42 https://github.com/markbenvenuto/charybdefs.git
# Run the build script in the mongo branch
cd charybdefs/mongo
# Build and setup thrift and charybdefs
PATH=/opt/mongodbtoolchain/v4/bin:$PATH bash ./build.sh
echo Done - charybdefs_setup.sh