Skip to content

Failing to detect gcc for golden file regeneration #27

@MarkCallow

Description

@MarkCallow

I attempted to regenerate some golden files that have output tolerance enabled and got the message "... not updated on non-primary platform ..."

But I am running under Ubuntu 22.04 and using gcc 11 to compile. Possibly the reason for the failure is that my configuration after selecting "default compilers" shows

CMAKE_CXX_COMPILER /usr/bin/c++
CMAKE_C_COMPILER   /usr/bin/cc

and if I run, e.g, cc --version the output is

cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

while for gcc --version it is

gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

so you can't see from either the CMake variables or --version output that it is really gcc.

Metadata

Metadata

Assignees

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