VCVRack / rack-plugin-toolchain

53 stars 12 forks source link

SDK version update #16

Closed jpnielsen closed 2 years ago

jpnielsen commented 2 years ago

RACK_SDK_VERSION := 2.0.2

please update

please provide script to update existing docker image to latest SDK.

jpnielsen commented 2 years ago

I know you must have other things to do - here's how I do it for now:

cd rack-plugin-toolchain
make docker-run
// in docker shell:
sed -i 's/^RACK_SDK_VERSION := .*$/RACK_SDK_VERSION := 2.0.5/g' Makefile
rm -rf Rack-SDK-lin Rack-SDK-mac Rack-SDK-win
make rack-sdk-lin rack-sdk-mac rack-sdk-win
exit
cschol commented 2 years ago

SDK version has been updated.

The above command does not do what you think it does. You need to update the SDK version in the image and not just in a running container.

Once you have updated the container, you can use docker commit to write the changes to an image that you can use for future builds.

We are looking into a way to update the SDK more easily without having to rebuild the entire toolchain.

jpnielsen commented 2 years ago

Thank you