mirror of
git://git.2f30.org/morpheus.git
synced 2024-07-01 01:01:21 +00:00
Add nprocs
This commit is contained in:
parent
197b799f45
commit
99f234e993
@ -13,7 +13,7 @@ unpack() {
|
|||||||
build() {
|
build() {
|
||||||
pushd src/musl-0.9.13
|
pushd src/musl-0.9.13
|
||||||
./configure --prefix=$top/cross --syslibdir=$top/cross/lib
|
./configure --prefix=$top/cross --syslibdir=$top/cross/lib
|
||||||
make -j2
|
make -j$nprocs
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ fetch() {
|
|||||||
build() {
|
build() {
|
||||||
pushd src/sbase
|
pushd src/sbase
|
||||||
make clean
|
make clean
|
||||||
make CC=musl-gcc LDFLAGS=-static
|
make -j$nprocs CC=musl-gcc LDFLAGS=-static
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ fetch() {
|
|||||||
build() {
|
build() {
|
||||||
pushd src/ubase
|
pushd src/ubase
|
||||||
make clean
|
make clean
|
||||||
make CC=musl-gcc LDFLAGS=-static
|
make -j$nprocs CC=musl-gcc LDFLAGS=-static
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
3
stage0
3
stage0
@ -3,8 +3,9 @@
|
|||||||
# Export important variables for the build scripts
|
# Export important variables for the build scripts
|
||||||
top=$(pwd)
|
top=$(pwd)
|
||||||
root=$top/root
|
root=$top/root
|
||||||
|
nprocs=4
|
||||||
mirror=http://dl.2f30.org/morpheus-pkgs
|
mirror=http://dl.2f30.org/morpheus-pkgs
|
||||||
export top root mirror
|
export top root nprocs mirror
|
||||||
|
|
||||||
./clean
|
./clean
|
||||||
# Create directory hierarchy
|
# Create directory hierarchy
|
||||||
|
Loading…
Reference in New Issue
Block a user