mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-10-18 19:43:24 +03:00
- Add persistent eproc settings for refresh interval, appearance, fonts,
and renderer options, with a settings button in the main window.
- Collect per-core CPU usage on macOS and FreeBSD for Performance charts.
- Keep the settings search focused in eproc and eterm, and wrap long
setting names.
- Share macOS theme-colored titlebar handling across ecode, eproc,
and eterm.
- Stabilize fixed-size UI tests on Retina displays and prevent macOS
build scripts from starting unlimited jobs when sysctl fails.
29 lines
718 B
Bash
Executable File
29 lines
718 B
Bash
Executable File
#!/bin/sh
|
|
cd $(dirname "$0")
|
|
|
|
USE_ARCH=
|
|
if command -v premake4 &> /dev/null
|
|
then
|
|
premake4 --file=../../premake4.lua --use-frameworks --disable-static-build gmake
|
|
elif command -v premake5 &> /dev/null
|
|
then
|
|
premake5 --file=../../premake5.lua --use-frameworks --disable-static-build gmake
|
|
USE_ARCH=arm64/
|
|
else
|
|
echo "Neither premake5 nor premake4 is available. Please install one."
|
|
exit 1
|
|
fi
|
|
|
|
cd ../../make/macosx/
|
|
|
|
JOBS=${EEPP_BUILD_JOBS:-$(sysctl -n hw.ncpu 2>/dev/null)}
|
|
if ! [ "$JOBS" -gt 0 ] 2>/dev/null; then
|
|
JOBS=$(getconf NPROCESSORS_ONLN 2>/dev/null)
|
|
fi
|
|
if ! [ "$JOBS" -gt 0 ] 2>/dev/null; then
|
|
echo "Could not determine a safe build job count." >&2
|
|
exit 1
|
|
fi
|
|
|
|
make -j"$JOBS" "$@"
|