Skip to content

scipy fails to build without -D__ACCELERATE__ #966

@remram44

Description

@remram44

On my Mac, scipy fails to build unless I set -D__ACCELERATE__:

  error: Command "gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -m64
  -mmacosx-version-min=10.9 -isysroot
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
  -Iscipy/sparse/linalg/eigen/arpack/ARPACK/SRC
  -I/Users/remirampin/Documents/programming/uvcdat/aa/install/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include
  -c
  /Users/remirampin/Documents/programming/uvcdat/aa/build/SCIPY/scipy/_build_utils/src/wrap_accelerate_c.c
  -o
  build/temp.macosx-10.4-x86_64-2.7/Users/remirampin/Documents/programming/uvcdat/aa/build/SCIPY/scipy/_build_utils/src/wrap_accelerate_c.o"
  failed with exit status 1

If I use CFLAGS=-D__ACCELERATE__ make then it builds.

Anybody else seeing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions