Commit bb65b800 authored by unknown's avatar unknown

Adding support for opteron optimization in build files.

parent 327afd65
...@@ -90,6 +90,9 @@ case "$cpu_family--$model_name" in ...@@ -90,6 +90,9 @@ case "$cpu_family--$model_name" in
*Athlon*) *Athlon*)
cpu_arg="athlon"; cpu_arg="athlon";
;; ;;
*Opteron*)
cpu_arg="opteron";
;;
# Intel ia64 # Intel ia64
*Itanium*) *Itanium*)
...@@ -147,6 +150,9 @@ case "$cc_ver--$cc_verno" in ...@@ -147,6 +150,9 @@ case "$cc_ver--$cc_verno" in
ppc-*) ppc-*)
check_cpu_args='-mcpu=$cpu_arg -mtune=$cpu_arg' check_cpu_args='-mcpu=$cpu_arg -mtune=$cpu_arg'
;; ;;
x86_64-*)
check_cpu_args='-mtune=$cpu_arg'
;;
*) *)
check_cpu_cflags="" check_cpu_cflags=""
return return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment