[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Subject=Re: Can a leaf package require SSE2 on i386?



The package "ikarus", another programming language implementation,
also requires SSE2 support.
There is a check in the preinst script which aborts installation if
sse2 is unavailable.

case "$1" in
    install|upgrade)
        if egrep -q '^flags[[:space:]]*:.*\bsse2\b' /proc/cpuinfo; then
            # echo CPU instruction set extension sse2 confirmed
            true
        else
            echo "error: CPU flag sse2 not found, aborting installation"
            exit 1
        fi
    ;;

Cheers,

--Barak.


Reply to: