File: check_isa-2_07_cap

package info (click to toggle)
valgrind 1:3.10.0-4~bpo7+1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 97,940 kB
  • sloc: ansic: 589,429; xml: 21,096; exp: 8,751; cpp: 7,366; asm: 6,526; perl: 5,656; sh: 5,334; makefile: 4,946; haskell: 195
file content (12 lines) | stat: -rwxr-xr-x 249 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# We use this script to check whether or not the processor supports
# Power ISA 2.07.
DIR="$( cd "$( dirname "$0" )" && pwd )"
LD_SHOW_AUXV=1 $DIR/true | grep  arch_2_07 > /dev/null 2>&1

if [ "$?" -ne "0" ]; then
	exit 1
else
	exit 0
fi