-
Notifications
You must be signed in to change notification settings - Fork 63
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
Opinion about SDK extensions #420
Comments
The way the SDK installer is set up makes it hard to modify it after the fact. I'm not sure about "it is impractical to add all possible tools to the host SDK", how many do you imagine? It should be possible to create an SDK per additional buildtool and either install all of them to the same directory or use them through |
Hi @t-8ch, you guessed right when you said that users are unknown to me. As of today, in our working environment there is not a strict guideline, and this implies users' freedom. As of today, I do not see any concrete issue in not providing additional tools in the hostsdk. What matters is that compiled code gets produced with the same compiler used to build the image. But the origin of tools like On the other hand, I understand developers when asking for having all tools preinstalled. Similar requests then push in the direction of building an What do you think? |
With this you mean embedding external tools into the SDK? If you mean embedding them as part of the normal build process, sure it's meant to be used that way.
This depends on the concrete tool in question. You could provide two SDKs. One minimal which the user can extend themselves with tools from their environment and one with everything included. |
I mean this, but I also mean NOT doing that and letting the user pick
Indeed. Clearly if |
The SDK is not a sandbox, so you should be able to fiddle with PATH to access the host tools. |
By default, in the SDK we get the C and C++ toolchain. From the XML project file we can add more tools to the SDK. However, this can't be done after the SDK got generated. On one hand, it is impractical to add all possible tools to the host SDK. On the other hand, it could be handy to extend an existing SDK with new packages, depending on the need.
The use case would be, for example, adding building tools like
cmake
ormeson
, or additional python packages used during the building process. This for users who want to rely uniquely on the SDK and not on their computer to provide these tools.I understand it is not trivial due to the SDK relocation. However, I'm wondering if it could be a useful feature to add. What do you think?
The text was updated successfully, but these errors were encountered: