Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(876)

Unified Diff: cmake/cmake_build

Issue 1345663004: small tweaks to cmake_build (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cmake/cmake_build
diff --git a/cmake/cmake_build b/cmake/cmake_build
index 72785199f8503dbefc2a59a2680b03b53c32fd1e..861453e434aedd2b8f89050a02b106dcc0a0e140 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"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698