mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:27:35 +00:00
LibC+Kernel: Start implementing sysconf
For now, only the non-standard _SC_NPROCESSORS_CONF and _SC_NPROCESSORS_ONLN are implemented. Use them to make ninja pick a better default -j value. While here, make the ninja package script not fail if no other port has been built yet.
This commit is contained in:
parent
782cd93c01
commit
4eb967b5eb
9 changed files with 34 additions and 14 deletions
|
@ -13,5 +13,6 @@ build() {
|
|||
}
|
||||
|
||||
install() {
|
||||
mkdir -p "${SERENITY_ROOT}/Build/Root/usr/local/bin"
|
||||
cp "${workdir}/ninja" "${SERENITY_ROOT}/Build/Root/usr/local/bin/ninja"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue