diff --git a/README.md b/README.md index 742b2bf..4a92144 100644 --- a/README.md +++ b/README.md @@ -25,23 +25,23 @@ mkdir workdir && cd workdir mkdir zlib libssl DPP poomer-discord sqlite3 && cd zlib git clone https://github.com/madler/zlib.git . ./configure --static -make -j$(sysctl -n hw.ncpu) +make -j$(nproc) cd ../libssl && git clone https://github.com/openssl/openssl.git . ./Configure $([ "$(uname -m)" = "aarch64" ] && echo "linux-aarch64" || echo "linux-x86_64") -make -j$(sysctl -n hw.ncpu) +make -j$(nproc) cd ../DPP && git clone https://github.com/brainboxdotcc/DPP.git . #zlib wants an absolute path to help cmake find_package work, ssl requires explicit vars cmake -B ./build \ -DCMAKE_PREFIX_PATH="$PWD/../zlib;$PWD/../libssl" -cmake --build ./build -j$(sysctl -n hw.ncpu) +cmake --build ./build -j$(nproc) cd ../sqlite3 wget https://www.sqlite.org/2025/sqlite-autoconf-3510100.tar.gz tar xzf sqlite-autoconf-3510100.tar.gz --strip-components=1 -./configure --enable-static --disable-shared && make -j$(sysctl -n hw.ncpu) +./configure --enable-static --disable-shared && make -j$(nproc) cd ../poomer-discord && git clone https://git.indoodle.com/oomer/poomer-discord.git . wget https://raw.githubusercontent.com/nothings/stb/master/stb_image.h wget https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h -make all -j$(sysctl -n hw.ncpu) +make all -j$(nproc) ``` ### MacOS x64 and arm64