Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: build failure with Xcode 15 linker #24964

Closed
@adamjstewart

Description

@adamjstewart

Describe the issue:

I'm unable to build numpy 1.26.1 with the new linker added in Xcode 15. However, adding the following allows the build to work:

export LDFLAGS=-Wl,-ld_classic

Reproduce the code example:

Error message:

Run-time dependency scipy-openblas found: NO (tried pkgconfig, framework and cmake)
  WARNING: CMake Toolchain: Failed to determine CMake compilers state
  Run-time dependency openblas found: NO (tried pkgconfig, pkgconfig, pkgconfig and system)

  ../../numpy/meson.build:169:4: ERROR: Problem encountered: No BLAS library detected! Install one, or use the `allow-noblas` build option (note, this may be up to 100x slower for some linear algebra operations).

Runtime information:

Numpy 1.26.1
Python 3.11.6
OpenBLAS 0.3.24

Context for the issue:

Possibly related to scipy/scipy#19357

@rgommers

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