Skip to content

Commit

Permalink
use all cores while building
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamesits authored Jun 6, 2018
1 parent 4e2384a commit 9993d9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ cat > $workdir/ipxe_embed.ipxe <<-EOF
EOF
pushd $basedir/ipxe/src
! git reset --hard
make bin-x86_64-efi/ipxe.efi EMBED=$workdir/ipxe_embed.ipxe
make -j bin-x86_64-efi/ipxe.efi EMBED=$workdir/ipxe_embed.ipxe
cp bin-x86_64-efi/ipxe.efi $output_dir/ipxe.efi
make bin/undionly.kpxe EMBED=$workdir/ipxe_embed.ipxe
make -j bin/undionly.kpxe EMBED=$workdir/ipxe_embed.ipxe
cp bin/undionly.kpxe $output_dir/undionly.kpxe
! git reset --hard
popd
Expand All @@ -60,7 +60,7 @@ popd
mkdir -p $workdir/xmr-stak
pushd $workdir/xmr-stak
cmake $basedir/xmr-stak -DXMR-STAK_COMPILE=generic -DCMAKE_LINK_STATIC=ON -DCMAKE_BUILD_TYPE=Release -DMICROHTTPD_ENABLE=ON -DOpenSSL_ENABLE=ON -DCPU_ENABLE=ON -DHWLOC_ENABLE=ON -DOpenCL_ENABLE=OFF -DCUDA_ENABLE=OFF
make
make -j
popd

# extract iso
Expand Down

0 comments on commit 9993d9c

Please sign in to comment.