ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/Common/cpu.sh
Revision: 18
Committed: 2007-06-07T19:03:17-07:00 (15 years, 7 months ago) by douglas
Content type: text/x-sh
File size: 316 byte(s)
Log Message:
More!

File Contents

# Content
1 #!/usr/local/bin/bash
2 # Truck Computer Dooom!
3 #
4 # Douglas Thrift
5 #
6 # $Id$
7
8 function march
9 {
10 echo "-march=$1"
11 }
12
13 case `guname -i` in
14 (Pentium\ III*)
15 march pentium3
16 ;;
17 (Intel\(R\)\ Xeon\(TM\)\ CPU*)
18 march pentium4
19 ;;
20 (AMD\ Athlon\(tm\)\ XP)
21 march athlon-xp
22 ;;
23 (AMD-K6\(tm\)\ 3D\ processor)
24 march k6-2
25 ;;
26 esac

Properties

Name Value
svn:executable *
svn:keywords Id