index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-04-14 19:41:57 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-04-14 19:41:57 +0200 |
commit | ff370122a964424f729fc4e478a1a84cc967a074 (patch) | |
tree | 0531a9bc80c15f860ff9051a9fca6ad137205052 /bin | |
parent | b408d8fb7c4692be53590175ce5eb05f4e12a362 (diff) |
-rwxr-xr-x | bin/build-packages | 7 |
diff --git a/bin/build-packages b/bin/build-packages index 990c1bb..19e836f 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -210,7 +210,12 @@ while [ "${count}" -ne 0 ] && \ arch='i486' ;; 'i686'|'x86_64') - arch='i686' + if grep '^flags\s*:' '/proc/cpuinfo' | \ + grep -qwF 'sse2'; then + arch='pentium4' + else + arch='i686' + fi ;; # TODO: someone should request build assignments for "pentium4" # It's probably a good idea to let pentium4 build slaves also build i686 |