Browse Source

Fixed #44 a makefile bug when DYNAMIC_ARCH=1 and INTERFACE64=1.

tags/v0.1alpha2.2^2
traits 14 years ago
parent
commit
30947ea2d5
2 changed files with 5 additions and 2 deletions
  1. +4
    -1
      Makefile
  2. +1
    -1
      Makefile.system

+ 4
- 1
Makefile View File

@@ -31,7 +31,7 @@ SUBDIRS_ALL = $(SUBDIRS) test ctest utest exports benchmark ../laswp ../bench

all :: libs netlib tests shared
@echo
@echo " GotoBLAS build complete."
@echo " OpenBLAS build complete."
@echo
@echo " OS ... $(OSNAME) "
@echo " Architecture ... $(ARCH) "
@@ -39,6 +39,9 @@ ifndef BINARY64
@echo " BINARY ... 32bit "
else
@echo " BINARY ... 64bit "
endif
ifdef INTERFACE64
@echo " Use 64 bits int (equivalent to \"-i8\" in Fortran) "
endif
@echo " C compiler ... $(C_COMPILER) (command line : $(CC))"
@echo " Fortran compiler ... $(F_COMPILER) (command line : $(FC))"


+ 1
- 1
Makefile.system View File

@@ -39,7 +39,7 @@ ifndef GOTOBLAS_MAKEFILE
export GOTOBLAS_MAKEFILE = 1

# Generating Makefile.conf and config.h
DUMMY := $(shell $(MAKE) -C $(TOPDIR) -f Makefile.getarch CC="$(CC)" FC="$(FC)" HOSTCC="$(HOSTCC)" CFLAGS=$(GETARCH_FLAGS) BINARY=$(BINARY) USE_OPENMP=$(USE_OPENMP) TARGET_CORE=$(TARGET_CORE) all)
DUMMY := $(shell $(MAKE) -C $(TOPDIR) -f Makefile.getarch CC="$(CC)" FC="$(FC)" HOSTCC="$(HOSTCC)" CFLAGS="$(GETARCH_FLAGS)" BINARY=$(BINARY) USE_OPENMP=$(USE_OPENMP) TARGET_CORE=$(TARGET_CORE) all)

ifndef TARGET_CORE
include $(TOPDIR)/Makefile.conf


Loading…
Cancel
Save