Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
3af5b8e5
Commit
3af5b8e5
authored
Jun 06, 2005
by
stewart@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix BUILD/check-cpu for powerpc
parent
5ec15497
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
BUILD/check-cpu
BUILD/check-cpu
+8
-5
No files found.
BUILD/check-cpu
View file @
3af5b8e5
...
@@ -28,7 +28,7 @@ if test -r /proc/cpuinfo ; then
...
@@ -28,7 +28,7 @@ if test -r /proc/cpuinfo ; then
fi
fi
# parse CPU flags
# parse CPU flags
for
flag
in
`
$cpuinfo
|
grep
'flags'
|
sed
-e
's/^flags.*: //'
`
;
do
for
flag
in
`
$cpuinfo
|
grep
'
^
flags'
|
sed
-e
's/^flags.*: //'
`
;
do
eval
cpu_flag_
$flag
=
yes
eval
cpu_flag_
$flag
=
yes
done
done
else
else
...
@@ -52,7 +52,6 @@ fi
...
@@ -52,7 +52,6 @@ fi
# detect CPU shortname as used by gcc options
# detect CPU shortname as used by gcc options
# this list is not complete, feel free to add further entries
# this list is not complete, feel free to add further entries
cpu_arg
=
""
cpu_arg
=
""
case
"
$cpu_family
--
$model_name
"
in
case
"
$cpu_family
--
$model_name
"
in
# DEC Alpha
# DEC Alpha
Alpha
*
EV6
*
)
Alpha
*
EV6
*
)
...
@@ -98,9 +97,13 @@ case "$cpu_family--$model_name" in
...
@@ -98,9 +97,13 @@ case "$cpu_family--$model_name" in
cpu_arg
=
""
;
cpu_arg
=
""
;
;;
;;
#
#
*
ppc
*
)
cpu_arg
=
'powerpc'
;;
*
powerpc
*
)
*
powerpc
*
)
cpu_arg
=
`
echo
$model_name
|
sed
-e
"s/ppc//g"
`
cpu_arg
=
'powerpc'
;;
;;
# unknown
# unknown
...
@@ -111,7 +114,7 @@ esac
...
@@ -111,7 +114,7 @@ esac
if
test
-z
"
$cpu_arg
"
;
then
if
test
-z
"
$cpu_arg
"
;
then
echo
"BUILD/check-cpu: Oops, could not findout what kind of cpu this machine is using."
echo
"BUILD/check-cpu: Oops, could not find
out what kind of cpu this machine is using."
check_cpu_cflags
=
""
check_cpu_cflags
=
""
return
return
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment