-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add wkdev-setup-default-clang script #65
base: main
Are you sure you want to change the base?
Conversation
df8d268
to
6947e62
Compare
ln -s "/usr/bin/${command}-18" "/usr/local/bin/${command}"; \ | ||
done && ln -s "/usr/bin/lld-18" "/usr/local/bin/ld.lld"; | ||
# Convenience symlinks for clang tools, the VSCode extension doesn't find these by default. | ||
# FIXME: Reduce code duplication with `wkdev-set-default-clang`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be able to invoke this script from here, no? Maybe at a later point in the script, but still..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The wkdev-sdk scripts are not in the image. We could copy them and then remove them, feels not great either.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As long as you copy and remove in the same layer, there is no increase an image size -- I agree looks odd, but helps reducing code duplication...
52cc007
to
066cfa4
Compare
This allows easily installing and switching between different clang toolchains
066cfa4
to
036dc5f
Compare
This allows easily installing and switching between different clang toolchains