# Document using bear with scons to generate a compilation database file for use with IDEs

XMLWordPrintable

#### Details

• Type: Story
• Status: Done
• Resolution: Done
• Fix Version/s: None
• Component/s:
• Labels:
None
• Story Points:
8
• Team:
Data Release Production
• Urgent?:
No

#### Description

Update developer guide:
https://github.com/lsst-dm/dm_dev_guide/tree/master/editors

Make bear available on conda-forge

#### Activity

Hide
Matthias Wittgen added a comment -

CodeChecker can be used instead is it is a more powerful tool that not only can create a compilation database but also can run clang static code analysis.

Show
Matthias Wittgen added a comment - CodeChecker can be used instead is it is a more powerful tool that not only can create a compilation database but also can run clang static code analysis.
Hide
Matthias Wittgen added a comment -

Reopening this ticket as bear is a useful tool and more lightweight than CodeChecker.
Created a PR for adding bear to the conda feedstock.

https://github.com/conda-forge/staged-recipes/pull/16978

Show
Matthias Wittgen added a comment - Reopening this ticket as bear is a useful tool and more lightweight than CodeChecker. Created a PR for adding bear to the conda feedstock. https://github.com/conda-forge/staged-recipes/pull/16978
Hide
Matthias Wittgen added a comment -

bear is available on conda-forge now.

Show
Matthias Wittgen added a comment - bear is available on conda-forge now.
Hide
Kian-Tat Lim added a comment -

Sorry I took a while to get to this. Some suggestions for improvement that I'd like to see done before the merge, but overall this is OK.

Show
Kian-Tat Lim added a comment - Sorry I took a while to get to this. Some suggestions for improvement that I'd like to see done before the merge, but overall this is OK.
Hide
Matthias Wittgen added a comment -

Fixed the conda bear feedstock. Added arm linux and osx.
grpc 1.42 variant is required. With the release of 1.43 the lsst conda stack didn't allow installing bear
as pyarrow depends on grpc 1.42

https://github.com/conda-forge/bear-feedstock

Show
Matthias Wittgen added a comment - Fixed the conda bear feedstock. Added arm linux and osx. grpc 1.42 variant is required. With the release of 1.43 the lsst conda stack didn't allow installing bear as pyarrow depends on grpc 1.42 https://github.com/conda-forge/bear-feedstock

#### People

Assignee:
Matthias Wittgen
Reporter:
Matthias Wittgen
Reviewers:
Kian-Tat Lim
Watchers:
Kian-Tat Lim, Matthias Wittgen