Are there any plans to provide it (again?) on Linux? I remember being able to build for OSX. Or is there an alternative way to bundle for OSX that I might have missed
Well, until we have a prebuilt tool to do it, it is difficult.
The code is open source, but a bit hard to build in my experience, which is why we’ve left it “for later”.
If there is a github repo with nice and clean build steps for windows+linux, then that would be great.
You can technically still bundle twice, once for each x86_64-macOS and once for arm64-macOS, however the problem still remains that you likely want the binary to be a universal binary.
I have found this repository on GitHub (https://github.com/konoui/lipo) which also already has the different lipo releases. Maybe this can be of any use for us non-mac users.
Looks really promising on first glance! If I can be of any help somehow with this please let me know
Trying to use this in a Github Action since bundling for macos on Windows/Linux is broken currently without it.
- name: Install lipo
run: |
sudo mkdir -p /libexec/x86_64-linux/
curl -L -o /tmp/lipo https://github.com/konoui/lipo/releases/latest/download/lipo_Linux_amd64
chmod +x /tmp/lipo
sudo mv /tmp/lipo /libexec/x86_64-linux/lipo
...
/libexec/x86_64-linux/lipo could not be found locally, create an application manifest to build the engine remotely.
Cause: java.lang.RuntimeException: /libexec/x86_64-linux/lipo could not be found locally, create an application manifest to build the engine remotely.
Bundling...2023-10-06 22:57:38 SEVERE /libexec/x86_64-linux/lipo could not be found locally, create an application manifest to build the engine remotely.
Any idea what’s wrong here?
Here’s current version of the release file, it has macos step commented out and has another issue I don’t understand either.
“since bundling for macos on Windows/Linux is broken currently”
We’ll, it’s not supported (not broken)
We could add an option specifying the path to lipo.That library seems promising though.
As for your error, I’m wondering if it’s a path, local to bob. It needs to extract tools (into a temp library), and then run it.
I think you’ll have a better chance with putting the executable in the bob.jar directly.
It used to work with bob.jar! Now it does not. I’ve made many macOS builds on a Windows devices over the years. The issue must have come with the new chip support?
I think you’ll have a better chance with putting the executable in the bob.jar directly.
I mean however macOS builds used to work it was possible for us to do it with bob.jar on Windows devices, though we have not made new production builds on projects for macOS in a while and noticed the new issue recently.
Yes, it was an oversight to not realize users were using it on CI systems.
However, I’m not sure what the strategy would have been. Disable it?
Also, it is still possible to bundle twice (just like you have to do for windows), and then manually lipo it.
I was referring to putting the executable inside bob.jar (it’s a zip file), at the correct location.
You should be able to do something like (untested) zip bob.jar /libexec/x86_64-linux/lipo.