Skip to content

Conversation

@yungyuc
Copy link
Member

@yungyuc yungyuc commented May 31, 2022

There are the following changes.

  • Remove the explicit GCC version
  • Ignore clang-tidy check for ignored optimization
  • More clang-tidy ignore for v14
  • Add apt script for Ubuntu 22.04
  • Turn off -Werror when clang-tidy (with lint as errors) is enabled

The CMakeLists.txt is tweaked a little bit to avoid the following error message with Ubuntu 22.04 release build (clang-tidy on with lint as errors):

error: optimization flag '-fno-fat-lto-objects' is not supported [clang-diagnostic-ignored-optimization-argument]

I have tried a couple of different versions of clang-tidy and g++, but the issue persisted. The workaround is to turns off -Werror and add an exception in .clang-tidy configuration file. For non clang-tidy build no error-checking is skipped.

* Remove the explicit GCC version
* Ignore clang-tidy check for ignored optimization
* More clang-tidy ignore for v14
* Add apt script for Ubuntu 22.04
* Turn off -Werror when clang-tidy (with lint as errors) is enabled
@yungyuc yungyuc added the test testing and continuous integration label May 31, 2022
@yungyuc yungyuc merged commit d632365 into solvcon:master May 31, 2022
@yungyuc yungyuc deleted the test/ci-new-os branch May 31, 2022 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test testing and continuous integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant