mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-07-25 17:21:57 -07:00
committed by
Andrew Gallant
parent
d73a75d6cd
commit
d775259ed9
14
ci/utils.sh
14
ci/utils.sh
@@ -39,11 +39,11 @@ dobin() {
|
||||
}
|
||||
|
||||
architecture() {
|
||||
case $1 in
|
||||
x86_64-unknown-linux-gnu|x86_64-unknown-linux-musl)
|
||||
case ${TARGET:?} in
|
||||
x86_64-*)
|
||||
echo amd64
|
||||
;;
|
||||
i686-unknown-linux-gnu|i686-unknown-linux-musl)
|
||||
i686-*|i586-*|i386-*)
|
||||
echo i386
|
||||
;;
|
||||
arm*-unknown-linux-gnueabihf)
|
||||
@@ -54,3 +54,11 @@ architecture() {
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
is_ssse3_target() {
|
||||
case "${TARGET}" in
|
||||
i686-unknown-netbsd) return 1 ;; # i686-unknown-netbsd - SSE2
|
||||
i686*|x86_64*) return 0 ;;
|
||||
esac
|
||||
return 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user