Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"words": [
"scatter",
"span",
"libhal"
"libhal",
"spanable",
"subssp"
]
}

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ CMakeUserPresets.json
.vscode/launch.json

# Allowed for clangd resolver script
!.vscode/settings.json
!.vscode/settings.json

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'd rather us just remove the line not allowing .vscode into the code base.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is to allow explicit use of the clangd resolver for this repo. Without this, developers will need to manually configure this for every machine as this is a non-standard way of interacting with clangd. If we want, we can add a neovim analog as well. Its not too uncommon to see editor metadata that is relevant and needed for a specific repo to appear in that repo

3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"clangd.path": "./compile_commands_clangd_resolver.py"
}
}

1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ libhal_project_init()
libhal_add_library(scatter-span
MODULES
modules/scatter_span.cppm
modules/core.cppm
)

libhal_apply_compile_options(scatter-span)
Expand Down
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def generate(self):

def build(self):
cmake = CMake(self)
cmake.configure()
cmake.configure(cli_args=["-Wno-dev"])
Comment thread
PhazonicRidley marked this conversation as resolved.
cmake.build()
if not self.conf.get("tools.build:skip_test", default=False):
cmake.ctest(["--output-on-failure"])
Expand Down
Loading
Loading