I’m able to create a debug build, but I don’t really see any make instructions for creating a release build. Anybody have any ideas?
make dist.
Hi. Look here (link below). You find there basics informations for compiling new biuilds. That’s all you need .
Good Luck & cheers
I’m just curious Why would you want to run a self-compiled release build?
Same reason to have a release build of anything else. To have full optimizations turned on, and no debug info.
I run a self-compiled release build with the following changes/optimizations:
Yes, make dist
is the obvious answer here and I remember trying it previously but it had failed. It still fails actually.
Edit: I ran pacman -S markdown
to fix a markdown issue. It failed to build the fundamentals vcv plugin, but I can debug that later. I think that’s needed to finish the build successfully, though, but I may be wrong. Rack.exe is in my dist folder, but it looks like it was copied from my dev build and wasn’t successfully rebuilt/stripped.
I’ve built Rack several times. Release builds aren’t in those docs. Thanks though
For my custom build I created a bash file called final.sh
which I use when the build finishes and I want a non-debug version. The dist
folder can be named anything you want.
Note this is on Windows/MSYS2
mkdir -p dist
cp Rack.exe libRack.dll dist
strip -s dist/*
That is probably the cleanest approach. I tried it and it worked flawlessly.