[PD-cvs] packages/darwin_app Makefile,1.65,1.65.2.1 BUGS,1.2,NONE

Hans-Christoph Steiner eighthave at users.sourceforge.net
Mon Dec 18 07:21:21 CET 2006


Update of /cvsroot/pure-data/packages/darwin_app
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5253/darwin_app

Modified Files:
      Tag: branch-v0-39-2-extended
	Makefile 
Removed Files:
      Tag: branch-v0-39-2-extended
	BUGS 
Log Message:
merged in optimization support from HEAD; set default built to G4-7450; bumped up to test7

Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/packages/darwin_app/Makefile,v
retrieving revision 1.65
retrieving revision 1.65.2.1
diff -C2 -d -r1.65 -r1.65.2.1
*** Makefile	11 Dec 2006 04:54:09 -0000	1.65
--- Makefile	18 Dec 2006 06:21:19 -0000	1.65.2.1
***************
*** 27,45 ****
  
  # base level optimizations
! OPT_CFLAGS = -Os -funroll-loops -fomit-frame-pointer
  
! # auto-vectorization in GCC 4.x (too buggy in 4.0, wait for 4.1)
! #OPT_CFLAGS += -ftree-vectorize -ftree-vectorizer-verbose=3
  
  ifeq ($(TARGET_PLATFORM),i386)
! OPT_CFLAGS += -march=pentium3 -msse -msse2 -mfpmath=sse
  endif
  
  ifeq ($(TARGET_PLATFORM),powerpc)
! # Package default, support older PowerPCs, but G4 (7450) is the most common
! OPT_CFLAGS += -mcpu=powerpc -mtune=7450 -mpowerpc-gfxopt
  
! # CPU-specific gleaned from http://developer.apple.com/releasenotes/DeveloperTools/RN-GCC4/
! # check this too: http://hpc.sourceforge.net/
  # Generic PowerPC
  #OPT_CFLAGS += -mcpu=powerpc -mpowerpc
--- 27,46 ----
  
  # base level optimizations
! #OPT_CFLAGS = -Os -funroll-loops -fomit-frame-pointer
  
! # auto-vectorization in GCC 4.x for CPUs with SIMD
! OPT_CFLAGS += -ftree-vectorize -ftree-vectorizer-verbose=3
  
  ifeq ($(TARGET_PLATFORM),i386)
! OPT_CFLAGS += -march=pentium4 -msse -msse2 -mfpmath=sse
  endif
  
  ifeq ($(TARGET_PLATFORM),powerpc)
! # Package default, support older PowerPCs, but G3 is the most common
! #OPT_CFLAGS += -mcpu=powerpc -mtune=G3
  
! # CPU-specific gleaned from:
! # http://developer.apple.com/releasenotes/DeveloperTools/RN-GCC4/
! # http://hpc.sourceforge.net/
  # Generic PowerPC
  #OPT_CFLAGS += -mcpu=powerpc -mpowerpc
***************
*** 47,58 ****
  #OPT_CFLAGS += -mcpu=750 -mpowerpc-gfxopt
  # PowerPC 7400 (G4 <= 700Mhz) 
! #OPT_CFLAGS += -mcpu=7400 -faltivec -mpowerpc-gfxopt
  # PowerPC 7450 (G4 >= 533MHz) 
! #OPT_CFLAGS += -fPIC -mcpu=7450 -mtune=7450 -fast -faltivec -ffast-math -mpowerpc-gfxopt
! # PowerPC G5 (gcc-3.3)
! #OPT_CFLAGS += -fast -fPIC -faltivec -mpowerpc-gpopt -mpowerpc-gfxopt
  endif
  
- 
  # these are sent to all of the various Makefiles so that they all copy their
  # output to the same directory tree
--- 48,58 ----
  #OPT_CFLAGS += -mcpu=750 -mpowerpc-gfxopt
  # PowerPC 7400 (G4 <= 700Mhz) 
! #OPT_CFLAGS += -fast -fPIC -mcpu=G4 -mtune=G4
  # PowerPC 7450 (G4 >= 533MHz) 
! OPT_CFLAGS += -fast -fPIC -mcpu=7450 -mtune=7450
! # PowerPC G5 (gcc-4.x)
! #OPT_CFLAGS += -fast -fPIC
  endif
  
  # these are sent to all of the various Makefiles so that they all copy their
  # output to the same directory tree
***************
*** 340,343 ****
--- 340,344 ----
  test_locations:
  	@echo --------------------------------------------------
+ 	@echo "OPT_CFLAGS: $(OPT_CFLAGS)"
  	@echo "PD_VERSION: $(PD_VERSION)"
  	@echo "PACKAGE_NAME: $(PACKAGE_NAME)"

--- BUGS DELETED ---





More information about the Pd-cvs mailing list