[Debian-med-packaging] Infernal on i386
Andreas Tille
andreas at an3as.eu
Wed Sep 17 13:27:03 UTC 2014
Hi Jackson,
thanks for your input.
On Wed, Sep 17, 2014 at 11:10:24AM +1000, Jackson Doak wrote:
> Hello all,
>
> Would it be possible to build infernal on i386 again, and use a script to
> check for SSE2 support?
>
> For example, The package "ikarus", also requires SSE2 support.
> It has 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
> ;;
I admit I'm not sure whether this is really the best solution for the
problem. If you try to install a set of packages including infernal (or
ikarus) the installation just throws an error. This sounds suboptimal
to me. Is there any better solution for this problem?
Kind regards
Andreas.
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list