Ticket #45633: patch-lapack.diff

File patch-lapack.diff, 2.4 KB (added by smaret (Sebastien Maret), 10 years ago)
  • admin/Makefile.build

    # HG changeset patch
    # User Sean Farley <sean.michael.farley@gmail.com>
    # Date 1397871654 18000
    #      Fri Apr 18 20:40:54 2014 -0500
    # Node ID d903f416ef63711865f0b8325cd5bb06132af03e
    # Parent  0e344bcb0edfc864c73ef9072be1698768a94c55
    make: use frameworks for lapack
    
    diff --git a/admin/Makefile.build b/admin/Makefile.build
    a b endif 
    353353###########################################################################
    354354# The following targets are there to avoid make error (target search) when
    355355# only the shared libraries are installed (i.e. the corresponding archive
    356356# libraries are missing).
    357357
    358 -lblas:
     358-framework:
    359359
    360 -llapack:
     360Accelerate:
    361361
    362362-lslatec:
    363363
    364364-lX11:
    365365
  • admin/Makefile.def

    diff --git a/admin/Makefile.def b/admin/Makefile.def
    a b endif 
    536536STDCpp_LIB += @STDCXXLIB@
    537537
    538538###########################################################################
    539539# Kernel libraries
    540540
    541 LEGACY_LIBS = -lslatec -llapack -lblas
     541LEGACY_LIBS = -lslatec -framework Accelerate
    542542_GAG_LIBS = -lggui -lgcore -lgio -lgwcs -lgmath -lgsys -lginc
    543543ifndef GAG_WIN32
    544544  GAG_LIBS = $(_GAG_LIBS)
    545545else
    546546  GAG_LIBS = -lgkernel
  • legacy/slatec/Makefile

    diff --git a/legacy/slatec/Makefile b/legacy/slatec/Makefile
    a b M-all.o N-all.o O-all.o Q-all.o R-all.o 
    2222Sd-slatec.o Se-slatec.o Sg-slatec.o Si-slatec.o Sln-slatec.o So-slatec.o    \
    2323Sp-slatec.o Sqr-slatec.o Ss-slatec.o St-slatec.o Suz-slatec.o T-all.o       \
    2424U-all.o V-all.o W-all.o X-all.o Y-all.o Z-all.o d1mach.o i1mach.o pimach.o  \
    2525r1mach.o dummy.o P-all.o P-value.o Dp-1vlu.o
    2626
    27 LIB_DEPENDS = -llapack -lblas
     27LIB_DEPENDS = -framework Accelerate
    2828
    2929ifeq ($(GAG_COMPILER_KIND),ifc)
    3030  OPTION_FFLAGS =
    3131endif
    3232ifeq ($(GAG_COMPILER_KIND),ifort)
  • packages/clic/lib/Makefile

    diff --git a/packages/clic/lib/Makefile b/packages/clic/lib/Makefile
    a b CLIC_LIB_OBJECTS = blockdata.o check.o c 
    6262        sg_line_table.o table_passband.o clic_index.o
    6363
    6464# Mathematical library dependency
    6565ifeq ($(LINEAR),lapack)
    6666  LINEAR_LIB_OBJECTS = singular.o mth_lapack.o
    67   LINEAR_LIB_DEPENDS = -llapack -lblas
     67  LINEAR_LIB_DEPENDS = -framework Accelerate
    6868else
    6969  ifeq ($(LINEAR),nag)
    7070    LINEAR_LIB_OBJECTS = mth_nag.o
    7171    LINEAR_LIB_DEPENDS = -lnag
    7272  else