Skip to content

OpenBLAS-0.3.29 does not configure on PPC Mac OS X 10.4.11, Tiger, after "Copying LAPACKE header files to include/openblas" #5229

@ballapete

Description

@ballapete

Hello!

It could be that the error already starts here:

-- Reading vars from /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.3.29/kernel/power/KERNEL.PPCG4...
CMake Error at cmake/utils.cmake:106 (string):
  string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to
  command.
Call Stack (most recent call first):
  kernel/CMakeLists.txt:13 (ParseMakefileVars)
  kernel/CMakeLists.txt:1374 (build_core)


CMake Error at cmake/utils.cmake:106 (string):
  string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to
  command.
Call Stack (most recent call first):
  kernel/CMakeLists.txt:13 (ParseMakefileVars)
  kernel/CMakeLists.txt:1374 (build_core)


CMake Error at cmake/utils.cmake:106 (string):
  string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to
  command.
Call Stack (most recent call first):
  kernel/CMakeLists.txt:13 (ParseMakefileVars)
  kernel/CMakeLists.txt:1374 (build_core)


CMake Error at cmake/utils.cmake:106 (string):
  string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to
  command.
Call Stack (most recent call first):
  kernel/CMakeLists.txt:13 (ParseMakefileVars)
  kernel/CMakeLists.txt:1374 (build_core)


-- /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/build/kernel/CMakeFiles/lsame.c

In the end it's stated:

-- fortran lapack
-- Building deprecated routines
-- Building Single Precision
-- Building Double Precision
-- Building Single Precision Complex
-- Building Double Precision Complex
-- Generating openblas_config.h in include/openblas
-- Generating f77blas.h in include/openblas
-- Generating cblas.h in include/openblas
-- Copying LAPACKE header files to include/openblas
-- Configuring incomplete, errors occurred!
Command failed:  cd "/opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DCOMMON_PROF=-pg -DNO_AVX=ON -DNO_AVX2=ON -DNO_AVX512=ON -DCMAKE_AR=/opt/local/bin/ar -DCMAKE_NM=/opt/local/bin/nm -DCMAKE_OBJDUMP=/opt/local/bin/objdump -DCMAKE_RANLIB=/opt/local/bin/ranlib -DCMAKE_STRIP=/opt/local/bin/strip -DCMAKE_LINKER=/opt/local/bin/ld -DBUILD_SHARED_LIBS=ON -DCMAKE_OSX_ARCHITECTURES="ppc" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.4" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.3.29 

CMake does not seem to leave a log file or such that would explain the error. Searches deliver:

pete 488 /\ find /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS -type f \( -name "*.log" -o -name "*.txt" \) -print0 | xargs -0 gls -lot --time-style=full-iso
-rw-r--r-- 1 macports 36812 2025-04-16 13:53:17.000000000 +0200 work/build/CMakeCache.txt
-rw-r--r-- 1 macports 14093 2025-04-16 13:52:17.000000000 +0200 work/build/CMakeFiles/CheckFortran/CMakeCache.txt
-rw-r--r-- 1 macports   347 2025-04-16 13:52:17.000000000 +0200 work/build/CMakeFiles/CheckFortran/CMakeFiles/TargetDirectories.txt
-rw-r--r-- 1 macports   249 2025-04-16 13:52:13.000000000 +0200 work/build/CMakeFiles/CheckFortran/CMakeLists.txt
-rw-r--r-- 1 macports 25209 2025-01-12 15:02:02.000000000 +0100 work/OpenBLAS-0.3.29/CMakeLists.txt
-rw-r--r-- 1 macports 98100 2025-01-12 15:02:02.000000000 +0100 work/OpenBLAS-0.3.29/Changelog.txt

-rw-r--r-- 1 macports 70701 2025-04-16 13:53:17.000000000 +0200 /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/build/CMakeFiles/CMakeConfigureLog.yaml

The found files seem to report successful tests…

What can be done to find the actual error?

--

Pete

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions