Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile.power
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,13 @@ endif
ifeq ($(COMPILER_F77), xlf)
FCOMMON_OPT += -q64
endif
ARFLAGS = -X 64
ARFLAGS = -X64
ASFLAGS = -a64
endif
else
ifeq ($(OSNAME), AIX)
CCOMMON_OPT += -Wa,-a32
ARFLAGS = -X 32
ARFLAGS = -X32
ASFLAGS = -a32
endif
endif
Expand Down
3 changes: 3 additions & 0 deletions c_check
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

# Checking cross compile
hostos=`uname -s | sed -e 's/\-.*//'`
if [ "$hostos" = "OS400" ]; then
hostos = AIX
fi
hostarch=`uname -m | sed -e 's/i.86/x86/'`
if [ "$hostos" = "AIX" ] || [ "$hostos" = "SunOS" ]; then
hostarch=`uname -p`
Expand Down
1 change: 1 addition & 0 deletions c_check.pl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

# Checking cross compile
$hostos = `uname -s | sed -e s/\-.*//`; chop($hostos);
$hostos = "AIX" if ($hostos eq "OS400");
$hostarch = `uname -m | sed -e s/i.86/x86/`;
$hostarch = `uname -p` if ($hostos eq "AIX" || $hostos eq "SunOS");
chop($hostarch);
Expand Down
3 changes: 3 additions & 0 deletions driver/others/dynamic_power.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ char *gotoblas_corename(void) {
#ifndef POWER_10
#define POWER_10 0x40000 /* 10 class CPU */
#endif
#ifndef POWER_11
#define POWER_11 0x80000 /* 11 class CPU */
#endif

#ifdef _AIX
#include <sys/systemcfg.h>
Expand Down
Loading
Loading