Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang-format needed for build #2320

Merged
merged 6 commits into from
Oct 12, 2023
Merged

clang-format needed for build #2320

merged 6 commits into from
Oct 12, 2023

Conversation

causten
Copy link
Collaborator

@causten causten commented Oct 11, 2023

PR 2288 requires clang-format, this adds it to the Dockerfiles needed in CI to use the make generate script work.

Dockerfile Outdated Show resolved Hide resolved
@pfultz2
Copy link
Collaborator

pfultz2 commented Oct 12, 2023

Also, why was #2288 merged when it wasn't passing CI?

@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

Merging #2320 (6104501) into develop (34b68ee) will not change coverage.
The diff coverage is n/a.

❗ Current head 6104501 differs from pull request most recent head c564b00. Consider uploading reports for the commit c564b00 to get more accurate results

@@           Coverage Diff            @@
##           develop    #2320   +/-   ##
========================================
  Coverage    91.45%   91.45%           
========================================
  Files          433      433           
  Lines        16174    16174           
========================================
  Hits         14792    14792           
  Misses        1382     1382           

@TedThemistokleous TedThemistokleous added the Continous Integration Pull request updates parts of continous integration pipeline label Oct 12, 2023
@TedThemistokleous
Copy link
Collaborator

Also, why was #2288 merged when it wasn't passing CI?

Looks like it did pass once develop was merged.

@apwojcik
Copy link
Collaborator

apwojcik commented Oct 12, 2023

Also, why was #2288 merged when it wasn't passing CI?

I explained in the PR the cause of the CI failure of cppcheck - the failure was unrelated to this PR.

@apwojcik
Copy link
Collaborator

Here is how #2288 is searching for clang-format.

find_program(CLANG_FORMAT clang-format PATHS /opt/rocm/llvm $ENV{HIP_PATH})

It is supposed to search in /opt/rocm/llvm. The $ENV{HIP_PATH} is for Windows - that is how HIP SDK reveals its installation location.

tools/CMakeLists.txt Outdated Show resolved Hide resolved
@causten causten merged commit 50c5984 into develop Oct 12, 2023
14 of 15 checks passed
@causten causten deleted the add_clang_format branch October 12, 2023 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Continous Integration Pull request updates parts of continous integration pipeline
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants