Skip to content

ctest failure in test_ecbuild_override_compiler_flags for cray compiler #135

@DJDavies2

Description

@DJDavies2

What happened?

Building and running with Cray compiler gives this failure:

CMake Warning at /home/users/david.davies/cylc-run/mo-bundle-414/work/1/build_ecbuild__exab_cray/src/cmake/ecbuild_log.cmake:162 (message):
�[33mWARN - COMPILE_FLAGS points to non-existent file compiler_flags.cmake
and will be ignored�[m
Call Stack (most recent call first):
/home/users/david.davies/cylc-run/mo-bundle-414/work/1/build_ecbuild__exab_cray/src/cmake/ecbuild_compiler_flags.cmake:197 (ecbuild_warn)
CMakeLists.txt:7 (ecbuild_override_compiler_flags)

-- �[34mDEBUG - ecbuild_evaluate_dynamic_condition(_overrideflags_condition): checking condition '' -> TRUE�[m
-- �[34mDEBUG - ecbuild_find_perl: found perl version 5.26.1 as /usr/bin/perl�[m
-- �[34mDEBUG - ecbuild_add_persistent: adding persistent layer for []�[m
-- �[34mDEBUG - ecbuild_target_flags(overrideflags): setting flags for 'emptyfile.F90' to '-fPIC -h PIC '�[m
-- �[34mDEBUG - ecbuild_add_library(overrideflags): installing to lib64�[m
-fPIC -h PIC
CMake Error at CMakeLists.txt:43 (message):
Incorrect flags for emptyfile.F90

What are the steps to reproduce the bug?

Build and run with Cray compiler

Version

3.13.1

Platform (OS and architecture)

Linux

Relevant log output

Accompanying data

No response

Organisation

Met Office

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions