[MacPorts] #68689: CMake no longer finds OpenBLAS
MacPorts
noreply at macports.org
Mon Nov 13 18:59:10 UTC 2023
#68689: CMake no longer finds OpenBLAS
------------------------------+--------------------
Reporter: szhorvat | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: openblas, cmake |
------------------------------+--------------------
Description changed by szhorvat:
Old description:
> CMake is no longer finding OpenBLAS and I am not sure why.
>
> I am using:
>
> {{{
> OpenBLAS @0.3.24 (math, science)
> cmake @3.24.4 (devel)
> }}}
>
> Fully updated ports tree, no local modifications.
>
> Test CMake project:
>
> ```
> cmake_minimum_required(VERSION 3.24)
> project(Foo)
> find_package(BLAS REQUIRED)
> message(STATUS BLAS found: ${BLAS_LIBRARIES})
> ```
>
> Configure it with `cmake -DBLA_VENDOR=OpenBLAS
> -DCMAKE_PREFIX_PATH=/opt/local`. Then it shows the error `Could NOT find
> BLAS (missing: BLAS_LIBRARIES)`
>
> This used to work not so long ago. I am not sure when it broke. It also
> affects building ports that link to OpenBLAS.
>
> My system:
>
> macOS 13.6 22G120 arm64
> Xcode 15.0.1 15A507
New description:
CMake is no longer finding OpenBLAS and I am not sure why.
I am using:
{{{
OpenBLAS @0.3.24 (math, science)
cmake @3.24.4 (devel)
}}}
Fully updated ports tree, no local modifications.
Test CMake project:
{{{
cmake_minimum_required(VERSION 3.24)
project(Foo)
find_package(BLAS REQUIRED)
message(STATUS BLAS found: ${BLAS_LIBRARIES})
}}}
Configure it with `cmake -DBLA_VENDOR=OpenBLAS
-DCMAKE_PREFIX_PATH=/opt/local`. Then it shows the error `Could NOT find
BLAS (missing: BLAS_LIBRARIES)`
This used to work not so long ago. I am not sure when it broke. It also
affects building ports that link to OpenBLAS.
My system:
macOS 13.6 22G120 arm64
Xcode 15.0.1 15A507
--
--
Ticket URL: <https://trac.macports.org/ticket/68689#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list