We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3427c15 commit f51a9ebCopy full SHA for f51a9eb
.evergreen/compile-unix-cmake.sh
@@ -3,6 +3,13 @@ set -o xtrace # Write all commands first to stderr
3
set -o errexit # Exit the script with error if any of the commands fail
4
5
CMAKE=/opt/cmake/bin/cmake
6
+if command -v gtar 2>/dev/null; then
7
+ TAR=gtar
8
+else
9
+ TAR=tar
10
+fi
11
+
12
+$TAR xf ../mongoc.tar.gz -C . --strip-components=1
13
14
cpus=$(grep -c '^processor' /proc/cpuinfo)
15
MAKEFLAGS="-j${cpus}"
0 commit comments