Skip to content

Commit

Permalink
Update bosh release packaging scripts to use 'make -j'
Browse files Browse the repository at this point in the history
[#89665374]

Signed-off-by: Corey Innis <cinnis@pivotal.io>
  • Loading branch information
Christian Williams committed Mar 10, 2015
1 parent bc97511 commit 42461c5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
5 changes: 3 additions & 2 deletions release/packages/libpq/packaging
Expand Up @@ -6,5 +6,6 @@ cd postgresql-9.0.3
./configure --prefix=$BOSH_INSTALL_TARGET
cp -R src/include $BOSH_INSTALL_TARGET
cd src/interfaces/libpq
make
make install

make -j
make -j install
5 changes: 3 additions & 2 deletions release/packages/nginx/packaging
Expand Up @@ -13,6 +13,7 @@ echo "Extracting nginx..."
tar xzvf nginx/nginx-1.4.5.tar.gz

echo "Building nginx..."

pushd nginx-1.4.5
./configure \
--with-debug \
Expand All @@ -23,6 +24,6 @@ pushd nginx-1.4.5
--with-http_dav_module \
--add-module=../nginx-upload-module-2.2

make
make install
make -j
make -j install
popd
5 changes: 3 additions & 2 deletions release/packages/redis/packaging
Expand Up @@ -8,5 +8,6 @@ if [[ $? != 0 ]] ; then
fi

cd redis-2.6.9
make
make PREFIX=$BOSH_INSTALL_TARGET install

make -j
make -j PREFIX=$BOSH_INSTALL_TARGET install
8 changes: 4 additions & 4 deletions release/packages/ruby/packaging
Expand Up @@ -5,17 +5,17 @@ tar xzf ruby/yaml-0.1.5.tar.gz
set -e
cd yaml-0.1.5
CFLAGS='-fPIC' ./configure --prefix=${BOSH_INSTALL_TARGET} --disable-shared
make
make install
make -j
make -j install
)

tar xzf ruby/ruby-*.tar.gz
(
set -e
cd ruby-2.1.4
LDFLAGS="-Wl,-rpath -Wl,${BOSH_INSTALL_TARGET}" CFLAGS='-fPIC' ./configure --prefix=${BOSH_INSTALL_TARGET} --disable-install-doc --with-opt-dir=${BOSH_INSTALL_TARGET} --without-gmp
make
make install
make -j
make -j install
)

tar zxvf ruby/rubygems-2.3.0.tgz
Expand Down

0 comments on commit 42461c5

Please sign in to comment.