aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/cmake_build
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/cmake_build')
-rwxr-xr-xcmake/cmake_build9
1 files changed, 2 insertions, 7 deletions
diff --git a/cmake/cmake_build b/cmake/cmake_build
index 72785199f8..861453e434 100755
--- a/cmake/cmake_build
+++ b/cmake/cmake_build
@@ -10,12 +10,7 @@
set -e
set -x
-fulldir() {
- cd `dirname $1`
- echo `pwd`
-}
-
-here=`fulldir $0`
+here=$(cd `dirname $0`; echo `pwd`)
cores=32
if [[ -z "$BUILDTYPE" || -z "$SKIA_OUT" ]]; then
@@ -27,7 +22,7 @@ fi
echo "Bootstrapping CMake"
pushd $here/../third_party/externals/cmake
./bootstrap --parallel=$cores
-make -j $cores
+make -j $cores cmake
popd
echo "Building with bootstrapped CMake"