The script didn't make use of parallel builds, which roughly cut the
build time in half with 4 cores. This can help a bit with the CI.
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=${HOME}/opt -DBUILD_STATIC_LIBS=OFF -DBUILD_MOCKTRACER=OFF -DBUILD_TESTING=OFF ..
- make
+ make -j$(nproc)
make install
echo "${OT_CPP_VERSION}" > "${HOME}/opt/.ot-cpp-version"
fi
cd opentracing-c-wrapper
./scripts/bootstrap
./configure --prefix=${HOME}/opt --with-opentracing=${HOME}/opt
- make
+ make -j$(nproc)
make install