Skip to content

Document llvm@17 usage on Homebrew#2622

Closed
tomjakubowski wants to merge 1 commit intoperspective-dev:masterfrom
tomjakubowski:bugfix/llvm-clang-tidy-usage
Closed

Document llvm@17 usage on Homebrew#2622
tomjakubowski wants to merge 1 commit intoperspective-dev:masterfrom
tomjakubowski:bugfix/llvm-clang-tidy-usage

Conversation

@tomjakubowski
Copy link
Contributor

@tomjakubowski tomjakubowski commented May 17, 2024

Add to developer docs, sprinkle a comment in CI, update the lint script

}
}

const CLANG_TIDY_PATH = fs.existsSync(`${__dirname}/../../.llvm`)
Copy link
Contributor Author

@tomjakubowski tomjakubowski May 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My observation was that run-clang-tidy failed unless clang-tidy was also on the PATH. So I had to add .llvm/bin to the PATH anyway to get it to build, making this logic redundant

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(in CI, see also the comment in the .yml file - llvm 17 is put on the PATH)

Signed-off-by: Tom Jakubowski <tom@prospective.dev>
@tomjakubowski tomjakubowski force-pushed the bugfix/llvm-clang-tidy-usage branch from 99039e9 to a6ae54d Compare May 17, 2024 18:41
@texodus texodus mentioned this pull request May 19, 2024
@texodus
Copy link
Member

texodus commented May 19, 2024

Thanks for the PR!

I've cherry-picked this into #2623, closing

@texodus texodus closed this May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants