Skip to content

Build issue: Clang Compilation Issues #311

@reid-g

Description

@reid-g

Build error message(s)

Compiling with clang for me gives the following output:

[cmake] CMake Error at /usr/local/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
[cmake]   Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
[cmake] Call Stack (most recent call first):
[cmake]   /usr/local/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
[cmake]   /usr/local/share/cmake-3.28/Modules/FindOpenMP.cmake:580 (find_package_handle_standard_args)
[cmake]   /usr/local/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
[cmake]   /usr/local/lib/cmake/SuiteSparse_config/SuiteSparse_configConfig.cmake:68 (find_dependency)
[cmake]   /usr/local/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
[cmake]   /usr/local/lib/cmake/KLU/KLUConfig.cmake:109 (find_dependency)
[cmake]   /usr/local/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
[cmake]   /usr/local/lib/cmake/sundials/SUNDIALSConfig.cmake:122 (find_dependency)
[cmake]   CMakeLists.txt:93 (find_package)

GridKit™ version

develop

System and environment details

Running into a previous issue. This pr seems to be similar. Clang version that was tested here is 16.0.6. I also tested with version 20.1.8 and produced the same result.

Additional information

No response

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