wip
This commit is contained in:
parent
c37cdde63f
commit
31b999ac2b
1 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,8 @@ command_exists() {
|
|||
command -v "$@" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
cores="$(nproc 2>/dev/null || getconf NPROCESSORS_CONF)"
|
||||
|
||||
# ─< package variable >───────────────────────────────────────────────────────────────────
|
||||
unset PACKAGE
|
||||
|
||||
|
@ -97,7 +99,7 @@ getDependencies() {
|
|||
build() {
|
||||
echo_pkg build
|
||||
run cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
||||
run cmake --build ./build --config Release --target all -j$(nproc 2>/dev/null || getconf NPROCESSORS_CONF)
|
||||
run cmake --build ./build --config Release --target all -j"${cores}"
|
||||
}
|
||||
|
||||
cloneAndInstall() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue