Overview
Comment: | Set MAKEFLAGS on NetBSD |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
25e0ed352999c8c3affbec8b1d9d56d7 |
User & Date: | js on 2022-11-27 23:03:51 |
Other Links: | manifest | tags |
Context
2022-11-27
| ||
23:10 | zshrc: Fix typo check-in: 82318b4ea2 user: js tags: trunk | |
23:03 | Set MAKEFLAGS on NetBSD check-in: 25e0ed3529 user: js tags: trunk | |
15:02 | fish: Only use color ls if available check-in: 831ff3f6e3 user: js tags: trunk | |
Changes
Modified fish/config.fish from [7a88376e57] to [38c84bc571].
︙ | ︙ | |||
57 58 59 60 61 62 63 64 65 66 | alias gssh="SSH_AUTH_SOCKET=$sock ssh" alias gssh-add="SSH_AUTH_SOCKET=$sock ssh-add" alias gsftp="SSH_AUTH_SOCKET=$sock sftp" end if test (uname -s) = Darwin set -x MAKEFLAGS -j(math (sysctl -n machdep.cpu.thread_count)'*2') else if type -q nproc set -x MAKEFLAGS -j(math (nproc)'*2') end | > > | 57 58 59 60 61 62 63 64 65 66 67 68 | alias gssh="SSH_AUTH_SOCKET=$sock ssh" alias gssh-add="SSH_AUTH_SOCKET=$sock ssh-add" alias gsftp="SSH_AUTH_SOCKET=$sock sftp" end if test (uname -s) = Darwin set -x MAKEFLAGS -j(math (sysctl -n machdep.cpu.thread_count)'*2') else if test (uname -s) = NetBSD set -x MAKEFLAGS -j(math (sysctl -n hw.ncpu)'*2') else if type -q nproc set -x MAKEFLAGS -j(math (nproc)'*2') end |
Modified zshrc from [fba2601d3a] to [a2f2a3e6ad].
︙ | ︙ | |||
219 220 221 222 223 224 225 226 227 228 229 230 231 232 | done __has_command vim && alias vi=vim __has_command gpg2 && alias gpg=gpg2 if [ "$(uname -s)" = "Darwin" ]; then export MAKEFLAGS="-j$(($(sysctl -n machdep.cpu.thread_count) * 2))" elif __has_command nproc; then export MAKEFLAGS="-j$(($(nproc) * 2))" fi make() { case "$PWD" in # pkgsrc needs bmake and does not like MAKEFLAGS including -j. | > > | 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 | done __has_command vim && alias vi=vim __has_command gpg2 && alias gpg=gpg2 if [ "$(uname -s)" = "Darwin" ]; then export MAKEFLAGS="-j$(($(sysctl -n machdep.cpu.thread_count) * 2))" elif [ "$(uname -s)" = "NetBSD"; then export MAKEFLAGS="-j$(($(sysctl -n hw.ncpu) * 2))" elif __has_command nproc; then export MAKEFLAGS="-j$(($(nproc) * 2))" fi make() { case "$PWD" in # pkgsrc needs bmake and does not like MAKEFLAGS including -j. |
︙ | ︙ |