diff --git a/Makefile b/Makefile index 51e223d..afbe938 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,6 @@ cmake: mkdir -p $(BUILDDIR) git clone https://github.com/kitware/cmake $(BUILDDIR)/cmake cd $(BUILDDIR)/cmake; git checkout c4ab098 - cd $(BUILDDIR)/cmake; ./bootstrap --prefix=$(PREFIX) - cd $(BUILDDIR)/cmake; make + cd $(BUILDDIR)/cmake; ./bootstrap --prefix=$(PREFIX) --parallel=4 + cd $(BUILDDIR)/cmake; make -j4 cd $(BUILDDIR)/cmake; make install diff --git a/build.sh b/build.sh index 3c2bf92..7921ea3 100755 --- a/build.sh +++ b/build.sh @@ -8,7 +8,7 @@ echo Using prefix: $PREFIX mkdir -p $BUILDDIR git clone https://github.com/kitware/cmake $BUILDDIR/cmake cd $BUILDDIR/cmake; git checkout 7700df9b1ef66761cad08cfc08344d5b27660e9f -cd $BUILDDIR/cmake; ./bootstrap --prefix=$PREFIX -cd $BUILDDIR/cmake; make +cd $BUILDDIR/cmake; ./bootstrap --prefix=$PREFIX --parallel=4 +cd $BUILDDIR/cmake; make -j4 cd $BUILDDIR/cmake; make install